Viewing 30 posts - 1 through 30 (of 46 total)
  • Author
    Posts
  • #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

    #1448892

    Hey Marc,

    Which version of the parent theme are you running?

    Best regards,
    Rikard

    #1448895

    Hello Rikard
    we are running on Enfold 5.6.12

    Regards Marc

    #1448907

    Hi,

    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,
    Rikard

    #1448994

    Hi 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

    #1449023

    Hi,

    Thanks for the update. What happens if you deactivate all plugins except WooCommerce? You can post login details in private.

    Best regards,
    Rikard

    #1449079

    Dear 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

    #1449084

    Dear Rikard

    send u in private content credentials.

    Regards Marc

    #1449117

    Hi,

    Thanks for that. How can we reproduce the problem in question?

    Best regards,
    Rikard

    #1449422

    Hi 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

    #1449637

    Hi,

    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,
    Rikard

    #1450245

    Dear 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

    #1450349

    Hi,

    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,
    Rikard

    #1450358

    Dear Rikard

    should be possible in several steps. Will deactivate it for you. Kept all woocommerce related plugins active and YOAST.

    Regards Marc

    #1450576

    Hi,

    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,
    Rikard

    #1451613

    Hello 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

    #1451615

    Hi,

    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,
    Rikard

    #1451636

    Hello 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

    #1451652

    Hi,

    Thanks for the update. We’ll keep this thread open in case you should have any further problems.

    Best regards,
    Rikard

    #1466623

    Dear 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.

    ALB Element

    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.

    #1466709

    Hi,

    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,
    Rikard

    #1466721

    Hello 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

    #1466799

    Hi,

    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,
    Rikard

    #1466811

    Dear 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

    #1466813

    Hi,

    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,
    Rikard

    #1466818

    Dear 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 login

    and still it is not working as long YOAST is enabled. As fast YOAST is disabled it works fine.

    Best Regards Marc

    #1466834

    Hi,

    Thanks for the update. What happens if you update WordPress to the latest version?

    Best regards,
    Rikard

    #1466880

    Dear Rikard

    we had done this several times. But to be sure – updated also WP to current version – no change of behaviour.

    Best Regards Marc

    #1466889

    Hi,

    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,
    Rikard

    #1466898

    Dear Rikard

    may not registered to open it through dashboard. Changed but still same behaviour. You can test by yourself.

    Best Regards Marc

Viewing 30 posts - 1 through 30 (of 46 total)
  • You must be logged in to reply to this topic.