Prices and Currencies by Country Module causing fatal error
-
Hi, my site is having fatal error when the Prices and Currencies by Country Module is activated.
Below is the PHP error log
`[19-Jul-2022 07:54:59 UTC] PHP Fatal error: Uncaught TypeError: Unsupported operand types: string * string in /var/web/site/public_html/wp-content/plugins/booster-plus-for-woocommerce/includes/functions/wcj-functions-price-currency.php:287
PHP Stacktrace:
/var/web/site/public_html/wp-content/plugins/booster-plus-for-woocommerce/includes/price-by-country/class-wcj-price-by-country-core.php(805): wcj_price_by_country(’39’, Object(WC_Product_Variation), 1)
/var/web/site/public_html/wp-includes/class-wp-hook.php(307): WCJ_Price_by_Country_Core->change_price(’39’, Object(WC_Product_Variation))
/var/web/site/public_html/wp-includes/plugin.php(191): WP_Hook->apply_filters(’39’, Array)
/var/web/site/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php(797): apply_filters(‘woocommerce_pro…’, ’39’, Object(WC_Product_Variation))
/var/web/site/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php(270): WC_Data->get_prop(‘price’, ‘view’)
/var/web/site/public_html/wp-content/plugins/woocommerce/includes/class-wc-product-variation.php(572): WC_Product->get_price()
/var/web/site/public_html/wp-content/plugins/woocommerce/includes/class-wc-product-variation.php(550): WC_Product_Variation->variation_is_visible()
/var/web/site/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-session.php(131): WC_Product_Variation->is_purchasable()
/var/web/site/public_html/wp-includes/class-wp-hook.php(307): WC_Cart_Session->get_cart_from_session(”)
/var/web/site/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
/var/web/site/public_html/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
/var/web/site/public_html/wp-settings.php(620): do_action(‘wp_loaded’)
/var/web/site/public_html/wp-config.php(100): require_once(‘/var/web/site/p…’)
/var/web/site/public_html/wp-load.php(50): require_once(‘/var/web/site/p…’)
/var/web/site/public_html/wp-admin/admin-ajax.php(22): require_once(‘/var/web/site/p…’)
{main} thrown in /var/web/site/public_html/wp-content/plugins/booster-plus-for-woocommerce/includes/functions/wcj-functions-price-currency.php on line 287`
- The topic ‘Prices and Currencies by Country Module causing fatal error’ is closed to new replies.