Error 500: Argument 1 passed to Carbon\CarbonInterval::setLocalTranslator()

The Issue

After updating, some users encounter this error:

Argument 1 passed to Carbon\CarbonInterval::setLocalTranslator() must implement interface Symfony\Component\Translation\TranslatorInterface, instance of Carbon\Translator given

Solution

  1. Replace all website files with the latest version, except the "/.env" file and "/storage/" folder. Save any modified language files to restore after the update.
  2. If step one doesn't resolve the issue, delete your "/vendor/" folder and re-upload it.

Important Note

If your server uses file caching systems (SuperCacher, OPCache, Cloudflare cache, etc.), clear that cache after updating to ensure all changes take effect properly.

Was this article helpful?

Thank you for your feedback!

Still need help? Create a support ticket

Create a Ticket

Common Issues

Mar 24, 2026