I have always back this errors when flush cache or install new modules or whatever else:
Notice: Undefined property: stdClass::$data in _socialmedia_widgets_get_facebook_locales() (line 727 /Applications/AMPPS/www/… … /sites/all/modules/socialmedia/socialmedia.widgets.inc).
Notice: Trying to get property of non-object in _socialmedia_widgets_get_facebook_locales() (line 728 /Applications/AMPPS/www/… … /sites/all/modules/socialmedia/socialmedia.widgets.inc).
Warning: Invalid argument supplied for foreach() in _socialmedia_widgets_get_facebook_locales() (line 728 /Applications/AMPPS/www/… … /sites/all/modules/socialmedia/socialmedia.widgets.inc).

I have followed all issues for this module but nothing is working!
Uninstall and reinstall dev version of both modules "social media" and "widgets", but nothing works!
Can anybody tell me what to do?!
Thanks

Comments

Rory Downes’s picture

I have the same issue when I installed and enabled "jquery update" - I have not actually updated jquery - just enabled the module.
Did this get resolved?
Ta
Rory

Dries Arnolds’s picture

I've got the same issue, but I don't run the Jquery Update module.