Home › Forums › WoodMart support forum › Issue PHP error with latest version
Issue PHP error with latest version
- This topic has 24 replies, 2 voices, and was last updated 1 year ago by Artem Temos.
-
AuthorPosts
-
September 21, 2023 at 9:49 pm #498160
Jose1966ParticipantHi there,
I have this error in latest version of WoodMart 7.3.1 with all the plugins availableError 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}
thrownCould you please help?
Regards
Jose
September 22, 2023 at 9:14 am #498242
Artem TemosKeymasterHello,
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 builderThank you in advance
September 22, 2023 at 10:25 am #498268
Jose1966ParticipantHi there,
When to you think you will be able to access the site as I cannot let a site with featureless?
Regards
Jose
September 22, 2023 at 10:26 am #498269
Jose1966ParticipantBest thing you can do is deactivated yourself when you connect and then let me know I will reactivate myself.
September 22, 2023 at 10:46 am #498274
Artem TemosKeymasterPlease, send us your admin access now and I will check this asap.
September 22, 2023 at 11:09 am #498295
Jose1966ParticipantYou already have them.
September 25, 2023 at 9:28 am #498919
Artem TemosKeymasterBut you didn’t send the password. We need your admin username and password.
Kind Regards
October 3, 2023 at 12:13 pm #501065
Jose1966ParticipantHere is the password :
- This reply was modified 1 year, 2 months ago by Jose1966.
October 3, 2023 at 3:02 pm #501151
Artem TemosKeymasterHello,
Currently, we don’t see that error in the logs. Could you please check this from your end?
Kind Regards
October 3, 2023 at 3:57 pm #501186
Jose1966ParticipantHi
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.
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.28Error 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}
thrownOctober 3, 2023 at 4:05 pm #501189
Jose1966ParticipantI 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
October 3, 2023 at 4:20 pm #501198
Artem TemosKeymasterHello,
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
October 3, 2023 at 4:41 pm #501222
Jose1966ParticipantSorry but I did nothing in my side. This happening always during the night around 3 am.
Nobody is connected in backoffice.October 3, 2023 at 4:44 pm #501224
Jose1966ParticipantThis is happening several times during the last few months.
RegardsOctober 3, 2023 at 5:34 pm #501249
Artem TemosKeymasterTry to replace the line #91 in the file
inc/integrations/woocommerce/modules/wishlist/class-ui.php
with this oneif ( 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
October 3, 2023 at 5:42 pm #501252
Jose1966ParticipantHi 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:58October 3, 2023 at 5:47 pm #501253
Jose1966ParticipantHi Artem,
I just added your code.
I will let you know in a few days.Best Regards
Jose
October 17, 2023 at 12:51 am #504589
Jose1966ParticipantHi 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
October 17, 2023 at 11:23 am #504689
Artem TemosKeymasterOK, great. Let us know how it goes.
October 17, 2023 at 3:41 pm #504814
Jose1966ParticipantHi 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}
thrownOctober 17, 2023 at 4:39 pm #504833
Artem TemosKeymasterYou need to apply the fix from our previous reply https://xtemos.com/forums/topic/issue-php-error-with-latest-version/#post-501249
October 17, 2023 at 5:08 pm #504847
Jose1966ParticipantHi 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
October 18, 2023 at 9:42 am #504994
Artem TemosKeymasterYes, this fix will be included in our next theme update.
Kind Regards
December 8, 2023 at 11:01 pm #519911
Jose1966ParticipantHi Artem
The issue is still not fixed.
Any news?December 11, 2023 at 11:08 am #520291
Artem TemosKeymasterHello,
We will include the fix in our 7.4 update which will be released later this month.
Kind Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register