• Resolved Craig

    (@divithemeexamples)


    Hey after i update a post i get this error. everything else seems ok, products save, display etc and no other apparent issues… just wondering what the error may be caused by?

    Fatal error: Uncaught Error: Call to undefined function wc_print_notices() in /home/….plugins/woocommerce/includes/class-wc-shortcodes.php:588 Stack trace: #0 /home/……/wp-includes/shortcodes.php(319): WC_Shortcodes::shop_messages(”, ”, ‘shop_messages’) #1 [internal function]: do_shortcode_tag(Array) #2 /home/…/wp-includes/shortcodes.php(197): preg_replace_callback(‘/\\[(\\[?)(galler…’, ‘do_shortcode_ta…’, ‘<p>version 3.2….’) #3 /home/c…/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(1507): do_shortcode(‘<p>version 3.2….’) #4 /home/…/wp-includes/shortcodes.php(319): ET_Builder_Element->_render(Array, ‘<p>version 3.2….’, ‘et_pb_text’) #5 [internal function]: do_shortcode_tag(Array) #6 /home/…/wp-includes/shortcodes.php(197): preg_replace_callback(‘/\\[(\\[?)(galler…’, ‘do_shortcode_ta…’, ‘[et_pb_text _bu…’) #7 /home/…/wp-content/th in /home/…/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php on line 588

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    Hey there,

    It looks like both WooCommerce and Divi Builder are showing errors – that’s probably because another plugin is calling that code.

    This kind of problem is usually caused by either a conflict with your theme or with another plugin.

    The best way to determine if the issue is being caused by a theme and/or plugin is to temporarily switch your theme to Storefront and disable all plugins except for WooCommerce.

    If that resolves the issue, then one-by-one you can switch back your theme and re-enable your plugins, testing in between, until you find the one causing the conflict.

    madeincosmos

    (@madeincosmos)

    Automattic Happiness Engineer

    Hi @divithemeexamples,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Cheers!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal error: Uncaught Error:’ is closed to new replies.