• Warning: Invalid argument supplied for foreach() in myforumdir\bi11i\wp-settings.php on line 113.

    I don’t understand this as I’m getting it on every blog I upgrade. Is it because of active plugins?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Yes.
    Plugins must ALWAYS be deactivated BEFORE an upgrade ??

    Thread Starter bi11i

    (@bi11i)

    is that way i’m seeing the error? i ask because i went ahead with the upgrade, and now things appear to be working fine. however, before i go too far along, I’d like to clarify that the error I was seeing was ONLY because I neglected to turn off the plugins? If i left them on during the upgrade am I doomed?

    Unfortunatelly, the upgrade instructions doesn’t say to deactivate plugins. ??

    This MUST be changed…this small error has caused no end of problems…

    Whether the plugins are deactivated or activated, I see this error message on a test 1.2.2 to 1.5 upgrade (xampp Linux). It *appears* to make no difference to the success of the upgrade either way. Anybody else got experience of this?

    Doh. The answer was in these forums all along.

    in wp-settings.php

    change ‘foreach ($current_plugins as $plugin)’

    to ‘foreach ((array)$current_plugins as $plugin)’

    Another one line edit does the trick.

    Okay, I’ve got this same error and I’ve added in the (array) in the section mentioned and I do not have any plugins activated but alas the error is still there. Is there anything else to fix this?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Warning: Invalid argument supplied for foreach() in wp-settings.php line 113’ is closed to new replies.