This topic has 5 replies, 3 voices, and was last updated 10 years, 1 months ago ago by Eva Kemp
I am getting the following errors after updating Legenda to the latest version (I also updated Woocommerce to the current version – 2.2.6):
Warning: strpos() expects parameter 1 to be string, array given in /home/****/public_html/testshop/wp-includes/shortcodes.php on line 196
Warning: preg_split() expects parameter 2 to be string, array given in /home/****/public_html/testshop/wp-includes/formatting.php on line 227
Warning: Invalid argument supplied for foreach() in /home/****/public_html/testshop/wp-includes/formatting.php on line 229
Warning: implode() [function.implode]: Invalid arguments passed in /home/****/public_html/testshop/wp-includes/formatting.php on line 279
It appears on the category pages like this one:
https://diocesan.com/testshop/product-category/greeting-cards/
I have disabled all of the plugins with the exception of Woocommerce and the error remains. So, I know it is not an issue with one of the plugins.
Thank you for your help with this! 🙂
Hello,
Please provide us with wp-admin and FTP credentials in Private Content.
Regards,
Robert Hall.
Hello,
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.
Thank you.
Regards,
Eva Kemp.
Thank you, Eva! I did that and the error no longer shows up! 🙂
Hello,
You’re welcome.
Regards,
Eva Kemp.
The issue related to '‘Warning: strpos() and Warning: Warning: preg_split()’' has been successfully resolved, and the topic is now closed for further responses