WordPress 3.9 error - by OliverEggertsen

This topic has 4 replies, 2 voices, and was last updated 10 years, 7 months ago ago by Muhammad Zaki

  • Avatar: OliverEggertsen
    OliverEggertsen
    Participant
    April 18, 2014 at 12:57

    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
    Support staff
    April 18, 2014 at 13:01

    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
    April 18, 2014 at 13:05

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

    Avatar: Muhammad Zaki
    Muhammad Zaki
    Support staff
    April 18, 2014 at 14:15

    You are welcome:)

  • Viewing 4 results - 1 through 4 (of 4 total)

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

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.