Fatal error: Uncaught DivisionByZeroError: Division by zero

[ad_1]

Hello, I added CZK to site, activated.

I tried to switch to CZK on product page, and there is

Fatal error: Uncaught DivisionByZeroError: Division by zero in LOCATION/wp-content/plugins/woocommerce-currency-switcher/classes/woocs.php:5918 Stack trace: #0 LOCATION/wp-includes/class-wp-hook.php(308): WOOCS->structured_data_product_offer(Array, Object(WC_Product_Simple)) #1 LOCATION/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array) #2 LOCATION/wp-content/plugins/woocommerce/includes/class-wc-structured-data.php(271): apply_filters('woocommerce_str…', Array, Object(WC_Product_Simple)) #3 LOCATION/wp-includes/class-wp-hook.php(308): WC_Structured_Data->generate_product_data(Object(WC_Product_Simple)) #4 LOCATION/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #5 LOCATION/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #6 LOCATION/wp-content/themes/flatsome/woocommerce/single-product/layouts/product.php(30): do_action('woocommerce_sin…') #7 LOCATION/wp-includes/template.php(785): require('/data/3/6/36025…') #8 LOCATION/wp-content/plugins/woocommerce/includes/wc-core-functions.php(284): load_template('/data/3/6/36025…', false) #9 LOCATION/wp-content/themes/flatsome/woocommerce/content-single-product.php(41): wc_get_template_part('single-product/…', 'right-sidebar-s…') #10 LOCATION/wp-includes/template.php(785): require('/data/3/6/36025…') #11 LOCATION/wp-content/plugins/woocommerce/includes/wc-core-functions.php(284): load_template('/data/3/6/36025…', false) #12 LOCATION/wp-content/themes/flatsome/woocommerce/single-product.php(38): wc_get_template_part('content', 'single-product') #13 LOCATION/wp-includes/template-loader.php(106): include('/data/3/6/36025…') #14 LOCATION/wp-blog-header.php(19): require_once('/data/3/6/36025…') #15 LOCATION/index.php(17): require('/data/3/6/36025…') #16 {main} thrown in LOCATION/wp-content/plugins/woocommerce-currency-switcher/classes/woocs.php on line 5918

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer