• Resolved Adam W. Warner

    (@awarner20)


    Hi Jeff,

    We just updated to 5.7.1 and are seeing this error:

    Warning: Invalid argument supplied for foreach() in /home/myuser/mysite.com/wp-content/mu-plugins/PluginOrganizerMU.class.php on line 234

    I have manually moved the PluginOrganizerMU.class.php file in an attempt to fix with no luck.

    This is also preventing me from being able to log into the site.

    Do you have any insight on what may be going on?

    https://wordpress.org/plugins/plugin-organizer/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jeff Sterup

    (@foomagoo)

    That is odd. There is an if statement that checks the global plugins variable to make sure it is an array and it has elements in it before using it in a foreach loop. So it should never get to that spot and not have an array for the foreach loop. Go to your global plugins page and hit save to save the array of global plugins to the database. Then try again.

    Thread Starter Adam W. Warner

    (@awarner20)

    Global plugins page? Can you direct me there? This is not a Multisite, it’s a single site.

    Plugin Author Jeff Sterup

    (@foomagoo)

    It’s under Plugin Organizer in the admin menu. Called Global Plugins

    Thread Starter Adam W. Warner

    (@awarner20)

    Gotcha, whoops.

    For now I have restored our site from a backup and will revisit the update process another day.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error After Updating to 5.7.1’ is closed to new replies.