itsgoingd / clockwork

Clockwork - php dev tools in your browser - server-side component
https://underground.works/clockwork
MIT License
5.7k stars 320 forks source link

BUG with log #550

Closed wit3 closed 2 years ago

wit3 commented 2 years ago

Hi, i i try to log everything with

clock($variable);

that not is a string, receive this message.

TypeError
Psr\Log\AbstractLogger::debug(): Argument #1 ($message) must be of type Stringable|string, array given, called in /var/www/html/vendor/itsgoingd/clockwork/Clockwork/Clockwork.php on line 230

Version used Latest 5.1.2 ( same with 5.1.1 )

itsgoingd commented 2 years ago

Hey, thanks for the report. This is now fixed in master (https://github.com/itsgoingd/clockwork/pull/551) and will be released shortly.