This topic has 8 replies, 3 voices, and was last updated 10 years, 1 months ago ago by Robert Hall
Hello there,
I got this message error when I click to see product by category :
Warning: strpos() expects parameter 1 to be string, array given in /homepages/32/d474709808/htdocs/wp-includes/shortcodes.php on line 196
Warning: preg_split() expects parameter 2 to be string, array given in /homepages/32/d474709808/htdocs/wp-includes/formatting.php on line 227
Warning: Invalid argument supplied for foreach() in /homepages/32/d474709808/htdocs/wp-includes/formatting.php on line 229
Warning: implode(): Invalid arguments passed in /homepages/32/d474709808/htdocs/wp-includes/formatting.php on line 279
I have already try to do these steps you explained in the forum but didnt work for me
To correct all categories you need go to Products > Categories > open category and re-save it. Errors will disappear. The problem is related to changes made in category header editor.
Hope you can help me,
Regards
Jose
Hello,
I’ve just re-updated the product category Women and the errors have gone. Please check http://www.andarastars.com/product-category/women/ and clear browser cache before.
Thank you.
Regards,
Eva Kemp.
Thank you so much Eva but I can see the same issues at the product-category pages like:
http://www.andarastars.com/product-category/women/tops/
http://www.andarastars.com/product-category/women/pants/
http://www.andarastars.com/product-category/women/jackets/
Please, how could I sort it out?
Thank you so much for your support
Regards
Jose
Hello,
I’ve re-updated those 3 subcategories and the errors have gone.
Please check.
Thank you.
Regards,
Eva Kemp.
Thank you Eva.
As I can see they are gone but these ones remain:
http://www.andarastars.com/product-category/men/
http://www.andarastars.com/product-category/malas/
http://www.andarastars.com/product-category/women/skirts/
http://www.andarastars.com/product-category/women/dresses/
http://www.andarastars.com/product-category/women/shorts/
http://www.andarastars.com/product-category/women/leggings/
Thank you for your patiente.
Hello,
You can re-save the categories yourself, just go to Products > Categories, open each category and subcategory and click “Update”, you’ll just re-save it. The errors will disappear after that.
Thank you.
Regards,
Eva Kemp.
Fantastic!!
Thank you once more Eva.
Really appreciated
Jose
Hello,
You’re welcome!
If you have any questions don’t hesitate to contact us.
Regards,
Robert Hall.
Tagged: expectations, parameters, strpos, templates, warning, woocommerce, wordpress
The issue related to '‘Warning: strpos() expects parameter’' has been successfully resolved, and the topic is now closed for further responses