WooCommerce Wholesale Prices created Fatal error on all Woocommerce products
-
Hey guys, I’ve been loving your plugin until now (WooCommerce Wholesale Prices), but I got a FATAL ERROR on all my Woocommerce products when your plugin is activated (though I haven’t made any changes in it recently). I am using Divi, do you know what the problem may come from?
Here is an example of the error below:
Fatal error: Uncaught Error: Call to undefined function et_pb_ab_get_refresh_interval() in /homepages/37/d558787032/htdocs/clickandbuilds/Znuggle/wp-content/themes/Divi/includes/builder/functions.php:4553 Stack trace: #0 /homepages/37/d558787032/htdocs/clickandbuilds/Znuggle/wp-includes/class-wp-hook.php(307): et_pb_before_main_editor(Object(WP_Post)) #1 /homepages/37/d558787032/htdocs/clickandbuilds/Znuggle/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #2 /homepages/37/d558787032/htdocs/clickandbuilds/Znuggle/wp-includes/plugin.php(474): WP_Hook->do_action(Array) #3 /homepages/37/d558787032/htdocs/clickandbuilds/Znuggle/wp-admin/edit-form-advanced.php(581): do_action(‘edit_form_after…’, Object(WP_Post)) #4 /homepages/37/d558787032/htdocs/clickandbuilds/Znuggle/wp-admin/post.php(206): require(‘/homepages/37/d…’) #5 {main} thrown in /homepages/37/d558787032/htdocs/clickandbuilds/Znuggle/wp-content/themes/Divi/includes/builder/functions.php on line 4553
There has been a critical error on this website. Please check your site admin email inbox for instructions.`
Thanks in advance for your help,
ALexandraThe page I need help with: [log in to see the link]
-
Hi @montenegroecoadventuresorg,
I’m afraid the function et_pb_ab_get_refresh_interval() isn’t one of ours. I won’t say never but it’s unlikely to be caused by our plugin.
Looks like this might be being called in /wp-content/themes/Divi/includes/builder/functions.php line number 4553 if you can take a look at that and get an idea from the surrounding code?
Would definitely be worth reaching out to Divi support all the same.
@jkohlbach @montenegroecoadventuresorg
I have had the same issue. I accessed Divi support and worked it through with them. The issue went away when I deactivated the Woocommerce Wholesale Prices plugin. I have also come across another user with a similar issue who recommended rolling back to a previous version of the plugin. I have been getting round the issue by deactivating the plugin when I need to update product pages which isn’t ideal. I don’t want to deactivate the plugin permanently as it’s ideal for my site.
@jkohlbach I wondered whether you could take another look at this as it does seem to be a compatibility problem between Divi and the latest version of the plugin, and it seems that quite a few people are affected.
Thanks very much for your help!
Hi @fionah77,
It would be great if you could send me all the information from the WooCommerce->System Status page. There’s a little button there that will let you copy and paste it to me: https://snipboard.io/eOc7jD.jpg
We’ll try to investigate this and see if we can replicate the issue.
Also, may I know if you use the Divi Builder to create a custom single product page?
Dear @fauzanade , thanks for your response! Here is the status report from my website, let me know if you can replicate the issue.
I do use the Divi builder to create a custom single product page, yes.
Alexandra### WordPress Environment ### WordPress address (URL): https://znuggle.me Site address (URL): https://znuggle.me WC Version: 6.5.1 REST API Version: ? 6.5.1 WC Blocks Version: ? 7.4.3 Action Scheduler Version: ? 3.4.0 Log Directory Writable: ? WP Version: 5.9.3 WP Multisite: – WP Memory Limit: ? 40 MB - We recommend setting memory to at least 64MB. See: Increasing memory allocated to PHP WP Debug Mode: – WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 8.0.19 PHP Post Max Size: 6 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.64.0 OpenSSL/1.1.1n SUHOSIN Installed: – MySQL Version: ? 5.5.60-0+deb7u1-log - We recommend a minimum MySQL version of 5.6. See: WordPress requirements Max Upload Size: 64 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 6.5.1 WC Database Prefix: VEuXc Total Database Size: 66.04MB Database Data Size: 59.56MB Database Index Size: 6.48MB VEuXcwoocommerce_sessions: Data: 0.21MB + Index: 0.01MB + Engine MyISAM VEuXcwoocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM VEuXcwoocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM VEuXcwoocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM VEuXcwoocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine MyISAM VEuXcwoocommerce_order_itemmeta: Data: 0.18MB + Index: 0.08MB + Engine MyISAM VEuXcwoocommerce_tax_rates: Data: 0.00MB + Index: 0.01MB + Engine MyISAM VEuXcwoocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM VEuXcwoocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM VEuXcwoocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM VEuXcwoocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM VEuXcwoocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM VEuXcwoocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM VEuXcwoocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM VEuXcactionscheduler_actions: Data: 0.40MB + Index: 0.15MB + Engine MyISAM VEuXcactionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM VEuXcactionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM VEuXcactionscheduler_logs: Data: 0.26MB + Index: 0.19MB + Engine MyISAM VEuXcatum_order_itemmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM VEuXcatum_order_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM VEuXcatum_product_data: Data: 0.00MB + Index: 0.00MB + Engine MyISAM VEuXccommentmeta: Data: 1.80MB + Index: 0.33MB + Engine MyISAM VEuXccomments: Data: 1.39MB + Index: 0.18MB + Engine MyISAM VEuXceum_logs: Data: 5.32MB + Index: 0.02MB + Engine MyISAM VEuXcfailed_jobs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM VEuXcgiveasap_actions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM VEuXcgiveasap_entries: Data: 0.00MB + Index: 0.00MB + Engine MyISAM VEuXcgiveasap_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM VEuXclinks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM VEuXcmailchimp_carts: Data: 0.01MB + Index: 0.00MB + Engine MyISAM VEuXcmailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine MyISAM VEuXcmollie_pending_payment: Data: 0.00MB + Index: 0.00MB + Engine MyISAM VEuXcoptions: Data: 1.32MB + Index: 0.15MB + Engine MyISAM VEuXcpostmeta: Data: 2.61MB + Index: 0.46MB + Engine MyISAM VEuXcposts: Data: 14.72MB + Index: 0.20MB + Engine MyISAM VEuXcqueue: Data: 0.03MB + Index: 0.00MB + Engine MyISAM VEuXcredirection_404: Data: 0.74MB + Index: 0.18MB + Engine MyISAM VEuXcredirection_groups: Data: 0.00MB + Index: 0.00MB + Engine MyISAM VEuXcredirection_items: Data: 0.00MB + Index: 0.02MB + Engine MyISAM VEuXcredirection_logs: Data: 0.03MB + Index: 0.01MB + Engine MyISAM VEuXcslim_events: Data: 0.02MB + Index: 0.03MB + Engine InnoDB VEuXcslim_events_archive: Data: 0.02MB + Index: 0.02MB + Engine InnoDB VEuXcslim_stats: Data: 0.38MB + Index: 0.19MB + Engine InnoDB VEuXcslim_stats_archive: Data: 10.52MB + Index: 0.41MB + Engine InnoDB VEuXcsmush_dir_images: Data: 0.00MB + Index: 0.00MB + Engine MyISAM VEuXctermmeta: Data: 0.01MB + Index: 0.01MB + Engine MyISAM VEuXcterms: Data: 0.01MB + Index: 0.02MB + Engine MyISAM VEuXcterm_relationships: Data: 0.02MB + Index: 0.06MB + Engine MyISAM VEuXcterm_taxonomy: Data: 0.02MB + Index: 0.02MB + Engine MyISAM VEuXcusermeta: Data: 2.41MB + Index: 1.69MB + Engine MyISAM VEuXcusers: Data: 0.52MB + Index: 0.46MB + Engine MyISAM VEuXcwcpdf_invoice_number: Data: 0.00MB + Index: 0.00MB + Engine MyISAM VEuXcwcpdf_packing_slip_number: Data: 0.00MB + Index: 0.00MB + Engine MyISAM VEuXcwc_admin_notes: Data: 0.04MB + Index: 0.00MB + Engine MyISAM VEuXcwc_admin_note_actions: Data: 0.01MB + Index: 0.01MB + Engine MyISAM VEuXcwc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM VEuXcwc_customer_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM VEuXcwc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM VEuXcwc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM VEuXcwc_order_product_lookup: Data: 0.01MB + Index: 0.01MB + Engine MyISAM VEuXcwc_order_stats: Data: 0.00MB + Index: 0.01MB + Engine MyISAM VEuXcwc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM VEuXcwc_product_attributes_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM VEuXcwc_product_download_directories: Data: 0.00MB + Index: 0.01MB + Engine MyISAM VEuXcwc_product_meta_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM VEuXcwc_rate_limits: Data: 0.00MB + Index: 0.00MB + Engine MyISAM VEuXcwc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM VEuXcwc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM VEuXcwc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM VEuXcwfblockediplog: Data: 0.06MB + Index: 0.05MB + Engine MyISAM VEuXcwfblocks7: Data: 0.05MB + Index: 0.03MB + Engine MyISAM VEuXcwfconfig: Data: 3.54MB + Index: 0.01MB + Engine MyISAM VEuXcwfcrawlers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM VEuXcwffilechanges: Data: 0.00MB + Index: 0.00MB + Engine MyISAM VEuXcwffilemods: Data: 5.53MB + Index: 0.61MB + Engine MyISAM VEuXcwfhits: Data: 1.75MB + Index: 0.17MB + Engine MyISAM VEuXcwfhoover: Data: 0.00MB + Index: 0.00MB + Engine MyISAM VEuXcwfissues: Data: 0.09MB + Index: 0.03MB + Engine MyISAM VEuXcwfknownfilelist: Data: 4.11MB + Index: 0.19MB + Engine MyISAM VEuXcwflivetraffichuman: Data: 0.00MB + Index: 0.01MB + Engine MyISAM VEuXcwflocs: Data: 0.01MB + Index: 0.00MB + Engine MyISAM VEuXcwflogins: Data: 0.52MB + Index: 0.11MB + Engine MyISAM VEuXcwfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB VEuXcwfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB VEuXcwfnotifications: Data: 0.03MB + Index: 0.01MB + Engine MyISAM VEuXcwfpendingissues: Data: 0.09MB + Index: 0.02MB + Engine MyISAM VEuXcwfreversecache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM VEuXcwfsnipcache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM VEuXcwfstatus: Data: 0.13MB + Index: 0.05MB + Engine MyISAM VEuXcwftrafficrates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM VEuXcwpam_actions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM VEuXcwpam_affiliates: Data: 0.22MB + Index: 0.02MB + Engine MyISAM VEuXcwpam_affiliates_fields: Data: 0.00MB + Index: 0.00MB + Engine MyISAM VEuXcwpam_creatives: Data: 0.00MB + Index: 0.00MB + Engine MyISAM VEuXcwpam_events: Data: 0.00MB + Index: 0.00MB + Engine MyISAM VEuXcwpam_impressions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM VEuXcwpam_messages: Data: 0.00MB + Index: 0.00MB + Engine MyISAM VEuXcwpam_paypal_logs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM VEuXcwpam_tracking_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM VEuXcwpam_tracking_tokens_purchase_logs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM VEuXcwpam_transactions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM VEuXcwplc_chat_msgs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB VEuXcwplc_chat_sessions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB VEuXcwplc_offline_messages: Data: 0.02MB + Index: 0.00MB + Engine InnoDB VEuXcwplc_webhooks: Data: 0.02MB + Index: 0.00MB + Engine InnoDB VEuXcyoast_indexable: Data: 0.18MB + Index: 0.07MB + Engine MyISAM VEuXcyoast_indexable_hierarchy: Data: 0.01MB + Index: 0.02MB + Engine MyISAM VEuXcyoast_migrations: Data: 0.00MB + Index: 0.01MB + Engine MyISAM VEuXcyoast_primary_term: Data: 0.00MB + Index: 0.00MB + Engine MyISAM VEuXcyoast_seo_links: Data: 0.05MB + Index: 0.02MB + Engine MyISAM VEuXcyoast_seo_meta: Data: 0.02MB + Index: 0.02MB + Engine MyISAM ### Post Type Counts ### attachment: 258 atum_purchase_order: 1 atum_supplier: 1 custom_css: 2 et_pb_layout: 21 mc4wp-form: 1 nav_menu_item: 13 page: 57 polylang_mo: 2 post: 3 product: 33 revision: 1181 shop_coupon: 27 shop_order: 98 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (26) ### Polylang: by WP SYNTEX – 3.2.3 1&1 Assistant: by 1&1 – 5.1.0 Akismet Anti-Spam: by Automattic – 4.2.4 All-in-One WP Migration: by ServMask – 7.61 Classic Editor: by WordPress Contributors – 1.6.2 GDPR Cookie Consent: by WebToffee – 2.1.2 Duplicate Page: by mndpsingh287 – 4.4.8 Facebook for WooCommerce: by Facebook – 2.6.14 Hummingbird: by WPMU DEV – 3.3.2 Mailchimp for WooCommerce: by Mailchimp – 2.6.2 MC4WP: Mailchimp for WordPress: by ibericode – 4.8.7 Mollie Payments for WooCommerce: by Mollie – 7.1.0 Official StatCounter Plugin: by Aodhan Cullen – 2.0.9 Really Simple SSL: by Really Simple Plugins – 5.3.2 Redirection: by John Godley – 5.2.3 Safe Redirect Manager: by 10up – 1.10.1 Easy Updates Manager: by Easy Updates Manager Team – 9.0.12 UpdraftPlus - Backup/Restore: by UpdraftPlus.Com DavidAnderson – 1.22.12 Hyyan WooCommerce Polylang Integration: by Hyyan Abo Fakher – 1.5.0 EU/UK VAT Compliance for WooCommerce (Free): by David Anderson – 1.27.2 WooCommerce PDF Invoices & Packing Slips: by WP Overnight – 2.14.5 WooCommerce: by Automattic – 6.5.1 Wordfence Security: by Wordfence – 7.5.10 Yoast SEO: by Team Yoast – 18.9 Slimstat Analytics: by Jason Crouse – 4.9.0.1 Smush: by WPMU DEV – 3.9.11 ### Inactive Plugins (9) ### Affiliates Manager MailChimp Integration: by wp.insider wpaffiliatemgr – 1.0.1 Anti-Spam by CleanTalk: by СleanTalk <[email protected]> – 5.177.1 ATUM Inventory Management for WooCommerce: by Stock Management Labs? – 1.9.18.1 Auto WooCommerce Affiliate Account Creation: by wp.insider affmngr – 1.1.3 Easy HTTPS (SSL) Redirection: by Tips and Tricks HQ – 1.9.1 Simple Giveaways: by Igor Benic – 2.42.1 WooCommerce PayPal Checkout Gateway: by WooCommerce – 2.1.3 WooCommerce Wholesale Prices: by Rymera Web Co – 2.1.2 WP Affiliate Manager: by wp.insider wpaffiliatemgr – 2.9.10 ### Must Use Plugins (2) ### 1&1 Product Subdomain: by 1&1 – 1.1.0 ET Support Center :: Must-Use Plugins Autoloader: by Elegant Themes – ### Settings ### API Enabled: – Force SSL: – Currency: EUR (€) Currency Position: right_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: – ### WC Pages ### Shop base: #152 - /shop/ Cart: #153 - /cart/ Checkout: #154 - /checkout/ My account: #155 - /my-account/ Terms and conditions: #788 - /terms-and-conditions-general/ ### Theme ### Name: Divi Child Version: 1.0.0 Author URL: https://www.elegantthemes.com Child Theme: ? Parent Theme Name: Divi Parent Theme Version: 4.17.4 Parent Theme Author URL: https://www.elegantthemes.com WooCommerce Support: ? ### Templates ### Overrides: – ### Action Scheduler ### Complete: 965 Oldest: 2022-04-23 15:18:49 +0000 Newest: 2022-05-24 14:01:14 +0000 Failed: 15 Oldest: 2019-11-26 09:02:10 +0000 Newest: 2019-12-05 21:14:29 +0000 Pending: 3 Oldest: 2022-05-25 00:53:14 +0000 Newest: 2022-05-25 00:53:14 +0000 ### WooCommerce Polylang Integration ### Language Locale: en_US Polylang Language Locale: en_US Polylang Available Languages: en_US Warning - missing WooCommerce translation file NOT found at /homepages/37/d558787032/htdocs/clickandbuilds/Znuggle/wp-content/languages/plugins/woocommerce-en_US.mo fr_FR (WooCommerce translation file found OK at /homepages/37/d558787032/htdocs/clickandbuilds/Znuggle/wp-content/languages/plugins/woocommerce-fr_FR.mo) ### Status report information ### Generated at: 2022-05-24 14:02:36 +00:00
Dear @jkohlbach, Divi support asks me to roll out your plugin to the last version to see if the fatal error is linked to the latest version. Could you please help me do that?
AlexandraHi @montenegroecoadventuresorg,
You can download the previous version from here: https://www.ads-software.com/plugins/woocommerce-wholesale-prices/advanced/
Just scroll down below and you’ll find it. Then, you can upload it to your website to downgrade the plugin.
Please let me know how it goes.
Thanks! I have followed your instructions, removed current version and installed previous version 2.1.2 but I still get the same fatal error message. Divi still thinks it is related to your plugin:
Fatal error: Uncaught Error: Call to undefined function et_pb_ab_get_refresh_interval() in /homepages/37/d558787032/htdocs/clickandbuilds/Znuggle/wp-content/themes/Divi/includes/builder/functions.php:4553 Stack trace: #0 /homepages/37/d558787032/htdocs/clickandbuilds/Znuggle/wp-includes/class-wp-hook.php(307): et_pb_before_main_editor(Object(WP_Post)) #1 /homepages/37/d558787032/htdocs/clickandbuilds/Znuggle/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #2 /homepages/37/d558787032/htdocs/clickandbuilds/Znuggle/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #3 /homepages/37/d558787032/htdocs/clickandbuilds/Znuggle/wp-admin/edit-form-advanced.php(581): do_action('edit_form_after...', Object(WP_Post)) #4 /homepages/37/d558787032/htdocs/clickandbuilds/Znuggle/wp-admin/post.php(206): require('/homepages/37/d...') #5 {main} thrown in /homepages/37/d558787032/htdocs/clickandbuilds/Znuggle/wp-content/themes/Divi/includes/builder/functions.php on line 4553
What shall I do next? Thanks in advance.
AlexandraHi @montenegroecoadventuresorg,
We have released a fix for this in WooCommerce Wholesale Prices 2.1.4. Could you please update your plugin to the latest version?
Please let me know how it goes.
- The topic ‘WooCommerce Wholesale Prices created Fatal error on all Woocommerce products’ is closed to new replies.