Title: [Plugin: Facebook] PHP Errors
Last modified: August 20, 2016

---

# [Plugin: Facebook] PHP Errors

 *  Resolved [conservativereader](https://wordpress.org/support/users/conservativereader/)
 * (@conservativereader)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-facebook-php-errors/)
 * I’m receiving the following error messages on my PHP error log:
    (I’ve masked
   identifying information for now)
 * [Mon Jun 18 11:21:23 2012] [warn] [client 999.999.999.999] mod_fcgid: stderr:
   PHP Warning: Invalid argument supplied for foreach() in …/wp-content/plugins/
   facebook/fb-social-publisher.php on line 255, referer: [http://clivefestival.com/wp-admin/post.php?post=1866&action=edit&message=10](http://clivefestival.com/wp-admin/post.php?post=1866&action=edit&message=10)
   [
   Mon Jun 18 11:21:23 2012] [warn] [client 999.999.999.999] mod_fcgid: stderr: 
   PHP Warning: Invalid argument supplied for foreach() in …/wp-content/plugins/
   facebook/fb-social-publisher.php on line 297, referer: [http://clivefestival.com/wp-admin/post.php?post=1866&action=edit&message=10](http://clivefestival.com/wp-admin/post.php?post=1866&action=edit&message=10)
 * [http://wordpress.org/extend/plugins/facebook/](http://wordpress.org/extend/plugins/facebook/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Contributor [Matt Kelly (Facebook)](https://wordpress.org/support/users/mattwkelly/)
 * (@mattwkelly)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-facebook-php-errors/#post-2828982)
 * This should be resolved in the next version. Please keep your eyes peeled and
   let us know if it’s still an issue.
 *  [patv](https://wordpress.org/support/users/patv/)
 * (@patv)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-facebook-php-errors/#post-2829074)
 * Should not be breaking the execution of the code since they aren’t errors, but
   warnings.
 *  Thread Starter [conservativereader](https://wordpress.org/support/users/conservativereader/)
 * (@conservativereader)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-facebook-php-errors/#post-2829079)
 * [@patv](https://wordpress.org/support/users/patv/): Warnings are non-fatal errors,
   and can be an indication of something that may be wrong. It is common courtesy
   to let software authors know when there are problems, even warnings. As a software
   developer, I appreciate that kind of feedback.
 *  Thread Starter [conservativereader](https://wordpress.org/support/users/conservativereader/)
 * (@conservativereader)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-facebook-php-errors/#post-2829080)
 * Thanks, Matt!
 *  [patv](https://wordpress.org/support/users/patv/)
 * (@patv)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-facebook-php-errors/#post-2829085)
 * ok cool thanks!
 *  [Michelle](https://wordpress.org/support/users/webmatters/)
 * (@webmatters)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-facebook-php-errors/#post-2829091)
 * I’m receiving the same errors on my website using the Social Publisher feature.
   The blog post updated my Facebook book page the first time I published a post
   after adding the plugin, but with my most recent blog post I still got the errors
   and the post did not show up on the Facebook page as a link.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘[Plugin: Facebook] PHP Errors’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/facebook_526fac.svg)
 * [Facebook](https://wordpress.org/plugins/facebook/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/facebook/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/facebook/)
 * [Active Topics](https://wordpress.org/support/plugin/facebook/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/facebook/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/facebook/reviews/)

## Tags

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

 * 6 replies
 * 4 participants
 * Last reply from: [Michelle](https://wordpress.org/support/users/webmatters/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-facebook-php-errors/#post-2829091)
 * Status: resolved