Uncaught TypeError: strpos() expects parameter 1 to be string, bool given
-
Hi,
Woocommerce seems to be throwing fatal errors. I’m wondering if anyone else is getting these errors, they seemed to start after I updated Woocommerce to 9.6.0.
Any help on this would be greatly appreciated.
Here is the crash report I’m getting:
WordPress version 6.7.1
Active theme: Goodnow Farms (version 1.0.0)
Current plugin: WooCommerce (version 9.6.0)
PHP version 7.4.33
Error Details
=============
An error of type E_ERROR was caused in line 175 of the file .../wp-content/plugins/woocommerce/includes/class-wc-brands.php. Error message: Uncaught TypeError: strpos() expects parameter 1 to be string, bool given in .../wp-content/plugins/woocommerce/includes/class-wc-brands.php:175
Stack trace:
#0 .../wp-content/plugins/woocommerce/includes/class-wc-brands.php(175): strpos(false, '%')
#1 .../wp-includes/class-wp-hook.php(326): WC_Brands->post_type_link(false, Object(WP_Post))
#2 .../wp-includes/plugin.php(205): WP_Hook->apply_filters(false, Array)
#3 .../wp-includes/link-template.php(375): apply_filters('post_type_link', 'https://goodnow...', Object(WP_Post), false, false)
#4 .../wp-includes/link-template.php(201): get_post_permalink(Object(WP_Post), false, false)
#5 .../wp-admin/includes/class-wp-posts-list-table.php(1553): get_permalink(Obj
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.