Title: array_key_exists() Warning
Last modified: July 30, 2017

---

# array_key_exists() Warning

 *  [thezenmonkey](https://wordpress.org/support/users/thezenmonkey/)
 * (@thezenmonkey)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/array_key_exists-warning/)
 * I’m getting a lot of Array_key_exists warnings from the plugin (80% of my error
   log)
 * PHP Warning: array_key_exists() expects parameter 2 to be array, null given in/
   htdocs/wp-content/plugins/beautiful-taxonomy-filters/includes/api.php on line
   50
    PHP message: PHP Warning: array_key_exists() expects parameter 2 to be array,
   null given in /htdocs/wp-content/plugins/beautiful-taxonomy-filters/includes/
   api.php on line 50\n’

Viewing 1 replies (of 1 total)

 *  Plugin Author [Jonathan de Jong](https://wordpress.org/support/users/jonathandejong/)
 * (@jonathandejong)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/array_key_exists-warning/#post-9365697)
 * Hi,
 * That seem to happen because $wp_query->query isn’t an array in since instances..
   did not know that could occur 🙂
 * I’ll have it fixed in the next update. In the meantime it’s not a breaking error
   so you’ll be fine (altho I understand it’s annoying).
 * I’m working on releasing a ground-up reworked version soon with cleaner faster
   code and will be sure to fix this in the process!

Viewing 1 replies (of 1 total)

The topic ‘array_key_exists() Warning’ is closed to new replies.

 * ![](https://ps.w.org/beautiful-taxonomy-filters/assets/icon-256x256.png?rev=1654967)
 * [Beautiful taxonomy filters](https://wordpress.org/plugins/beautiful-taxonomy-filters/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/beautiful-taxonomy-filters/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/beautiful-taxonomy-filters/)
 * [Active Topics](https://wordpress.org/support/plugin/beautiful-taxonomy-filters/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/beautiful-taxonomy-filters/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/beautiful-taxonomy-filters/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Jonathan de Jong](https://wordpress.org/support/users/jonathandejong/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/array_key_exists-warning/#post-9365697)
 * Status: not resolved