How to debug PHP warnings?
-
Hi, first: thanks for this excellent plugin!
One small issue I ran into: my error log is being flooded with PHP warning messages. I assume they are coming from one of the code snippets but… Since there are many snippets, is there a way to find out quickly from where it is coming?
[02-Jun-2023 10:13:09 UTC] PHP Warning: Undefined variable $args in /home/xxx/xxx/wp-content/plugins/insert-headers-and-footers/includes/class-wpcode-snippet-execute.php(277) : eval()'d code on line 28 [02-Jun-2023 10:13:09 UTC] PHP Warning: Trying to access array offset on value of type null in /home/xxx/xxx/wp-content/plugins/insert-headers-and-footers/includes/class-wpcode-snippet-execute.php(277) : eval()'d code on line 28
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How to debug PHP warnings?’ is closed to new replies.