• Resolved bsmolyanov

    (@bsmolyanov)


    I am getting error ‘PHP message: PHP Warning: in_array() expects parameter 2 to be array, null given in /home/……./wp-content/plugins/code-snippets/php/snippet-ops.php(505) : eval()’d code on line 2

    I understand from other support threads that this means there is an error in one of the snippets.

    My questions is how to determine which snippet is throwing the error as I have about 40 active snippets?

    Your support is highly appreciated! Thank you!

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

    (@bungeshea)

    You should be able to narrow it down by doing a search for in_array @line:2. Hope this helps!

Viewing 1 replies (of 1 total)
  • The topic ‘PHP Warning: ..snippet-ops.php(505) : eval()’d code on line 2’ is closed to new replies.