• 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

    (@jonathandejong)

    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.