I am getting the following error on my Dashboard when activating the plugin:
Argument #2 is not an array in …/wp-content/plugins/download-manager/admin/class.WordPressDownloadManagerAdmin.php on line 130
Also, on the All Files page, the column for Quantities is misspelled “Qyantities”.
Strangely we couldn’t regenerate the issue in your side, if you could check it in your installation, we could track the proper reason, however you can fix the issue adding if(!is_array($side_dashboard)) $side_dashboard = array();
after $side_dashboard = $wp_meta_boxes['dashboard']['side']['core'];
in /download-manager/admin/class.WordPressDownloadManagerAdmin.php
But if possible please give me a temporary wp-admin login info in a private reply, I shall check and adjust it for you.
That fixes the problem.
I believe the underlying problem is that my dashboard doesn’t have a side column. so expecting it to be present was what was causing the error.
The topic ‘Errors with Dashboard widget’ is closed to new replies.