This topic has 5 replies, 2 voices, and was last updated 10 years, 7 months ago ago by Eva Kemp
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!
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 🙂
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.
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?
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.
Tagged: best selling, messed up, themes, update, urgent, woocommerce, wordpress
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