You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error Message: Carbon\Carbon::setLastErrors(): Argument #1 ($lastErrors) must be of type array, bool given, called in phar:///Users/nathanjames/.composer/vendor/laravel/
forge-cli/builds/forge/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php on line 98.
Description:
After each command, I am receiving the error message above. The actual commands all seem to be working as expected (eg. I can run forge ssh and get onto the server correctly, but they all show the below after running:
When running forge -h, the error message does not display.
This was the first use of composer on this machine, if that has any relevance.
There's a high chance this is something specific to my machine, but thought it'd be better to report just in case.
Update:
I've downgraded to php8.1 and the error has dissapeared - so it's definitely an issue with php8.2 compatability
Steps To Reproduce:
Install PHP 8.2
Install composer
Install forge
Following this, running even just forge gives this error, as well as running any forge command (e.g. forge server:current and forge ssh).
The text was updated successfully, but these errors were encountered:
#1
($lastErrors) must be of type array, bool given, called in phar:///Users/nathanjames/.composer/vendor/laravel/forge-cli/builds/forge/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php on line 98.
Description:
After each command, I am receiving the error message above. The actual commands all seem to be working as expected (eg. I can run
forge ssh
and get onto the server correctly, but they all show the below after running:When running
forge -h
, the error message does not display.This was the first use of composer on this machine, if that has any relevance.
There's a high chance this is something specific to my machine, but thought it'd be better to report just in case.
Update:
I've downgraded to php8.1 and the error has dissapeared - so it's definitely an issue with php8.2 compatability
Steps To Reproduce:
Following this, running even just
forge
gives this error, as well as running anyforge
command (e.g.forge server:current
andforge ssh
).The text was updated successfully, but these errors were encountered: