TypeError Carbon\Carbon::setLastErrors(): Argument #1 ($lastErrors) must be of type array, bool given, called in /var/www/SEPOD_API/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php on line 98 at vendor/nesbot/carbon/src/Carbon/Traits/Creator.php:928 924▕ * @param array $lastErrors 925▕ * 926▕ * @return void 927▕ */ ➜ 928▕ private static function setLastErrors(array $lastErrors) 929▕ { 930▕ static::$lastErrors = $lastErrors; 931▕ } 932▕ Whoops\Exception\ErrorException Using ${var} in strings is deprecated, use {$var} instead at vendor/facade/ignition/src/SolutionProviders/MergeConflictSolutionProvider.php:52 48▕ } 49▕ 50▕ protected function getCurrentBranch(string $directory): string 51▕ { ➜ 52▕ $branch = "'".trim(shell_exec("cd ${directory}; git branch | grep \\* | cut -d ' ' -f2"))."'"; 53▕ 54▕ if ($branch === "''") { 55▕ $branch = 'current branch'; 56▕ } Symfony\Component\ErrorHandler\Error\FatalError Uncaught Whoops\Exception\ErrorException: Using ${var} in strings is deprecated, use {$var} instead in /var/www/SEPOD_API/vendor/facade/ignition/src/SolutionProviders/MergeConflictSolutionProvider.php:52 Stack trace: #0 /var/www/SEPOD_API/vendor/composer/ClassLoader.php(571): Whoops\Run->handleError() #1 /var/www/SEPOD_API/vendor/composer/ClassLoader.php(571): include() #2 /var/www/SEPOD_API/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile() #3 [internal function]: Composer\Autoload\ClassLoader->loadClass() #4 /var/www/SEPOD_API/vendor/facade/ignition/src/SolutionProviders/SolutionProviderRepository.php(50): class_implements() #5 [internal function]: Facade\Ignition\SolutionProviders\SolutionProviderRepository->Facade\Ignition\SolutionProviders\{closure}() #6 /var/www/SEPOD_API/vendor/laravel/framework/src/Illuminate/Collections/Arr.php(717): array_filter() #7 /var/www/SEPOD_API/vendor/laravel/framework/src/Illuminate/Collections/Collection.php(358): Illuminate\Support\Arr::where() #8 /var/www/SEPOD_API/vendor/facade/ignition/src/SolutionProviders/SolutionProviderRepository.php(49): Illuminate\Support\Collection->filter() #9 /var/www/SEPOD_API/vendor/nunomaduro/collision/src/Adapters/Laravel/IgnitionSolutionsRepository.php(36): Facade\Ignition\SolutionProviders\SolutionProviderRepository->getSolutionsForThrowable() #10 /var/www/SEPOD_API/vendor/nunomaduro/collision/src/Writer.php(244): NunoMaduro\Collision\Adapters\Laravel\IgnitionSolutionsRepository->getFromThrowable() #11 /var/www/SEPOD_API/vendor/nunomaduro/collision/src/Writer.php(123): NunoMaduro\Collision\Writer->renderSolution() #12 /var/www/SEPOD_API/vendor/nunomaduro/collision/src/Handler.php(39): NunoMaduro\Collision\Writer->write() #13 /var/www/SEPOD_API/vendor/filp/whoops/src/Whoops/Run.php(370): NunoMaduro\Collision\Handler->handle() #14 [internal function]: Whoops\Run->handleException() #15 {main} thrown at vendor/facade/ignition/src/SolutionProviders/MergeConflictSolutionProvider.php:52 48▕ } 49▕ 50▕ protected function getCurrentBranch(string $directory): string 51▕ { ➜ 52▕ $branch = "'".trim(shell_exec("cd ${directory}; git branch | grep \\* | cut -d ' ' -f2"))."'"; 53▕ 54▕ if ($branch === "''") { 55▕ $branch = 'current branch'; 56▕ }