Home Forums WoodMart support forum Issue PHP error with latest version

Issue PHP error with latest version

Viewing 25 posts - 1 through 25 (of 25 total)
  • Author
    Posts
  • #498160

    Jose1966
    Participant

    Hi there,
    I have this error in latest version of WoodMart 7.3.1 with all the plugins available

    Error Details
    =============
    An error of type E_ERROR was caused in line 92 of the file /www/crewkers_941/public/wp-content/themes/woodmart/inc/integrations/woocommerce/modules/wishlist/class-ui.php. Error message: Uncaught Error: Class “XTS\WC_Wishlist\Wishlists_Group” not found in /www/crewkers_941/public/wp-content/themes/woodmart/inc/integrations/woocommerce/modules/wishlist/class-ui.php:92
    Stack trace:
    #0 /www/crewkers_941/public/wp-includes/class-wp-hook.php(310): XTS\WC_Wishlist\Ui->hooks(”)
    #1 /www/crewkers_941/public/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array)
    #2 /www/crewkers_941/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #3 /www/crewkers_941/public/wp-settings.php(632): do_action(‘init’)
    #4 /www/crewkers_941/public/wp-config.php(82): require_once(‘/www/crewkers_9…’)
    #5 /www/crewkers_941/public/wp-load.php(50): require_once(‘/www/crewkers_9…’)
    #6 /www/crewkers_941/public/wp-admin/admin.php(34): require_once(‘/www/crewkers_9…’)
    #7 /www/crewkers_941/public/wp-admin/index.php(10): require_once(‘/www/crewkers_9…’)
    #8 {main}
    thrown

    Could you please help?

    Regards

    Jose

    #498242

    Artem Temos
    Keymaster

    Hello,

    Please, disable all plugins that are not related to our theme and provide us with your admin access. We will log in and check what is wrong there. You can leave only the following plugins that are required for our theme:
    WoodMart core
    WooCommerce
    Elementor/WPBakery page builder

    Thank you in advance

    #498268

    Jose1966
    Participant

    Hi there,

    When to you think you will be able to access the site as I cannot let a site with featureless?

    Regards

    Jose

    #498269

    Jose1966
    Participant

    Best thing you can do is deactivated yourself when you connect and then let me know I will reactivate myself.

    #498274

    Artem Temos
    Keymaster

    Please, send us your admin access now and I will check this asap.

    #498295

    Jose1966
    Participant

    You already have them.

    #498919

    Artem Temos
    Keymaster

    But you didn’t send the password. We need your admin username and password.

    Kind Regards

    #501065

    Jose1966
    Participant

    Here is the password :

    • This reply was modified 1 year, 1 month ago by Jose1966.
    #501151

    Artem Temos
    Keymaster

    Hello,

    Currently, we don’t see that error in the logs. Could you please check this from your end?

    Kind Regards

    #501186

    Jose1966
    Participant

    Hi

    This is what I got this morning at 3AM
    Howdy!

    WordPress has a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

    In this case, WordPress caught an error with your theme, Woodmart.

    First, visit your website (https://www.crewkerz.com/) and check for any visible issues. Next, visit the page where the error was caught (https://www.crewkerz.com/wp-admin/) and check for any visible issues.

    Please contact your host for assistance with investigating this issue further.

    If your site appears broken and you can’t access your dashboard normally, WordPress now has a special “recovery mode”. This lets you safely login to your dashboard and investigate further.

    https://www.crewkerz.com/wp-login.php?action=enter_recovery_mode&rm_token=CPEujmyY9WZnmZbTF8II5i&rm_key=nMUmMHmLZuOikmPrjJbmEr

    To keep your site safe, this link will expire in 1 day. Don’t worry about that, though: a new link will be emailed to you if the error occurs again after it expires.

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 6.3.1
    Active theme: Woodmart Child (version 1.0.0)
    Current plugin: (version )
    PHP version 8.0.28

    Error Details
    =============
    An error of type E_ERROR was caused in line 92 of the file /www/crewkers_941/public/wp-content/themes/woodmart/inc/integrations/woocommerce/modules/wishlist/class-ui.php. Error message: Uncaught Error: Class “XTS\WC_Wishlist\Wishlists_Group” not found in /www/crewkers_941/public/wp-content/themes/woodmart/inc/integrations/woocommerce/modules/wishlist/class-ui.php:92
    Stack trace:
    #0 /www/crewkers_941/public/wp-includes/class-wp-hook.php(310): XTS\WC_Wishlist\Ui->hooks(”)
    #1 /www/crewkers_941/public/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array)
    #2 /www/crewkers_941/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #3 /www/crewkers_941/public/wp-settings.php(632): do_action(‘init’)
    #4 /www/crewkers_941/public/wp-config.php(82): require_once(‘/www/crewkers_9…’)
    #5 /www/crewkers_941/public/wp-load.php(50): require_once(‘/www/crewkers_9…’)
    #6 /www/crewkers_941/public/wp-admin/admin.php(34): require_once(‘/www/crewkers_9…’)
    #7 /www/crewkers_941/public/wp-admin/index.php(10): require_once(‘/www/crewkers_9…’)
    #8 {main}
    thrown

    #501189

    Jose1966
    Participant

    I can also create you an access to kinsta so you will be able to get a deep access to logs.

    Let me know whcih email adress I could use to send you an invite.

    Best Regards

    #501198

    Artem Temos
    Keymaster

    Hello,

    We need to see this error in realtime. Maybe you had it only once and it will not appear in the future. But if it will, please, send us a step-by-step instructions on how to reproduce it.

    Kind Regards

    #501222

    Jose1966
    Participant

    Sorry but I did nothing in my side. This happening always during the night around 3 am.
    Nobody is connected in backoffice.

    #501224

    Jose1966
    Participant

    This is happening several times during the last few months.
    Regards

    #501249

    Artem Temos
    Keymaster

    Try to replace the line #91 in the file inc/integrations/woocommerce/modules/wishlist/class-ui.php with this one

    if ( woodmart_get_opt( 'wishlist_expanded' ) && class_exists( 'XTS\WC_Wishlist\Wishlists_Group' ) && is_user_logged_in() && $this->is_editable() && empty( $_GET['opauth'] ) ) { //phpcs:ignore

    Kind Regards

    #501252

    Jose1966
    Participant

    Hi Artem,

    By curiosity I took back my emails and I found out that since the 22 of december 2022, this is happening each 2 up 5 days at same time. It was around 1 AM in the night initially then 2 AM and now 3 AM.
    94 times
    Any idea?
    22 Dec 22 01:02
    27 Dec 22 01:02
    31 Dec 22 01:02
    04 Jan 23 01:02
    08 Jan 23 01:03
    12 Jan 23 01:03
    16 Jan 23 01:01
    18 Jan 23 01:03
    22 Jan 23 01:01
    24 Jan 23 01:01
    26 Jan 23 01:03
    30 Jan 23 01:02
    until
    18 Fev 23 01:06
    20 Fev 23 01:06
    22 Fev 23 01:06
    27 Fev 23 01:58
    until each 2/3/4 days
    25 Mar 23 01:58
    29 Mar 23 02:58
    until each 2/3/4 days
    03 Oct 23 02:58

    #501253

    Jose1966
    Participant

    Hi Artem,

    I just added your code.
    I will let you know in a few days.

    Best Regards

    Jose

    #504589

    Jose1966
    Participant

    Hi Artem,

    Since the code changed, I did not get any error happening. Welldone.
    I just updated to the latest version today of Woodmart.
    Let see how it goes.

    Best Regards

    Jose

    #504689

    Artem Temos
    Keymaster

    OK, great. Let us know how it goes.

    #504814

    Jose1966
    Participant

    Hi Artem,
    The issue is back after the update. This morning at 2:59 AM I got again the error message :

    Let me know if I have to put back your code or if you will deliver a patch.

    Best

    Error Details
    =============
    An error of type E_ERROR was caused in line 92 of the file /www/crewkers_941/public/wp-content/themes/woodmart/inc/integrations/woocommerce/modules/wishlist/class-ui.php. Error message: Uncaught Error: Class “XTS\WC_Wishlist\Wishlists_Group” not found in /www/crewkers_941/public/wp-content/themes/woodmart/inc/integrations/woocommerce/modules/wishlist/class-ui.php:92
    Stack trace:
    #0 /www/crewkers_941/public/wp-includes/class-wp-hook.php(310): XTS\WC_Wishlist\Ui->hooks(”)
    #1 /www/crewkers_941/public/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array)
    #2 /www/crewkers_941/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #3 /www/crewkers_941/public/wp-settings.php(632): do_action(‘init’)
    #4 /www/crewkers_941/public/wp-config.php(82): require_once(‘/www/crewkers_9…’)
    #5 /www/crewkers_941/public/wp-load.php(50): require_once(‘/www/crewkers_9…’)
    #6 /www/crewkers_941/public/wp-admin/admin.php(34): require_once(‘/www/crewkers_9…’)
    #7 /www/crewkers_941/public/wp-admin/index.php(10): require_once(‘/www/crewkers_9…’)
    #8 {main}
    thrown

    #504833

    Artem Temos
    Keymaster
    #504847

    Jose1966
    Participant

    Hi Artem

    is there a way to get a patch or at least a filter as I cannot do this all time there is a new version?

    Regards

    Jose

    #504994

    Artem Temos
    Keymaster

    Yes, this fix will be included in our next theme update.

    Kind Regards

    #519911

    Jose1966
    Participant

    Hi Artem
    The issue is still not fixed.
    Any news?

    #520291

    Artem Temos
    Keymaster

    Hello,

    We will include the fix in our 7.4 update which will be released later this month.

    Kind Regards

Viewing 25 posts - 1 through 25 (of 25 total)