• Resolved cloudres

    (@griotta)


    Hi there, I got a PHP Warning since 3th of December. It filled my debug.log:

    
    PHP Warning:  in_array() expects parameter 2 to be array, null given in /home/xxxxxxxx/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(353) : eval()'d code on line 4
    

    Is it relative to a snippet that I inserted? How can I understand it?

    Thanks.

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

    (@bungeshea)

    Hello,

    This error is originating from a snippet you have on your site.

    You should be able to narrow down which snippet it is by searching for in_array in the snippet search box.

    If you post the code here, I can try and help you fix the problem.

    Thread Starter cloudres

    (@griotta)

    I fixed the issue, thank you.

    Plugin Author Shea Bunge

    (@bungeshea)

    That’s great to hear – sorry I couldn’t reply sooner.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘eval()’d code on line 4’ is closed to new replies.