after deactivating and activating the plugin just now, the process took long and wordpress sent me this email. Now it’s back to the way it was. Plugin is installed but all values are the same.
An error of type E_ERROR was caused in line 524 of the file /home/public_html/app/themes/personal/functions.php. Error message: Uncaught Error: Call to undefined function WCPBC() in /home/public_html/app/themes/personal/functions.php:524
Stack trace:
#0 /home/public_html/wp/wp-includes/class-wp-hook.php(288): add_custom_price(Object(WC_Cart))
#1 /home/public_html/wp/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(”, Array)
#2 /home/public_html/wp/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#3 /home/public_html/app/plugins/woocommerce/includes/class-wc-cart.php(1235): do_action(‘woocommerce_bef…’, Object(WC_Cart))
#4 /home/public_html/app/plugins/woocommerce-multilingual/inc/class-wcml-cart.php(217): WC_Cart->calculate_totals()
#5 /home/public_html/wp/wp-includes/class-wp-hook.php(288): WCML_Cart->translate_cart_subtotal(Object(WC_Cart))
#6 /home/public_html/wp/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array)
#7 /home/public_html/wp/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#8 /home/
Hi,
the error is on file that is not part of PBoC. The path /home/public_html/app/themes/personal/functions.php seems part of your theme.
It’s possible that the issue is related also related to this file. Remove all custom functionality that you added and are related to PboC.
Also, do a test in the checkout page, by adding a product to cart.
This problem usually appears when another plugin (or code snippet) overwrites the PBoC price.