I’m having the same issue, except the line is different:
Warning: Invalid argument supplied for foreach() in /home/content/40/3844140/html/wordpress/wp-content/plugins/download-manager/admin/tpls/addons-list.php on line 237