Support » Fixing WordPress » WordPress update to 4.2.2 failed

  • Resolved an.alumno

    (@analumno)


    Hi! I would just like to ask for your assistance regarding our website. Last Monday, I updated our website to WordPress version 4.2.2 through the dashboard then UPDATE. However, after the update, something went wrong and it affected the look and content of our website. Is there a way to restore to the previous look? I still want the version updated however, I just want to fix whatever went wrong during the update.

    When I’m trying to log-in to the wp-admin It says:

    Warning: strpos() expects parameter 1 to be string, array given in /home/content/83/11650783/html/wordpress/wp-includes/shortcodes.php on line 192

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/83/11650783/html/wordpress/wp-includes/shortcodes.php:192) in /home/content/83/11650783/html/wordpress/wp-includes/pluggable.php on line 1196

    Thank you so much!

Viewing 3 replies - 1 through 3 (of 3 total)
  • I think you need to update your theme.

    You can try this fix:

    GoTo: /wp-includes/shortcodes.php line 192

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

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

    Thread Starter an.alumno

    (@analumno)

    Thank you so much!

    Your welcome.

    Please update your thread to “Resolved”

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WordPress update to 4.2.2 failed’ is closed to new replies.