Describe the bug
When updating the model and inserting dates there throws an exception, "Object of class Illuminate\Support\Carbon could not be converted to int", on "vendor/spatie/laravel-activitylog/src/Traits/LogsActivity.php", line 313, method attributeValuesToBeLogged(),
Versions (please complete the following information)
PHP: 8.1.26
Database: mysql8.0.35
Laravel: 9.52.15
Package: spatie/laravel-activitylog
Exception
Object of class Illuminate\Support\Carbon could not be converted to int.
Additional context
Tries to compare a number to an Carbon object !
because this issue seems to be inactive for quite some time now, I've automatically closed it. If you feel this issue deserves some attention from my human colleagues feel free to reopen it.
Describe the bug When updating the model and inserting dates there throws an exception, "Object of class Illuminate\Support\Carbon could not be converted to int", on "vendor/spatie/laravel-activitylog/src/Traits/LogsActivity.php", line 313, method attributeValuesToBeLogged(),
Versions (please complete the following information)
Exception Object of class Illuminate\Support\Carbon could not be converted to int.
Additional context Tries to compare a number to an Carbon object !