Title: Server Error/PHP Warning
Last modified: September 1, 2016

---

# Server Error/PHP Warning

 *  Resolved [webauthorings](https://wordpress.org/support/users/webauthorings/)
 * (@webauthorings)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/server-errorphp-warning/)
 * While it appears to be running fine on the front end, I’m getting server errors
   for across all our servers that run AddThis Smart Layers:
 * [:error] [pid 15749] [client xx.xx.xx.xx:xxxxx] PHP Warning: Invalid argument
   supplied for foreach() in /home/xxxxxxxxx/public_html/wp-content/plugins/addthis-
   smart-layers/backend/AddThisFollowButtonsToolParent.php on line 127,
 * Your thoughts?
 * Thank you in advance.
 * [https://wordpress.org/plugins/addthis-smart-layers/](https://wordpress.org/plugins/addthis-smart-layers/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Julka Grodel](https://wordpress.org/support/users/jgrodel/)
 * (@jgrodel)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/server-errorphp-warning/#post-7581547)
 * Hi webauthorings
 * Thanks for letting us know about your issue.
 * We’ve seen this PHP warning and have a fix prepared for the next release, however,
   we try not to put out patches with nothing by fixes for PHP warnings. I’m not
   sure when the next release will go out. If you’d like to get a copy ahead of 
   time, please feel free to email us at [help@addthis.com](https://wordpress.org/support/topic/server-errorphp-warning/help@addthis.com?output_format=md).
 * Thanks,
    Julka

Viewing 1 replies (of 1 total)

The topic ‘Server Error/PHP Warning’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/addthis-smart-layers_216e9f.svg)
 * [Smart Layers by AddThis](https://wordpress.org/plugins/addthis-smart-layers/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/addthis-smart-layers/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/addthis-smart-layers/)
 * [Active Topics](https://wordpress.org/support/plugin/addthis-smart-layers/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/addthis-smart-layers/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/addthis-smart-layers/reviews/)

## Tags

 * [Invalid argument supplied for foreach()](https://wordpress.org/support/topic-tag/invalid-argument-supplied-for-foreach/)

 * 1 reply
 * 2 participants
 * Last reply from: [Julka Grodel](https://wordpress.org/support/users/jgrodel/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/server-errorphp-warning/#post-7581547)
 * Status: resolved