Title: PHP Error log
Last modified: July 26, 2021

---

# PHP Error log

 *  [lspoe2](https://wordpress.org/support/users/lspoe2/)
 * (@lspoe2)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/php-error-log-26/)
 * 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](https://wordpress.org/support/users/bungeshea/)
 * (@bungeshea)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/php-error-log-26/#post-14704856)
 * 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.

 * ![](https://ps.w.org/code-snippets/assets/icon.svg?rev=2148878)
 * [Code Snippets](https://wordpress.org/plugins/code-snippets/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/code-snippets/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/code-snippets/)
 * [Active Topics](https://wordpress.org/support/plugin/code-snippets/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/code-snippets/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/code-snippets/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Shea Bunge](https://wordpress.org/support/users/bungeshea/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/php-error-log-26/#post-14704856)
 * Status: not a support question