WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Issue with plugin WP-Manage-Plugins (2 posts)

  1. mistermagoo
    Member
    Posted 3 years ago #

    I have installed this plugin manager by Matt Martz … (webdevstudios.com) in my WP 3.04 multisite. What it does is: Ignore selected plugins from upgrade, hide & lock plugins page and settings page, email alert admin when plugins added/activated/deactivated/deleted.

    But on the bottom of the admin this appears:

    Warning: Invalid argument supplied for foreach() in /home/admin1/public_html/wp-content/plugins/wp-manage-plugins/inc/admin.php on line 197

    Warning: Invalid argument supplied for foreach() in /home/admin1/public_html/wp-content/plugins/wp-manage-plugins/inc/admin.php on line 202

    Can you tell me if this is bad, and if so how to fix it.

    Thanks

  2. mistermagoo
    Member
    Posted 3 years ago #

    Self solved through developers forum :)

    Here is what to do:

    Alter \plugins\wp-manage-plugins\inc\admin.php:

    find: get_transient
    change it to: get_site_transient
    (there should be 3 in version 1.0 that you need to update. I am running WP 3.04).

    then…

    change: foreach ($count_arr as $key => $value) {
    to: foreach ($update_plugins as $key => $value) {

Topic Closed

This topic has been closed to new replies.

About this Topic