• Hi, I ran across an error in your plugin. It seems not to affect much but thought you might want to fix it anyhow:

    Undefined index: line in …/plugins/query-monitor/collectors/php_errors.php on line 366

    I handled it by adding “$file =” in front of the line on line 366.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Thanks for the report. Are you able to determine which PHP error on the page is causing this error?

    If you’re not sure, feel free to send a screenshot of the PHP Errors panel in Query Monitor.

    Thanks!

    Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Oh this is in the fatal error handler isn’t it. If you could send me a screenshot of the fatal error output I can investigate.

    Thread Starter jkocken

    (@jkocken)

    I was debugging something else and in my wordpress debug.log I found these two errors:

    [25-Apr-2023 20:55:04 UTC] PHP Notice: Undefined index: file in /var/www/domain.com/public_html/wp-content/plugins/query-monitor/collectors/php_errors.php on line 366 [25-Apr-2023 20:55:04 UTC] PHP Notice: Undefined index: line in /var/www/domain.com/public_html/wp-content/plugins/query-monitor/collectors/php_errors.php on line 366

    • This reply was modified 1 year, 7 months ago by jkocken.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Undefined index: line in …/plugins/query-monitor/collectors/php_errors.php on’ is closed to new replies.