Warning following plugin upgrade

Viewing 4 posts - 1 through 4 (of 4 total)
#37578

Carberry
Member

Using WordPress 4.4 and Download Manager Free 2.8.3

After upgrading a completely different plugin, the following warnings were displayed immediately after the completion of the upgrade:

Warning: array_shift() expects parameter 1 to be array, string given in /home/www/blahbalh/web/blog/wp-content/plugins/download-manager/wpdm-core.php on line 528

Warning: Invalid argument supplied for foreach() in /home/www/blahbalh/web/blog/wp-content/plugins/download-manager/wpdm-core.php on line 531

Here were the steps taken:
1. Go to Plugins ¦ Installed Plugins
2. Click on the link for displaying the plugins that can be upgraded (I forget the exact text), following: All (47) | Active (33) | Inactive (14)
(in this case, there was only one plugin to upgrade – it was NOT the download manager plugin)
3. Click on View details
4. Click on the link to upgrade that plugin
5. Give the wrong password to login
6. Return to the list of plugins to be upgraded
7. Check the box next to the plugin, then click on the link to upgrade the plugin
8. Provide the correct password to connect and execute the upgrade
9. After the upgrade is correctly performed, the above warning messages are displayed

I have idea why there should even be any calls to Download Manager code at this point, but that was evidently the case.

#37587

Shahriar
Moderator

Hi, We are aware of this issue and it will be fixed in next update. This is happening in latest WP  4.4 version, not related to your other plugin update. Thanks.

#38207

Boiron
Member

I just installed the latest update, and now my site has a php warning at the top of all pages (disappears if I deactivate Download Manager):

Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘return false;’ not found or invalid function name in […]

Can I get a previous version of the plugin so that I can still use it but not have the warning visible to all users?

#38221

Shahjada
Keymaster

Sorry for the issue, please update to 2.8.5, I’ve fixed it there. However you still can download previous version from here https://wordpress.org/plugins/download-manager/developers/

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Warning following plugin upgrade’ is closed to new replies.