I am unable to install Facebook plugin

this is the error i get when trying to install the fb plugin
Warning: Invalid argument supplied for foreach() in /data/22/3/85/105/3085594/user/3438286/htdocs/wordpress1/wp-content/themes/modernize-v3-00/include/plugin/filosofo-image/filosofo-custom-image-sizes.php on line 300