Level 13
https://laracasts.com/discuss/channels/laravel/composer-update-broke-my-laravel-project
https://github.com/briannesbitt/Carbon/issues/1250
Running composer require nesbot/carbon 1.25.* is a quick fix.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Has anyone experienced the duplicate $macro issue in Laravel 5.6 Debug log isn't spitting anything else out other than the below.
PHP Fatal error: Carbon\Carbon and Illuminate\Support\Traits\Macroable define the same property ($macros) in the composition of Illuminate\Support\Carbon. However, the definition differs and is considered incompatible. Class was
composed in /vendor/laravel/framework/src/Illuminate/Support/Carbon.php on line 9
In Carbon.php line 9:
Carbon\Carbon and Illuminate\Support\Traits\Macroable define the same prope
rty ($macros) in the composition of Illuminate\Support\Carbon. However, the
definition differs and is considered incompatible. Class was composed
https://laracasts.com/discuss/channels/laravel/composer-update-broke-my-laravel-project
https://github.com/briannesbitt/Carbon/issues/1250
Running composer require nesbot/carbon 1.25.* is a quick fix.
Please or to participate in this conversation.