Fatal error with with version 4.1.0 and 4.1.1
-
Our plugin updated to 4.1.0 today and the website broke – I saw you released 4.1.1 and I hoped that would fix the issue, but alas, it was still broken.
I’ve managed to roll back to an older version that was still working (4.0.6, fwiw), so this isn’t as urgent, but you should still know.
The error we’re getting on checkout is:
[11-Nov-2020 16:04:55 UTC] PHP Fatal error: Uncaught TypeError: Argument 1 passed to WCMP_NL_Postcode_Fields::isCountryWithSplitAddressFields() must be of the type string, null given, called in /home/123456/public_html/wp-content/plugins/woocommerce-myparcel/includes/class-wcmp-postcode-fields.php on line 673 and defined in /home/123456/public_html/wp-content/plugins/woocommerce-myparcel/includes/class-wcmp-postcode-fields.php:1142 Stack trace: #0 /home/123456/public_html/wp-content/plugins/woocommerce-myparcel/includes/class-wcmp-postcode-fields.php(673): WCMP_NL_Postcode_Fields::isCountryWithSplitAddressFields(NULL) #1 /home/123456/public_html/wp-includes/class-wp-hook.php(287): WCMP_NL_Postcode_Fields->merge_street_number_suffix(111111, Array) #2 /home/123456/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #3 /home/123456/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #4 /home/123456/public_html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(396): do_action('woocomm in /home/123456/public_html/wp-content/plugins/woocommerce-myparcel/includes/class-wcmp-postcode-fields.php on line 1142
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Fatal error with with version 4.1.0 and 4.1.1’ is closed to new replies.