• Resolved geralddrissner

    (@geralddrissner)


    In certain situations, I get the following critical error as shown in my debug.log – anyone else?

    PHP Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in /www/htdocs/xxx/wp-content/plugins/code-snippets/php/snippet-ops.php(582) : eval()’d code:10

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

    (@bungeshea)

    This is an error in one of your snippets. You should be able to narrow down which one with a search of in_array @line:10

    Thread Starter geralddrissner

    (@geralddrissner)

    Thanks a lot! All is fine now. I found the error and corrected it. Sorry that I could not read the error message clearly and bothered you with this, so I even more appreciate your great support!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘critical error: ($haystack) must be of type array’ is closed to new replies.