-
-
Notifications
You must be signed in to change notification settings - Fork 554
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
Carbon error from REST API cacher #11492
Comments
Are you able to provide the full stack trace? |
Here is the full stack trace:
|
Thanks! Can you also provide the contents of your |
Here you go:
And this is CustomApiCacher.php:
|
We're getting this too @duncanmcclean - route included in this screenshot! |
In |
Locally: |
Hi @jasonvarga, we are experiencing the same issue when:
It seems that this issue has a global impact, and I would guess that it is related to #11348. |
We're working on a fix. |
@jbrhel Can you open a separate issue for those two? I can't reproduce errors when submitting a form, or saving column preferences. |
Bug description
I just updated to 4.48.0 and I receive this error message when accessing API routes:
Carbon\Carbon::rawAddUnit(): Argument #3 ($value) must be of type int|float, string given, called in /home/forge/{DOMAIN}/vendor/nesbot/carbon/src/Carbon/Traits/Units.php on line 356
Sentry also notified me:

How to reproduce
Simply upgrade to Statamic 5.48.0
Logs
Environment
Installation
Fresh statamic/statamic site via CLI
Additional details
No response
The text was updated successfully, but these errors were encountered: