-
AuthorPosts
-
June 11, 2024 at 8:58 am #1448875
Hello
we updated a few weeks ago our wordpress CMS and noticed now a critical error which is as we investigate caused by enfold. When some products are updated and saved there is a critical error. Changes are done and saved, but after saving there is a critical error message. Error message is:
Ein Fehler vom Typ E_ERROR wurde in der Zeile 126 der Datei /home/wp/disk/wordpress/wp-content/plugins/woocommerce/includes/wc-notice-functions.php verursacht. Fehlermeldung: Uncaught Error: Call to a member function set() on null in /home/wp/disk/wordpress/wp-content/plugins/woocommerce/includes/wc-notice-functions.php:126 Stack trace: #0 /home/wp/disk/wordpress/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/product_snippets/product_snippet_tabs.php(141): wc_clear_notices() #1 /home/wp/disk/wordpress/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-template.php(1181): avia_sc_product_tabs->shortcode_handler() #2 /home/wp/disk/wordpress/wp-includes/shortcodes.php(433): aviaShortcodeTemplate->shortcode_handler_prepare() #3 [internal function]: do_shortcode_tag() #4 /home/wp/disk/wordpress/wp-includes/shortcodes.php(273): preg_replace_callback() #5 /home/wp/disk/wordpress/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-helper.php(580): do_shortcode() #6 /home/wp/disk/wordpress/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/columns/columns.php(2072): ShortcodeHelper::avia_apply_autop() #7 /home/wp/disk/wordpress/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-template.php(1181): avia_sc_columns->shortcode_handler() #8 /home/wp/disk/wordpress/wp-includes/shortcodes.php(433): aviaShortcodeTemplate->shortcode_handler_prepare() #9 [internal function]: do_shortcode_tag() #10 /home/wp/disk/wordpress/wp-includes/shortcodes.php(273): preg_replace_callback() #11 /home/wp/disk/wordpress/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-helper.php(559): do_shortcode() #12 /home/wp/disk/wordpress/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/section/section.php(1466): ShortcodeHelper::avia_remove_autop() #13 /home/wp/disk/wordpress/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-template.php(1181): avia_sc_section->shortcode_handler() #14 /home/wp/disk/wordpress/wp-includes/shortcodes.php(433): aviaShortcodeTemplate->shortcode_handler_prepare() #15 [internal function]: do_shortcode_tag() #16 /home/wp/disk/wordpress/wp-includes/shortcodes.php(273): preg_replace_callback() #17 /home/wp/disk/wordpress/wp-includes/class-wp-hook.php(324): do_shortcode() #18 /home/wp/disk/wordpress/wp-includes/plugin.php(205): WP_Hook->apply_filters() #19 /home/wp/disk/wordpress/wp-content/plugins/wordpress-seo/src/builders/indexable-link-builder.php(117): apply_filters() #20 /home/wp/disk/wordpress/wp-content/plugins/wordpress-seo/src/integrations/watchers/indexable-post-watcher.php(209): Yoast\WP\SEO\Builders\Indexable_Link_Builder->build() #21 /home/wp/disk/wordpress/wp-includes/class-wp-hook.php(326): Yoast\WP\SEO\Integrations\Watchers\Indexable_Post_Watcher->build_indexable() #22 /home/wp/disk/wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #23 /home/wp/disk/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action() #24 /home/wp/disk/wordpress/wp-includes/post.php(4771): do_action() #25 /home/wp/disk/wordpress/wp-includes/post.php(4862): wp_insert_post() #26 /home/wp/disk/wordpress/wp-admin/includes/post.php(453): wp_update_post() #27 /home/wp/disk/wordpress/wp-admin/post.php(227): edit_post() #28 {main} thrown
We use WordPress-Version 6.4.4 | Aktives Theme: Enfold Child (Version 1.0) | Aktuelles Plugin: WooCommerce (Version 8.9.2) | PHP-Version 8.1.28
Any idea why this error occures? Thanks a lot for your help Marc
June 11, 2024 at 12:31 pm #1448892June 11, 2024 at 1:16 pm #1448895Hello Rikard
we are running on Enfold 5.6.12Regards Marc
June 11, 2024 at 5:21 pm #1448907Hi,
Could you try updating the theme to the latest version (5.7.1) to see if that helps please? https://kriesi.at/documentation/enfold/how-to-install-enfold-theme/#theme-update.
Best regards,
RikardJune 12, 2024 at 11:18 am #1448994Hi Rikard
tested it on a clone of our site but does not help. Still critical error. If you need I could give you access to a staging enviroment to test.
Best Regards Marc
June 12, 2024 at 12:23 pm #1449023Hi,
Thanks for the update. What happens if you deactivate all plugins except WooCommerce? You can post login details in private.
Best regards,
RikardJune 12, 2024 at 4:22 pm #1449079Dear Rikard
tested to deactivate all plugins and noticed that it belongs due a problem within ENFOLD and YOAST. We are running YOAST 22.4 – but also with newest ENFOLD and YOAST version a critical error occurs. Will send credentials for a staging site to you.
Best Regards Marc
June 12, 2024 at 4:39 pm #1449084Dear Rikard
send u in private content credentials.
Regards Marc
June 12, 2024 at 6:49 pm #1449117Hi,
Thanks for that. How can we reproduce the problem in question?
Best regards,
RikardJune 13, 2024 at 1:54 pm #1449422Hi Rikard
we use woocommerce products for different things whitepaper download, webcasts and as single products. Everywhere we use within the template builder product elements the error occurs. Have write you example links from products which are affected.Regards Marc
June 13, 2024 at 7:10 pm #1449637Hi,
Thanks for that. Are we allowed to decativate plugins and themes for testing purposes? Also, I see that you are still running version 5.6.12 of the theme, please make sure to update it to the latest version.
Best regards,
RikardJune 14, 2024 at 8:17 am #1450245Dear Rikard
yes do whar needed. We had tested latest enfold version on another staging site – same issue. Also done a update of YOAST tried to fix it. Same behaviour. Have done the enfold update.Best Regards Marc
June 14, 2024 at 11:24 am #1450349Hi,
Thanks for the update. It doesn’t seem possible to bulk deactivate plugins on your site unfortunately, please share FTP login details with us as well so that we can do it via FTP instead.
Best regards,
RikardJune 14, 2024 at 11:33 am #1450358Dear Rikard
should be possible in several steps. Will deactivate it for you. Kept all woocommerce related plugins active and YOAST.
Regards Marc
June 14, 2024 at 7:29 pm #1450576Hi,
Thanks for that. I tried copying the layout builder content to a new product, and that seems to be saving as expected. That means that the problem is likely not related to the Layout Builder at least. Could you try adding the additional data to see if the test product keeps saving as it should?
Best regards,
RikardJune 17, 2024 at 9:07 am #1451613Hello Rikard
I added Image, category, etc. to it and it is still saveable without error. Think the problem occurs from Enfold and YOAST on some way. If YOAST is deactivated saving of old products is also possible without error.
Best Regards Marc
June 17, 2024 at 11:02 am #1451615Hi,
Thanks for the update. We haven’t heard of any similar conflicts with Yoast before, so I’m not sure if your theory is correct or not. Maybe you could simply copy the content of the problem products to see what happens after that?
Best regards,
RikardJune 17, 2024 at 2:03 pm #1451636Hello Rikard
the problem is that we want to avoid to loose the ID of those products. But will try with 1 or two too see what happens. As fast as YOAST is disabled the products are working to save.
Best Regards Marc
June 17, 2024 at 7:10 pm #1451652Hi,
Thanks for the update. We’ll keep this thread open in case you should have any further problems.
Best regards,
RikardSeptember 10, 2024 at 3:27 pm #1466623Dear support
we now had the time to have again a look on this problem. And we are able to restrict the critical error to every product where we use the “produkt info” ALB element. As long as this element is included in the backend we receive a critical error while saving the product.
Summarizing the problem:
Every product which includes this ALB-Element in the advanced layout builder is causing a critical error while saving or updating.It makes no difference if we update wordpress and/ or enfold theme, plugins etc.
We are using custom tab plugin for woocommerce – also deactivating this one makes no difference. We set up a staging site for you. Credentials in private content.Thanks a lot for having again an eye on this issue.
September 11, 2024 at 12:57 pm #1466709Hi,
Thanks for the update. Could you try updating the theme to the latest version (6.0.4) to see if that helps please? https://kriesi.at/documentation/enfold/theme-update/.
Best regards,
RikardSeptember 11, 2024 at 3:48 pm #1466721Hello Rikard
it does not make any difference. You can see on another staging site. Credentials in private content. We had tested every changes possible before – update wordpress, enfold, plugins – everytime same problem.
Best Regards Marc
September 12, 2024 at 11:23 am #1466799Hi,
It doesn’t seem possible to deactivate all plugins on your site, you have 45 activate plugins and nothing happens when trying to execute the action. How exactly do you deactivate all plugins? Your could share FTP login details with us so that we can rename the plugin folder temporarily.
Best regards,
RikardSeptember 12, 2024 at 12:23 pm #1466811Dear Rikard
this is a problem on the staging site. If try to deactivate a lot of plugins at same time (or such premium plugins as wp rocket which has to be forced to be deactivated) it does not work.
I deactivated YOAST plugin for you – as long this is deactivated the info-tab ALB element works. So it seems that there is a conflict between YOAST and the use of this element.
Best Regards Marc
September 12, 2024 at 12:40 pm #1466813Hi,
That might be the case on your installation, but we cannot reproduce it on test installations. We haven’t had this problem reported from other users either, so it’s likely a problem with your local installation. Deactivating all plugins would be the first step in debugging the problem, then activating them one by one. It’s likely that the problem will not occur if you have only Woo and Yoast activate for example.
Best regards,
RikardSeptember 12, 2024 at 1:00 pm #1466818Dear Rikard
we had tested this a few times before. But I have done this now also on this staging. Only things are on are:
ENFOLD
Woocommerce
YOAST
and your loginand still it is not working as long YOAST is enabled. As fast YOAST is disabled it works fine.
Best Regards Marc
September 12, 2024 at 6:13 pm #1466834Hi,
Thanks for the update. What happens if you update WordPress to the latest version?
Best regards,
RikardSeptember 13, 2024 at 8:26 am #1466880Dear Rikard
we had done this several times. But to be sure – updated also WP to current version – no change of behaviour.
Best Regards Marc
September 13, 2024 at 9:39 am #1466889Hi,
Thanks for that. Why is it not possible to access the Appearance->Themes menu on your installation? Did you try running only the parent theme?
Best regards,
RikardSeptember 13, 2024 at 10:43 am #1466898Dear Rikard
may not registered to open it through dashboard. Changed but still same behaviour. You can test by yourself.
Best Regards Marc
-
AuthorPosts
- You must be logged in to reply to this topic.