Title: PHP Warning: array_key_exists()
Last modified: October 16, 2018

---

# PHP Warning: array_key_exists()

 *  Resolved [wekhter](https://wordpress.org/support/users/wekhter/)
 * (@wekhter)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/php-warning-array_key_exists/)
 * When using this plugin, I’m seeing this message flooding our error logs intermittently:
 * `PHP Warning: array_key_exists() expects parameter 2 to be array, null given 
   in /wp-content/plugins/beautiful-taxonomy-filters/includes/api.php on line 64`
 * The particular line referenced is:
 * `if ( array_key_exists( 'post_type', $wp_query->query ) && '' != $wp_query->query['
   post_type'] ) {`
 * Help appreciated.

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

 *  Plugin Author [Jonathandejong](https://wordpress.org/support/users/jonathandejong/)
 * (@jonathandejong)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/php-warning-array_key_exists/#post-10787489)
 * Hi!
 * A fix has been published! v 2.4.3
 *  Thread Starter [wekhter](https://wordpress.org/support/users/wekhter/)
 * (@wekhter)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/php-warning-array_key_exists/#post-10794388)
 * Thanks for the update!

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

The topic ‘PHP Warning: array_key_exists()’ 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/)

 * 2 replies
 * 2 participants
 * Last reply from: [wekhter](https://wordpress.org/support/users/wekhter/)
 * Last activity: [7 years, 7 months ago](https://wordpress.org/support/topic/php-warning-array_key_exists/#post-10794388)
 * Status: resolved