Title: PHP error in widget
Last modified: August 20, 2016

---

# PHP error in widget

 *  Resolved [angelfish276](https://wordpress.org/support/users/angelfish276/)
 * (@angelfish276)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/php-error-in-widget/)
 * Yesterday’s update looks like it broke a little something in the admin widget
   area:
 * Under the post type tab in the widget it spits out this:
    Warning: in_array()[
   function.in-array]: Wrong datatype for second argument in /wp-content/plugins/
   flexible-posts-widget/flexible-posts-widget.php on line 330
 * Warning: in_array() [function.in-array]: Wrong datatype for second argument in/
   wp-content/plugins/flexible-posts-widget/flexible-posts-widget.php on line 330
 * Warning: in_array() [function.in-array]: Wrong datatype for second argument in/
   wp-content/plugins/flexible-posts-widget/flexible-posts-widget.php on line 330
 * Warning: in_array() [function.in-array]: Wrong datatype for second argument in/
   wp-content/plugins/flexible-posts-widget/flexible-posts-widget.php on line 330
 * Warning: in_array() [function.in-array]: Wrong datatype for second argument in/
   wp-content/plugins/flexible-posts-widget/flexible-posts-widget.php on line 330
 * [http://wordpress.org/extend/plugins/flexible-posts-widget/](http://wordpress.org/extend/plugins/flexible-posts-widget/)

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

 *  Plugin Author [DaveE](https://wordpress.org/support/users/dpe415/)
 * (@dpe415)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/php-error-in-widget/#post-3401357)
 * Well, that’s just crappy! Can you do me a huge favor and give this version a 
   try: [http://dpedesign.com/flexible-posts-widget-3.0.1.zip](http://dpedesign.com/flexible-posts-widget-3.0.1.zip)
 * Hopefully that will fix it. Sorry for the trouble!
 *  Plugin Author [DaveE](https://wordpress.org/support/users/dpe415/)
 * (@dpe415)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/php-error-in-widget/#post-3401617)
 * Hi angelfish276,
 * I just wanted to follow up and see if you’re still getting PHP errors. I’d love
   to hear if everything is working better now, with version 3.0.1.
 * Thanks!
 *  Plugin Author [DaveE](https://wordpress.org/support/users/dpe415/)
 * (@dpe415)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/php-error-in-widget/#post-3401685)
 * Hi angelfish276,
 * Since I haven’t heard any response, I’m going to mark this topic as resolved.
   Feel free to reply anyway if you are still having trouble. Thanks!

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

The topic ‘PHP error in widget’ is closed to new replies.

 * ![](https://ps.w.org/flexible-posts-widget/assets/icon-256x256.jpg?rev=984592)
 * [Flexible Posts Widget](https://wordpress.org/plugins/flexible-posts-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/flexible-posts-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/flexible-posts-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/flexible-posts-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/flexible-posts-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/flexible-posts-widget/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [DaveE](https://wordpress.org/support/users/dpe415/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/php-error-in-widget/#post-3401685)
 * Status: resolved