Ready to get started?Download WordPress


WP Manage Plugins
PHP errors (patch included) (2 posts)

  1. jondaley
    Posted 2 years ago #

    As reported by various other users, there are some simple errors in this plugin causing error messages to print out in the footer, due to unassigned variables being accessed.

    (one of them gets assigned the first time you click on "ignore updates" on a plugin. I'm not sure when the other one gets assigned).

    But, it is good practice to check whether a variable is null before doing an operation on it anyway.

    Here is the fix:

    Index: inc/admin.php
    --- inc/admin.php       (revision 12654)
    +++ inc/admin.php       (working copy)
    @@ -194,11 +194,17 @@
            //BRM loop through $update_plugins pull out keys strip to 1st/ match against new array count_arr2 built from keys of count_arr  striped to 1st /
            $count_arr = get_option('plugin_update_ignore');
    +       $count_arr2 = array();
    +       if(is_array($count_arr)){
            foreach ($count_arr as $key => $value) {
    +       }
    +       $unlocked_4_update = 0;
    +       if(is_array($update_plugins)){
            foreach ($update_plugins as $v) {
    @@ -212,6 +218,7 @@
    +       }
         $total_update_count = $update_count - $locked_count;
         $js = array();


  2. RoamFree
    Posted 2 years ago #

    This plugin was last updated in 2009. Maybe it needs a little fix.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic