-
Notifications
You must be signed in to change notification settings - Fork 401
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP error : traceablePDO #528
Comments
PATCH File : maximebf/debugbar/src/DebugBar/DataCollector/PDO/TraceablePDO.php:251 ` /**
|
PHP 8.1.16 |
Also get "Use of "parent" in callables is deprecated" due to the use in bindColumn and bindParam on PHP 7.4. Fix: Replace 'parent' with 'PDOStatement' |
Close by #523 |
Already fixed |
DebugBar\DataCollector\PDO\TraceablePDO::getAccumulatedStatementsDuration(): Return value must be of type float, null returned
File : maximebf/debugbar/src/DebugBar/DataCollector/PDO/TraceablePDO.php:251
line 251 :
return array_reduce($this->executedStatements, function ($v, $s) { return $v + $s->getDuration(); });
The text was updated successfully, but these errors were encountered: