• I ran the update for 4.0 and now have this warning / error about 100 times only on my home page..

    Warning: in_array() [function.in-array]: Wrong datatype for second argument in /wp-includes/formatting.php on line 324

    I deactivated all plugins and tried the 2014 theme – no joy same issue.

    I searched the forum and found nothing.. I also googled the message.. it appears to be on a lot of sites??

    Any help is appreciated!!

Viewing 7 replies - 1 through 7 (of 7 total)
  • This type of error is often caused by an incompletely updated set of WordPress files. The solution is to do a manual update.

    The complete instructions are here:
    https://codex.www.ads-software.com/Upgrading_WordPress_-_Extended_Instructions

    Thread Starter TFSLO

    (@tfslo)

    Thanks.. I manually reinstalled – still have the error..

    here is the line in the code..

    “if ( in_array( $tag, $disabled_elements ) ) {

    if ( $opening_tag ) { ”

    I think now you know why it’s always recommended to perform a full database backup before making an update.

    I hope for you this can be fixed, it looks bad for you. Only thing I can recommend is to see if you can get database snapshot taken before you messed up the update! That what spare you a lot of headache I guess!

    Don’t you have made a backup?

    Thread Starter TFSLO

    (@tfslo)

    I have backups.. but would rather find a direct fix instead of reinstalling the DB, WP and all plugins..

    I narrowed it down to the forum plugin I use.. simple press.. no other WP pages are affected and my DB is intact.. I googled the warning message and discovered that all sites that come up in the search are running the SP forum plugin.. So I have contacted the developer.

    Thanks to all who replied!

    kris3d

    (@kris3d)

    same issue here.
    Did you get a solution ?
    Thanks

    Thread Starter TFSLO

    (@tfslo)

    Yes.. I updated the Simple Press plugin and the error was fixed. The older SP plugin version was not compatible with the newer version of WP. (The documentation on the plugin pages always say “Compatible up to” That is not always the case.

    kris3d

    (@kris3d)

    Thanks ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Warning / Error after 4.0 update’ is closed to new replies.