-
-
Notifications
You must be signed in to change notification settings - Fork 244
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
ErrorException in Date.php line 6: Declaration of Jenssegers\Date\Date::setTranslator() should be compatible with Carbon\Carbon::setTranslator #112
Comments
Duplicate of #108, it should already be fixed on master. |
It's still not working on my end! Tried dev-master as well, but that didn't do anything as well! My laravel 5 installation pulls in Carbon 1.18.0 The error message:
|
So I opened that class on my installation and I get this
Edit: Oke it's working now! I guess it was cached for some reason ;) Thank you for the quick update |
I created a 2.0 branch and tagged version 2.0.21 that locks down the Carbon version to <1.18. This should fix it until v3 is released. |
Thanks you :D |
So what exactly is the fix for this now? Edit: Just "composer update" seemed to have fixed it. |
The issue is still there, why is it closed? |
Because the current issue is a different one that only looks similar. |
Declaration of Jenssegers\Date\Date::diffForHumans() should be compatible with Carbon\Carbon::diffForHumans(Carbon |
Yes. Look at #280 for the current issue. This one was about a completely different method. |
Hi Jens,
I got this error on my Laravel 5 install after updating your library through composer. Any ideas?
The text was updated successfully, but these errors were encountered: