WPIntell

Source evidence

PHP 8.0 or Higher

Conditional Shipping for WooCommerce · support · 2025-01-14T05:06:00+00:00

mixedsentiment
highseverity
0.95relevance
4replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

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

4 / 28 rows with source links

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

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

24 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
esther0708 resolved
Can you confirm that your plugin is compatible with php 8.0 or higher? The page I need help with: [ log in to see the link] Hello, Yes the plugin has been tested up to PHP 8.3. Closing this now but if you experience issues with any PHP version, please let me know. We are try to upgrade from php 7.4 to 8.x with CSfWC version 3.4.0 We get the following WooCommerce Logs error: Uncaught TypeError: call_user_func(): Argument #1 ($callback) must be a valid callback, class Woo_Conditional_Shipping_Filters does not have a method “filter_shipping_postcode” in /…/public_html/wp-content/plugins/conditional-shipping-for-woocommerce/includes/class-woo-conditional-shipping-ruleset.php:293 On the site we get constantly spinning wait icons on the checkout page, whether we have completed the address details or not Reverting to php 7.4 fixes the problem. Thanks for the report Ian. The error message suggests that the plugin tries to use a condition (shipping postcode) not available in the WordPress.org version. In PHP 8.x it throws the error but in PHP 7.x only a warning. Do you have previously had the paid version? That would explain the residual condition. In any case it can be solved by saving all rulesets once (no changes needed, just save) which clears residual conditions. Another option is to activate the paid version before upgrade if you have that available. Many thanks for your super prompt answer. I can confirm that just re-saving each conditional shipping rule has fixed that problem. If only all issues were this easy to fix! We are a small charity and have recently taken over the running of the website so we have little experience with CSfWC. I can confirm that it is the free version; just as well because there are no records of any purchases or licences for the site even though we have paid for themes… Many, many thanks, Ian

Comments

4 shown
WP Trio 2025-01-14T06:15:00+00:00

Hello, Yes the plugin has been tested up to PHP 8.3. Closing this now but if you experience issues with any PHP version, please let me know.

ian.t.price 2025-02-04T16:43:00+00:00

We are try to upgrade from php 7.4 to 8.x with CSfWC version 3.4.0 We get the following WooCommerce Logs error: Uncaught TypeError: call_user_func(): Argument #1 ($callback) must be a valid callback, class Woo_Conditional_Shipping_Filters does not have a method “filter_shipping_postcode” in /…/public_html/wp-content/plugins/conditional-shipping-for-woocommerce/includes/class-woo-conditional-shipping-ruleset.php:293 On the site we get constantly spinning wait icons on the checkout page, whether we have completed the address details or not Reverting to php 7.4 fixes the problem.

WP Trio 2025-02-05T10:36:00+00:00

Thanks for the report Ian. The error message suggests that the plugin tries to use a condition (shipping postcode) not available in the WordPress.org version. In PHP 8.x it throws the error but in PHP 7.x only a warning. Do you have previously had the paid version? That would explain the residual condition. In any case it can be solved by saving all rulesets once (no changes needed, just save) which clears residual conditions. Another option is to activate the paid version before upgrade if you have that available.

ian.t.price 2025-02-06T15:38:00+00:00

Many thanks for your super prompt answer. I can confirm that just re-saving each conditional shipping rule has fixed that problem. If only all issues were this easy to fix! We are a small charity and have recently taken over the running of the website so we have little experience with CSfWC. I can confirm that it is the free version; just as well because there are no records of any purchases or licences for the site even though we have paid for themes… Many, many thanks, Ian