[resolved] Logs filling with PHP warnings (5 posts)

  1. Logs are filling up with these warnings:

    PHP Warning: in_array() expects parameter 2 to be array, string given in /home/public_html/wp-content/plugins/wpsocialite/wpsocialite.php on line 206

    WP 3.4.2 and plugin 1.4.4


  2. Tom Morton
    Plugin Author

    Posted 2 years ago #

    Will fix asap in next release. Thank you!

  3. The line 206 warning only seems to come up if you manually insert the function to display and do not select "Manual" in the plugin settings. But then the warning points to line 415. And it's not entirely consistent.

  4. Tom Morton
    Plugin Author

    Posted 2 years ago #

    Hello All,

    Just pushed up the latest version (1.4.5), you should see it appear in your WordPress upgrade panels shortly.

    It turns out if you deselect all of the Custom Post Type display options, it leaves us with an empty field. Another contributor added this function and I didn't catch the issue. If this was left blank, in_array starts to complain.

    Its been fixed, be sure to follow up if you see any other issues.

    Thanks for all feedback and for using WPSocialite!

  5. Thanks, the update works....

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WPSocialite
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.