Skip to content

Conversation

@boserup
Copy link
Contributor

@boserup boserup commented Feb 25, 2025

The Clockwork converter will currently only ignore explain query statements. If debugbar is configured with a query limit this will yield a query statements with the info type. Without this fix, this will result in an exception, because the info statement does not contain a params key.

Info statement example:

array:2 [▼ // vendor/barryvdh/laravel-debugbar/src/Support/Clockwork/Converter.php:104
  "sql" => "
# Query soft and hard limit for Debugbar are reached. Only the first 250 queries show details. Queries after the first 500 are ignored. Limits can be raised in the config (debugbar.options.db.soft/hard_limit).
 ◀
"
  "type" => "info"
]

@barryvdh barryvdh merged commit b41bbd8 into barryvdh:master Feb 25, 2025
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants