Skip to content
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

Compatibility Update for nestbot/carbon^3.0 and Fix for Type Error in Response Cache Update #469

Closed
wants to merge 1 commit into from

Conversation

eyedroot
Copy link
Contributor

@eyedroot eyedroot commented Apr 3, 2024

added compatibility for nestbot/carbon^3.0 by updating the version of carbon to ^3.0 in our project. However, during the update process, specifically when performing response caching, we encountered an error.

The dependency update in composer.json is as follows:

        "nesbot/carbon": "^2.63|^3.0",

The error encountered is detailed below:

Carbon\Carbon::rawAddUnit(): Argument #3 ($value) must be of type int|float, string given, called in /var/www/vendor/nesbot/carbon/src/Carbon/Traits/Units.php on line 356 (CODE: 0)

image

@eyedroot
Copy link
Contributor Author

eyedroot commented Apr 3, 2024

close for duplicated

@eyedroot eyedroot closed this Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant