This topic has 4 replies, 2 voices, and was last updated 10 years, 8 months ago ago by Muhammad Zaki
I updated to 3.9 and now my site is broken. I get this error:
Warning: strpos() expects parameter 1 to be string, array given in /var/www/olivereggertsen.dk/julieabelstedt.dk/wp-includes/shortcodes.php on line 193
Warning: Cannot modify header information – headers already sent by (output started at /var/www/olivereggertsen.dk/julieabelstedt.dk/wp-includes/shortcodes.php:193) in /var/www/olivereggertsen.dk/julieabelstedt.dk/wp-content/plugins/yith-woocommerce-wishlist/functions.yith-wcwl.php on line 118
Warning: strpos() expects parameter 1 to be string, array given in /var/www/olivereggertsen.dk/julieabelstedt.dk/wp-includes/shortcodes.php on line 193
What should i do?
Hello!
We bring our apologies for this terrible inconvenience! We are planning to relese our update within next two days and you can be sure it will fix your problem. But we understand that it can be urgent for you, so you may fix this issue now, manually.
Edit file legenda/framework/options.php , find if($doshortcode){
(line 5) and replace by if($doshortcode && is_string(ot_get_option( $key,$setting ))){
Regards
Thank you very much for the quick answer and great service 🙂 I fixed it manually
You are welcome:)
The issue related to '‘WordPress 3.9 error’' has been successfully resolved, and the topic is now closed for further responses