Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1476161

    Hi!
    Found incompatibility of the theme with the new version of Woocommerce.
    The error occurs when saving a product: A critical error occurred on the site.
    Error details:
    Fatal error: Uncaught Error: Call to a member function set() on null in /home/c/cx16560/Russiandiving.ru/public_html/wp-content/plugins/woocommerce/includes/wc-notice-functions.php:126 Stack trace: #0 /home/c/cx16560/Russiandiving.ru/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/product_snippets/product_snippet_button.php(140): wc_clear_notices() #1 /home/c/cx16560/Russiandiving.ru/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-template.php(1113): avia_sc_produc_button->shortcode_handler(Array, ”, ‘av_product_butt…’, Array) #2 /home/c/cx16560/Russiandiving.ru/public_html/wp-includes/shortcodes.php(434): aviaShortcodeTemplate->shortcode_handler_prepare(Array, ”, ‘av_product_butt…’) #3 [internal function]: do_shortcode_tag(Array) #4 /home/c/cx16560/Russiandiving.ru/public_html/wp-includes/shortcodes.php(273): preg_replace_callback(‘/\\[(\\[?)(av_hr|…’, ‘do_shortcode_ta…’, ‘<p>[av_textbloc…’) #5 /home/c/cx16560/Russiandiving.ru/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-helper.php(548): do_shortcode(‘<p>[av_textbloc…’) #6 /home/c/cx16560/Russiandiving.ru/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/columns/columns.php(1619): ShortcodeHelper::avia_apply_autop(‘<p>[av_textbloc…’) #7 /home/c/cx16560/Russiandiving.ru/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-template.php(1113): avia_sc_columns->shortcode_handler(Array, ‘<br />\n[av_text…’, ‘av_three_fifth’, Array) #8 /home/c/cx16560/Russiandiving.ru/public_html/wp-includes/shortcodes.php(434): aviaShortcodeTemplate->shortcode_handler_prepare(Array, ‘<br />\n[av_text…’, ‘av_three_fifth’) #9 [internal function]: do_shortcode_tag(Array) #10 /home/c/cx16560/Russiandiving.ru/public_html/wp-includes/shortcodes.php(273): preg_replace_callback(‘/\\[(\\[?)(av_one…’, ‘do_shortcode_ta…’, ‘<p>[av_one_fift…’) #11 /home/c/cx16560/Russiandiving.ru/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-helper.php(548): do_shortcode(‘<p>[av_one_fift…’) #12 /home/c/cx16560/Russiandiving.ru/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/tab_section/tab_sub_section.php(547): ShortcodeHelper::avia_apply_autop(‘<p>[av_one_fift…’) #13 /home/c/cx16560/Russiandiving.ru/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-template.php(1113): avia_sc_tab_sub_section->shortcode_handler(Array, ‘\n[av_one_fifth …’, ‘av_tab_sub_sect…’, Array) #14 /home/c/cx16560/Russiandiving.ru/public_html/wp-includes/shortcodes.php(434): aviaShortcodeTemplate->shortcode_handler_prepare(Array, ‘\n[av_one_fifth …’, ‘av_tab_sub_sect…’) #15 [internal function]: do_shortcode_tag(Array) #16 /home/c/cx16560/Russiandiving.ru/public_html/wp-includes/shortcodes.php(273): preg_replace_callback(‘/\\[(\\[?)(av_one…’, ‘do_shortcode_ta…’, ‘<br />\n[av_tab_…’) #17 /home/c/cx16560/Russiandiving.ru/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-helper.php(526): do_shortcode(‘<br />\n[av_tab_…’) #18 /home/c/cx16560/Russiandiving.ru/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/tab_section/tab_section.php(538): ShortcodeHelper::avia_remove_autop(‘<br />\n[av_tab_…’, true) #19 /home/c/cx16560/Russiandiving.ru/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-template.php(1113): avia_sc_tab_section->shortcode_handler(Array, ‘<br />\n[av_tab_…’, ‘av_tab_section’, Array) #20 /home/c/cx16560/Russiandiving.ru/public_html/wp-includes/shortcodes.php(434): aviaShortcodeTemplate->shortcode_handler_prepare(Array, ‘<br />\n[av_tab_…’, ‘av_tab_section’) #21 [internal function]: do_shortcode_tag(Array) #22 /home/c/cx16560/Russiandiving.ru/public_html/wp-includes/shortcodes.php(273): preg_replace_callback(‘/\\[(\\[?)(yaplac…’, ‘do_shortcode_ta…’, ‘[av_slideshow_f…’) #23 /home/c/cx16560/Russiandiving.ru/public_html/wp-includes/class-wp-hook.php(324): do_shortcode(‘[av_slideshow_f…’) #24 /home/c/cx16560/Russiandiving.ru/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘[av_slideshow_f…’, Array) #25 /home/c/cx16560/Russiandiving.ru/public_html/wp-content/plugins/wordpress-seo/src/builders/indexable-link-builder.php(140): apply_filters(‘the_content’, ‘[av_slideshow_f…’) #26 /home/c/cx16560/Russiandiving.ru/public_html/wp-content/plugins/wordpress-seo/src/integrations/watchers/indexable-post-watcher.php(218): Yoast\WP\SEO\Builders\Indexable_Link_Builder->build(Object(Yoast\WP\SEO\Models\Indexable), ‘[av_slideshow_f…’) #27 /home/c/cx16560/Russiandiving.ru/public_html/wp-includes/class-wp-hook.php(326): Yoast\WP\SEO\Integrations\Watchers\Indexable_Post_Watcher->build_indexable(1311) #28 /home/c/cx16560/Russiandiving.ru/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #29 /home/c/cx16560/Russiandiving.ru/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #30 /home/c/cx16560/Russiandiving.ru/public_html/wp-includes/post.php(5071): do_action(‘wp_insert_post’, 1311, Object(WP_Post), true) #31 /home/c/cx16560/Russiandiving.ru/public_html/wp-includes/post.php(5162): wp_insert_post(Array, false, true) #32 /home/c/cx16560/Russiandiving.ru/public_html/wp-admin/includes/post.php(453): wp_update_post(Array) #33 /home/c/cx16560/Russiandiving.ru/public_html/wp-admin/post.php(227): edit_post() #34 {main} thrown in /home/c/cx16560/Russiandiving.ru/public_html/wp-content/plugins/woocommerce/includes/wc-notice-functions.php on line 126

    Access to the site is attached.

    Thank you!

    #1476180

    Hey AlonaGreenHouse,
    Your theme is very old v4.8.6.5 you must update to v6.0.9
    To update your version of Enfold you will need to download the latest installable WP version from your Theme Forest account and upload it to your WordPress ▸ Appearance ▸ Themes ▸ Add Themes ▸ Add New
    WordPress_Appearance_Themes_Add-Themes_Add-New.jpg
    after you choose the zip file and click install, you will see a This theme is already installed message because you are updating, you can continue
    Installing_theme_from_uploaded_file_This_theme_is_already_installed.jpg
    then you will see the Theme updated successfully message.
    Theme_updated_successfully.jpg

    Best regards,
    Mike

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