URGENT: Site is Messed-up after WordPress Update

This topic has 5 replies, 2 voices, and was last updated 10 years, 7 months ago ago by Eva Kemp

  • Avatar: reneeblundon
    reneeblundon
    Member
    April 28, 2014 at 10:26

    Hi there, I just upgraded my site to the latest WordPress and have the following error all over:

    Warning: strpos() expects parameter 1 to be string, array given in /homepages/39/d330084047/htdocs/projects/anovelidea/wp-includes/shortcodes.php on line 193

    Will you please advise as soon as humanly possible? I cannot work on the site until this is resolved.

    Also, I just downloaded the latest 2.1 Legenda files, as I have 1.9.1 installed at the moment (maybe that’s the cause of the problem??!?) Will you send me the link to the documentation and let me know how to update it without losing any of my custom settings?

    Thanks a lot!

    4 Answers
    Avatar: reneeblundon
    reneeblundon
    Member
    April 28, 2014 at 10:32

    Good news, I was able to fix it. I updated the line of the error as following

    Change:
    if ( false === strpos( $content, ‘[‘ ) ) {

    To:
    if ( false === strpos( (string) $content, ‘[‘ ) ) {

    Now if you could let me know how to update the theme without losing my settings, that would be great 🙂

    Avatar: Eva
    Eva Kemp
    Support staff
    April 28, 2014 at 12:41

    Hello,

    Did you made changes in a child theme or the original one?
    If you made changes in the original theme files, then they will be overwritten after update.
    But you can keep them in the child theme and have it updated successfully. Please refer to http://codex.wordpress.org/Child_Themes

    Regards,
    Eva Kemp.

    Avatar: reneeblundon
    reneeblundon
    Member
    April 28, 2014 at 12:56

    Hi Eva,

    It looks like I don’t have a Child Theme installed 🙁 Will check-out your documentation regarding Child Themes. Would it make sense to install a Child Theme at this point being that my site is all set-up?

    Avatar: Eva
    Eva Kemp
    Support staff
    April 28, 2014 at 13:03

    Hello,

    You need to redirect all your changes into the child theme, after that you can update the original theme without losing any changes. Also please watch the tutorial about the theme update.

    Regards,
    Eva Kemp.

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

The issue related to '‘URGENT: Site is Messed-up after WordPress Update’' 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.