• Hi,

    I’m continually getting this error over and over in my php error log. My site works fine and there are no error showing on the front end.

    Is it possible to narrow down this issue to a certain snippet which I added, or what is the best way to find it as I have over 40 snippets and going through them all would be quite time consuming.

    PHP Warning: in_array() expects parameter 2 to be array, null given in /www/wp-content/plugins/code-snippets-1/php/snippet-ops.php(469) : eval()’d code on line 3

    Thank you.

Viewing 1 replies (of 1 total)
  • Plugin Author Shea Bunge

    (@bungeshea)

    Using the search bar with the text in_array @line:3 should narrow down the list to only the ones that could have generated that error.

    Feel free to post the code here once you know which one it is if you’d like any tips for how to fix it.

Viewing 1 replies (of 1 total)

The topic ‘PHP Error log’ is closed to new replies.