Hello, I noticed an issue today when using the “Shop notices” element within a page. When searching, it is a similar error to one previously mentioned but the topic is unresolved. See:
Error message: Uncaught Error: Call to undefined function wc_print_notices() in "path"/wp-content/plugins/woocommerce/includes/wc-template-functions.php:3727
The error appears on a standard WordPress page, when the “Shop notices” element is used. For me, the page saves and previews fine, but the WordPress Admin Post editor for that page shows a section of the actual page and the standard “There has been a critical error on this website. Please check your site admin email inbox for instructions.” message.
From PRO, if I remove the shop notices element from the page - I do not receive this error, and the standard WordPress editor shows.
I have read that it may be to do with the “woocommerce_output_all_notices” hook?
Any suggestions?