WordPress 3.9 error - by OliverEggertsen

Solved3 replies2 participantsUpdated by Muhammad Zaki

  • Avatar: OliverEggertsen
    OliverEggertsen
    Participant

    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?

    3 Answers

    Avatar: Muhammad Zaki
    Muhammad Zaki
    Participant

    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

    Avatar: OliverEggertsen
    OliverEggertsen
    Participant

    Thank you very much for the quick answer and great service 🙂 I fixed it manually

    Avatar: Muhammad Zaki
    Muhammad Zaki
    Participant

    You are welcome:)

The issue related to '‘WordPress 3.9 error’' has been successfully resolved, and the topic is now closed for further responses