WPIntell

Source evidence

Critical error

WPC Free Shipping Bar for WooCommerce · support · 2024-07-20T17:16:00+00:00

complaintsentiment
highseverity
1.0relevance
3replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

4 / 32 rows with source links

12.5% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

28 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
TomasE unresolved
I have encountered an untreated bug in your plugin that appears when no free shipping is predefined. I’m working on a new site where I activated this plugin before I set all shipping options. The error appeared the moment I tried to add the product to the cart. Here is the description of the error: Uncaught DivisionByZeroError: division by zero in /volume1/web/wp1/wp-content/plugins/wpc-free-shipping-bar/wpc-free-shipping-bar.php:523 Additional context { "error": { "type", "file":"/volume1/web/wp1/wp-content/plugins/wpc-free-shipping-bar/wpc-free-shipping-bar.php", "line": 523 }, Hi @tomase , It seems that no shipping zones or shipping methods have been configured so our plugin can’t determine the calculation of the shipping fee. Please make sure you add the free shippping method and define the order value for the free shipping line so tha tour plugin will know how to show the bar properly: https://prnt.sc/Zq8wj8g3K4FQ . Best regards. Yes, thank you for the explanation, as I already wrote, I know what the problem was, I just think that it is not such a big problem to fix this error in the plugin code, so that a fatal error does not occur unnecessarily. For less experienced users such an error is an unnecessary complication. how if the free shipping method is not using minimum spend but using a valid coupon? I got same error message

Comments

3 shown
Janilyn T 2024-07-23T12:54:00+00:00

Hi @tomase , It seems that no shipping zones or shipping methods have been configured so our plugin can’t determine the calculation of the shipping fee. Please make sure you add the free shippping method and define the order value for the free shipping line so tha tour plugin will know how to show the bar properly: https://prnt.sc/Zq8wj8g3K4FQ . Best regards.

TomasE 2024-07-23T15:50:00+00:00

Yes, thank you for the explanation, as I already wrote, I know what the problem was, I just think that it is not such a big problem to fix this error in the plugin code, so that a fatal error does not occur unnecessarily. For less experienced users such an error is an unnecessary complication.

zigots007 2024-08-27T13:17:00+00:00

how if the free shipping method is not using minimum spend but using a valid coupon? I got same error message