Title: Troubleshooting PHP error log warnings
Last modified: June 22, 2022

---

# Troubleshooting PHP error log warnings

 *  [Jon Fuller](https://wordpress.org/support/users/garconis/)
 * (@garconis)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/troubleshooting-php-error-log-warnings/)
 * Since updating to PHP 8.1 I have a PHP Warning on one of my snippets:
 * `[22-Jun-2022 17:20:08 UTC] PHP Warning: Trying to access array offset on value
   of type null in /srv/htdocs/wp-content/plugins/code-snippets/php/snippet-ops.
   php(484) : eval()'d code on line 57`
 * I realize it’s on line 57 of one of my snippets, but I can’t easily determine
   which one. I have many active snippets. Is there a way to more-easily determine
   which actual snippet is causing this?

Viewing 1 replies (of 1 total)

 *  Plugin Author [Shea Bunge](https://wordpress.org/support/users/bungeshea/)
 * (@bungeshea)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/troubleshooting-php-error-log-warnings/#post-15762451)
 * It’s a little tricky to narrow down the list, but you could try a search for `[
   @line:57` and see if that works.

Viewing 1 replies (of 1 total)

The topic ‘Troubleshooting PHP error log warnings’ 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: [3 years, 11 months ago](https://wordpress.org/support/topic/troubleshooting-php-error-log-warnings/#post-15762451)
 * Status: not a support question