 admin
|
Just installed the plugin on wordpress-mu 2.9.1 and noticed error logs are full of:
PHP Warning: in_array(): Wrong datatype for second argument in /wp-content/plugins/wp-manage-plugins/inc/admin.php on line 209
Is this an already reported error with a solution?
|
 admin
|
I am receiving a similiar erorr using WP 3.0. I have this plugin intalled on another blog but I am not having the same issue. I even copied over the other sites wp-admin files. I uninstalled the plugin cleared the database and tried to use the plugin again.
I continue to have the following errors.
Warning: Invalid argument supplied for foreach() in /var/www/html/payevision_com/www/wp-content/plugins/wp-manage-plugins/inc/admin.php on line 197
Warning: Invalid argument supplied for foreach() in /var/www/html/payevision_com/www/wp-content/plugins/wp-manage-plugins/inc/admin.php on line 202
|
 admin
|
After reviewing the pluginswp-manage-pluginsincadmin.php code closer the issue seems to be
get_transient
it should be
get_site_transient
there should be three in version 1.0 that you need to update. I am running WordPress 3.0
|
 admin
|
I fixed it by changing line 197 of /inc/admin.php from
<span> </span>
<div class=”sfcode”>foreach ($count_arr as $key => $value) {</div>
<div>to</div>
<span> </span>
<div class=”sfcode”>foreach ($update_plugins as $key => $value) {</div>
|