Closed jonagoldman closed 7 years ago
Thanks for report, I'll try to fix it somehow...
Fixed in 0.3.1. Update please.
working for me now. thanks!
I have same issue like @jonagoldman . I am using php 7.4 & Laravel 7.9.1. Any suggestion??
<!DOCTYPE html>
<!--
Symfony\Component\Debug\Exception\FatalThrowableError: Object of class DateTime could not be converted to string in file /Users/hendisantika/Documents/freelance/dvoretsky/scrubber-backend/vendor/lanin/laravel-api-debugger/src/Collections/QueriesCollection.php on line 120
Stack trace:
1. Symfony\Component\Debug\Exception\FatalThrowableError->() /Users/hendisantika/Documents/App/Project/vendor/lanin/laravel-api-debugger/src/Collections/QueriesCollection.php:120
2. {main}() /Users/hendisantika/Documents/App/Project/scrubber-backend/server.php:0
BTW, can you show me how to set debugger in PhpStorm @jonagoldman ???
@hendisantika this issue is 3 years old, not longer using PhpStorm. But there are a lot of articles around on how to configure the debugger.
this happens when using Laravel's Passport to generate tokens. The tokens are inserted into db as DateTime and it seems there are problems when doing
you can see in the attached screenshot that $atributes[5] and $atributes[6] are of type DateTime..