Title: Error message on widget
Last modified: August 22, 2016

---

# Error message on widget

 *  Resolved [tricycler](https://wordpress.org/support/users/tricycler/)
 * (@tricycler)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/error-message-on-widget/)
 * I am getting the following error message on the IDX search widget: “Warning: 
   in_array() expects parameter 2 to be array” etc.
    Please see the website [HERE](http://catsmantelluriderealestate.com/idx/search/?PropertyType=A&OrderBy=-ListPrice&MinPrice=&MaxPrice=&City=Telluride)
   It is only on this page. I have disabled the plugins but there are some that 
   are required by the theme that I can’t disable.
 * [https://wordpress.org/plugins/flexmls-idx/](https://wordpress.org/plugins/flexmls-idx/)

Viewing 1 replies (of 1 total)

 *  [Matt_flexmlsIDX](https://wordpress.org/support/users/matt_flexmlsidx/)
 * (@matt_flexmlsidx)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/error-message-on-widget/#post-5747696)
 * tricycler,
 * The plugin error is going to be fixed in the next update to the plugin, which
   should be releasing in the next week or two here. In the meantime, one workaround
   I can suggest is to add this PHP function `error_reporting(0);`
 * to this plugin file:
    wp-content/plugins/flexmls-idx/pages/search_widget_property_types.
   php (inside the `<?php` tag).
 * This will at least remove those warnings when that part of the plugin is used(
   Propert Type field in the IDX Search widget) until we release the next update.
 * Please let me know if you have any questions,
 * Thank you

Viewing 1 replies (of 1 total)

The topic ‘Error message on widget’ is closed to new replies.

 * ![](https://ps.w.org/flexmls-idx/assets/icon.svg?rev=2617426)
 * [Flexmls® IDX Plugin](https://wordpress.org/plugins/flexmls-idx/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/flexmls-idx/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/flexmls-idx/)
 * [Active Topics](https://wordpress.org/support/plugin/flexmls-idx/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/flexmls-idx/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/flexmls-idx/reviews/)

## Tags

 * [widget](https://wordpress.org/support/topic-tag/widget/)

 * 1 reply
 * 2 participants
 * Last reply from: [Matt_flexmlsIDX](https://wordpress.org/support/users/matt_flexmlsidx/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/error-message-on-widget/#post-5747696)
 * Status: resolved