Uncaught Error: Call to undefined function wc_print_notices()
-
We are having an error related to printing notices. Seems to be related to WooCommerce and possibly Elementor. Here is the error:
[15-Oct-2023 12:13:05 UTC] PHP Fatal error: Uncaught Error: Call to undefined function wc_print_notices() in /var/www/vhosts/site.nl/httpdocs/wp-content/plugins/woocommerce/includes/wc-template-functions.php:3878 Stack trace: #0 /var/www/vhosts/site.nl/httpdocs/wp-content/plugins/elementor-pro/modules/woocommerce/widgets/notices.php(111): woocommerce_output_all_notices() #1 /var/www/vhosts/site.nl/httpdocs/wp-content/plugins/elementor/includes/base/controls-stack.php(2265): ElementorPro\Modules\Woocommerce\Widgets\Notices->render() #2 /var/www/vhosts/site.nl/httpdocs/wp-content/plugins/elementor/includes/base/widget-base.php(609): Elementor\Controls_Stack->render_by_mode() #3 /var/www/vhosts/site.nl/httpdocs/wp-content/plugins/elementor/includes/base/widget-base.php(750): Elementor\Widget_Base->render_content() #4 /var/www/vhosts/site.nl/httpdocs/wp-content/plugins/elementor/includes/base/element-base.php(464): Elementor\Widget_Base->print_content() #5 /var/www/vhosts/site.nl/httpdocs/wp-content/plugins/elementor/includes/base/element-base.php(1375): Elementor\Element_Base->print_element() #6 /var/www/vhosts/site.nl/httpdocs/wp-content/plugins/elementor/includes/base/element-base.php(464): Elementor\Element_Base->print_content() #7 /var/www/vhosts/site.nl/httpdocs/wp-content/plugins/elementor/includes/base/element-base.php(1375): Elementor\Element_Base->print_element() #8 /var/www/vhosts/site.nl/httpdocs/wp-content/plugins/elementor/includes/base/element-base.php(464): Elementor\Element_Base->print_content() #9 /var/www/vhosts/site.nl/httpdocs/wp-content/plugins/elementor/core/base/document.php(1739): Elementor\Element_Base->print_element() #10 /var/www/vhosts/site.nl/httpdocs/wp-content/plugins/elementor/core/base/document.php(1134): Elementor\Core\Base\Document->print_elements() #11 /var/www/vhosts/site.nl/httpdocs/wp-content/plugins/elementor/includes/frontend.php(1179): Elementor\Core\Base\Document->print_elements_with_wrapper() #12 /var/www/vhosts/site.nl/httpdocs/wp-content/plugins/elementor/includes/frontend.php(1074): Elementor\Frontend->get_builder_content() #13 /var/www/vhosts/site.nl/httpdocs/wp-includes/class-wp-hook.php(310): Elementor\Frontend->apply_builder_in_content() #14 /var/www/vhosts/site.nl/httpdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters() #15 /var/www/vhosts/site.nl/httpdocs/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(1864): apply_filters() #16 /var/www/vhosts/site.nl/httpdocs/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(569): WP_REST_Posts_Controller->prepare_item_for_response() #17 /var/www/vhosts/site.nl/httpdocs/wp-includes/rest-api/class-wp-rest-server.php(1194): WP_REST_Posts_Controller->get_item() #18 /var/www/vhosts/site.nl/httpdocs/wp-includes/rest-api/class-wp-rest-server.php(1041): WP_REST_Server->respond_to_request() #19 /var/www/vhosts/site.nl/httpdocs/wp-includes/rest-api/class-wp-rest-server.php(431): WP_REST_Server->dispatch() #20 /var/www/vhosts/site.nl/httpdocs/wp-includes/rest-api.php(418): WP_REST_Server->serve_request() #21 /var/www/vhosts/site.nl/httpdocs/wp-includes/class-wp-hook.php(310): rest_api_loaded() #22 /var/www/vhosts/site.nl/httpdocs/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters() #23 /var/www/vhosts/site.nl/httpdocs/wp-includes/plugin.php(565): WP_Hook->do_action() #24 /var/www/vhosts/site.nl/httpdocs/wp-includes/class-wp.php(398): do_action_ref_array() #25 /var/www/vhosts/site.nl/httpdocs/wp-includes/class-wp.php(779): WP->parse_request() #26 /var/www/vhosts/site.nl/httpdocs/wp-includes/functions.php(1335): WP->main() #27 /var/www/vhosts/site.nl/httpdocs/wp-blog-header.php(16): wp() #28 /var/www/vhosts/site.nl/httpdocs/index.php(17): require('...') #29 {main} thrown in /var/www/vhosts/site.nl/httpdocs/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 3878
WooCommerce and Elementor are up to date and I do not see outdated WooCommerce templates. Here Woo status report:
` ### WordPress Environment ### WordPress address (URL): https://snaakontwerp.nl Site address (URL): https://snaakontwerp.nl WC Version: 8.2.1 REST API Version: ? 8.2.1 WC Blocks Version: ? 11.1.2 Action Scheduler Version: ? 3.6.3 Log Directory Writable: ? WP Version: 6.3.2 WP Multisite: – WP Memory Limit: 1 GB WP Debug Mode: ? WP Cron: ? Language: nl_NL External object cache: ? ### Server Environment ### Server Info: nginx/1.24.0 PHP Version: 8.0.30 PHP Post Max Size: 60 MB PHP Time Limit: 300 PHP Max Input Vars: 3000 cURL Version: 7.61.1 OpenSSL/1.1.1k SUHOSIN Installed: – MySQL Version: 10.3.39-MariaDB Max Upload Size: 60 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 8.2.1 WC Database Prefix: wp_ Total Database Size: 247.30MB Database Data Size: 242.01MB Database Index Size: 5.29MB wp_woocommerce_sessions: Data: 1.52MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 24.52MB + Index: 0.09MB + Engine InnoDB wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_actions: Data: 0.38MB + Index: 0.53MB + Engine InnoDB wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_logs: Data: 0.45MB + Index: 0.27MB + Engine InnoDB wp_check_email_log: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wp_cmplz_cookiebanners: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_cmplz_cookies: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp_cmplz_services: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_e_notes: Data: 0.02MB + Index: 0.17MB + Engine InnoDB wp_e_notes_users_relations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_e_submissions: Data: 0.02MB + Index: 0.27MB + Engine InnoDB wp_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB wp_e_submissions_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_fpd_categories: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_fpd_category_products_rel: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_fpd_designs: Data: 0.45MB + Index: 0.00MB + Engine InnoDB wp_fpd_print_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_fpd_products: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_fpd_views: Data: 0.28MB + Index: 0.00MB + Engine InnoDB wp_imagify_files: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_imagify_folders: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_nf3_actions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_nf3_action_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_nf3_chunks: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_nf3_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_nf3_field_meta: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp_nf3_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_nf3_form_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_nf3_objects: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_nf3_object_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_nf3_relationships: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_nf3_upgrades: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp_options: Data: 2.52MB + Index: 0.11MB + Engine InnoDB wp_postmeta: Data: 186.52MB + Index: 0.64MB + Engine InnoDB wp_posts: Data: 4.52MB + Index: 0.41MB + Engine InnoDB wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_usermeta: Data: 2.52MB + Index: 0.03MB + Engine InnoDB wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_admin_notes: Data: 0.09MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_note_actions: Data: 0.06MB + Index: 0.02MB + Engine InnoDB wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB wp_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfblockediplog: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wfconfig: Data: 0.47MB + Index: 0.00MB + Engine InnoDB wp_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wffilemods: Data: 8.52MB + Index: 0.00MB + Engine InnoDB wp_wfhits: Data: 0.33MB + Index: 0.08MB + Engine InnoDB wp_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wfknownfilelist: Data: 6.52MB + Index: 0.00MB + Engine InnoDB wp_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wflogins: Data: 0.09MB + Index: 0.03MB + Engine InnoDB wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfls_role_counts: Data: 0.00MB + Index: 0.00MB + Engine MEMORY wp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfsecurityevents: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wfstatus: Data: 0.13MB + Index: 0.09MB + Engine InnoDB wp_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfwaffailures: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpforms_payments: Data: 0.02MB + Index: 0.14MB + Engine InnoDB wp_wpforms_payment_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpr_rocket_cache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wpr_rucss_used_css: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_yoast_indexable: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_yoast_seo_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ### Post Type Counts ### acf-field: 1 acf-field-group: 1 addify_quote: 2 addify_rfq: 1 attachment: 2724 custom_css: 1 elementor_library: 11 nav_menu_item: 6 page: 12 post: 3 product: 9 product_variation: 9 revision: 16 seedprod: 2 shop_order: 18 wcpa_pt_forms: 8 wp_global_styles: 3 wpforms: 2 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (16) ### Advanced Custom Fields PRO: by WP Engine – 6.2.1.1 The SEO Framework: by The SEO Framework Team – 4.2.8 Check & Log Email: by WPOmnia – 1.0.8 Complianz | GDPR/CCPA Cookie Consent: by Really Simple Plugins – 6.5.5 Elementor Pro: by Elementor.com – 3.16.2 Elementor: by Elementor.com – 3.16.6 Fancy Product Designer PRO Export: by fancyproductdesigner.com – 1.4.0 Fancy Product Designer: by fancyproductdesigner.com – 6.0.9 Imagify: by Imagify – Optimize Images & Convert WebP – 2.1.2 Loco Translate: by Tim Whitlock – 2.6.6 Redis Object Cache: by Till Krüss – 2.4.4 WooCommerce Custom Product Addons Free: by Acowebs – 3.0.3 WooCommerce: by Automattic – 8.2.1 Wordfence Security: by Wordfence – 7.10.4 WP Rocket: by WP Media – 3.15.2 WPForms Lite: by WPForms – 1.8.4 ### Inactive Plugins (1) ### WP-Optimize - Clean, Compress, Cache: by David Anderson Ruhani Rabin Team Updraft – 3.2.20 ### Dropin Plugins (3) ### advanced-cache.php: advanced-cache.php maintenance.php: maintenance.php object-cache.php: Redis Object Cache Drop-In ### Must Use Plugins (1) ### Snaakontwerp Custom: by Jasper Frumau – ### Settings ### API Enabled: – Force SSL: – Currency: EUR (€) Currency Position: left_space Thousand Separator: . Decimal Separator: , Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: ? Enforce Approved Product Download Directories: – HPOS feature screen enabled: – HPOS feature enabled: – Order datastore: WC_Order_Data_Store_CPT HPOS data sync enabled: – ### WC Pages ### Shop base: #336 - /producten/ Cart: #784 - /cart/ Checkout: #782 - /checkout/ My account: #788 - /mijn-account/ Terms and conditions: ? Page not set ### Theme ### Name: Snaakontwerp Version: 1.1.7 Author URL: https://imagewize.com Child Theme: ? Parent Theme Name: Astra Parent Theme Version: 4.3.1 Parent Theme Author URL: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme WooCommerce Support: ? ### Templates ### Overrides: astra-child/woocommerce/emails/customer-invoice.php astra-child/woocommerce/emails/email-order-details.php ### Admin ### Enabled Features: activity-panels analytics product-block-editor coupons core-profiler customer-effort-score-tracks import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing mobile-app-banner navigation onboarding onboarding-tasks product-variation-management remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices woo-mobile-welcome wc-pay-promotion wc-pay-welcome-page Disabled Features: customize-store minified-js new-product-management-experience settings async-product-editor-category-field Daily Cron: ? Next scheduled: 2023-10-18 10:13:51 +02:00 Options: ? Notes: 167 Onboarding: completed ### Action Scheduler ### Complete: 1,276 Oldest: 2023-09-17 22:05:26 +0200 Newest: 2023-10-18 06:59:45 +0200 Failed: 390 Oldest: 2022-11-02 10:28:13 +0100 Newest: 2023-10-17 09:47:00 +0200 Pending: 7 Oldest: 2023-10-18 09:47:00 +0200 Newest: 2023-10-23 14:06:32 +0200 ### Status report information ### Generated at: 2023-10-18 07:21:19 +02:00 `
Has anyone encountered this error before?
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Uncaught Error: Call to undefined function wc_print_notices()’ is closed to new replies.