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

PHP Fatal error: During inheritance of Stringy\Stringy::count() #4897

Closed
tao opened this issue Dec 13, 2021 · 2 comments
Closed

PHP Fatal error: During inheritance of Stringy\Stringy::count() #4897

tao opened this issue Dec 13, 2021 · 2 comments
Assignees

Comments

@tao
Copy link
Contributor

tao commented Dec 13, 2021

Bug description

I've been getting an error recently when setting up the Statamic project.

$ php artisan key:generate

PHP Fatal error:  During inheritance of Countable: Uncaught ErrorException: Return type of Stringy\Stringy::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/runner/work/cms/cms/vendor/statamic/stringy/src/Stringy.php:270

How to reproduce

I am getting this error on Github actions. It's probably a PHP version incompatibility? I'm using PHP 8.0.6 locally but Github actions might be pulling PHP 8.1? I also ran into this problem on Laravel Forge.

Logs

2021-12-13T13:26:33.3251021Z ##[group]Run php artisan key:generate
2021-12-13T13:26:33.3251614Z �[36;1mphp artisan key:generate�[0m
2021-12-13T13:26:33.3301855Z shell: /usr/bin/bash -e {0}
2021-12-13T13:26:33.3302281Z ##[endgroup]
2021-12-13T13:26:33.4666757Z PHP Fatal error:  During inheritance of Countable: Uncaught ErrorException: Return type of Stringy\Stringy::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/runner/work/cms/cms/vendor/statamic/stringy/src/Stringy.php:270
2021-12-13T13:26:33.4668540Z Stack trace:
2021-12-13T13:26:33.4670291Z #0 /home/runner/work/cms/cms/vendor/statamic/stringy/src/Stringy.php(13): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
2021-12-13T13:26:33.4671757Z #1 /home/runner/work/cms/cms/vendor/composer/ClassLoader.php(571): include('...')
2021-12-13T13:26:33.4672931Z #2 /home/runner/work/cms/cms/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile()
2021-12-13T13:26:33.4674155Z #3 [internal function]: Composer\Autoload\ClassLoader->loadClass()
2021-12-13T13:26:33.4675311Z #4 /home/runner/work/cms/cms/vendor/statamic/stringy/src/StaticStringy.php(123): ReflectionClass->__construct()
2021-12-13T13:26:33.4676319Z #5 [internal function]: Stringy\StaticStringy::__callStatic()
2021-12-13T13:26:33.4677097Z #6 /home/runner/work/cms/cms/vendor/statamic/cms/src/Support/Str.php(15): call_user_func_array()
2021-12-13T13:26:33.4678040Z #7 /home/runner/work/cms/cms/vendor/statamic/cms/src/Fields/Fieldtype.php(65): Statamic\Support\Str::__callStatic()
2021-12-13T13:26:33.4679135Z #8 /home/runner/work/cms/cms/vendor/statamic/cms/src/Extend/RegistersItself.php(13): Statamic\Fields\Fieldtype::handle()
2021-12-13T13:26:33.4680373Z #9 /home/runner/work/cms/cms/vendor/laravel/framework/src/Illuminate/Support/helpers.php(377): Statamic\Fields\Fieldtype::Statamic\Extend\{closure}()
2021-12-13T13:26:33.4681478Z #10 /home/runner/work/cms/cms/vendor/statamic/cms/src/Extend/RegistersItself.php(22): with()
2021-12-13T13:26:33.4682691Z #11 /home/runner/work/cms/cms/vendor/statamic/cms/src/Providers/ExtensionServiceProvider.php(263): Statamic\Fields\Fieldtype::register()
2021-12-13T13:26:33.4684714Z #12 /home/runner/work/cms/cms/vendor/statamic/cms/src/Providers/ExtensionServiceProvider.php(246): Statamic\Providers\ExtensionServiceProvider->registerCoreExtensions()
2021-12-13T13:26:33.4686968Z #13 /home/runner/work/cms/cms/vendor/statamic/cms/src/Providers/ExtensionServiceProvider.php(194): Statamic\Providers\ExtensionServiceProvider->registerExtensions()
2021-12-13T13:26:33.4689004Z #14 /home/runner/work/cms/cms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(672): Statamic\Providers\ExtensionServiceProvider->register()
2021-12-13T13:26:33.4691195Z #15 /home/runner/work/cms/cms/vendor/laravel/framework/src/Illuminate/Support/AggregateServiceProvider.php(31): Illuminate\Foundation\Application->register()
2021-12-13T13:26:33.4693071Z #16 /home/runner/work/cms/cms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(672): Illuminate\Support\AggregateServiceProvider->register()
2021-12-13T13:26:33.4694893Z #17 /home/runner/work/cms/cms/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php(75): Illuminate\Foundation\Application->register()
2021-12-13T13:26:33.4696611Z #18 /home/runner/work/cms/cms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(649): Illuminate\Foundation\ProviderRepository->load()
2021-12-13T13:26:33.4698904Z #19 /home/runner/work/cms/cms/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterProviders.php(17): Illuminate\Foundation\Application->registerConfiguredProviders()
2021-12-13T13:26:33.4700929Z #20 /home/runner/work/cms/cms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(237): Illuminate\Foundation\Bootstrap\RegisterProviders->bootstrap()
2021-12-13T13:26:33.4702819Z #21 /home/runner/work/cms/cms/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(310): Illuminate\Foundation\Application->bootstrapWith()
2021-12-13T13:26:33.4704449Z #22 /home/runner/work/cms/cms/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(127): Illuminate\Foundation\Console\Kernel->bootstrap()
2021-12-13T13:26:33.4705737Z #23 /home/runner/work/cms/cms/artisan(37): Illuminate\Foundation\Console\Kernel->handle()
2021-12-13T13:26:33.4706579Z #24 {main} in /home/runner/work/cms/cms/vendor/statamic/stringy/src/Stringy.php on line 13
2021-12-13T13:26:33.4707166Z PHP Stack trace:
2021-12-13T13:26:33.4707644Z PHP   1. {main}() /home/runner/work/cms/cms/artisan:0
2021-12-13T13:26:33.4745803Z PHP   2. Illuminate\Foundation\Console\Kernel->handle($input = class Symfony\Component\Console\Input\ArgvInput { protected $definition = class Symfony\Component\Console\Input\InputDefinition { private $arguments = [...]; private $requiredCount = 0; private $lastArrayArgument = NULL; private $lastOptionalArgument = NULL; private $options = [...]; private $negations = [...]; private $shortcuts = [...] }; protected $stream = NULL; protected $options = []; protected $arguments = []; protected $interactive = TRUE; private $tokens = [0 => 'key:generate']; private $parsed = NULL }, $output = class Symfony\Component\Console\Output\ConsoleOutput { private ${Symfony\Component\Console\Output\Output}verbosity = 32; private ${Symfony\Component\Console\Output\Output}formatter = class Symfony\Component\Console\Formatter\OutputFormatter { private $decorated = FALSE; private $styles = [...]; private $styleStack = class Symfony\Component\Console\Formatter\OutputFormatterStyleStack { ... } }; private ${Symfony\Component\Console\Output\StreamOutput}stream = resource(93) of type (stream); private $stderr = class Symfony\Component\Console\Output\StreamOutput { private ${Symfony\Component\Console\Output\Output}verbosity = 32; private ${Symfony\Component\Console\Output\Output}formatter = class Symfony\Component\Console\Formatter\OutputFormatter { ... }; private $stream = resource(102) of type (stream) }; private $consoleSectionOutputs = [] }) /home/runner/work/cms/cms/artisan:37
2021-12-13T13:26:33.4752538Z PHP   3. Illuminate\Foundation\Console\Kernel->bootstrap() /home/runner/work/cms/cms/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php:127
2021-12-13T13:26:33.4756455Z PHP   4. Illuminate\Foundation\Application->bootstrapWith($bootstrappers = [0 => 'Illuminate\\Foundation\\Bootstrap\\LoadEnvironmentVariables', 1 => 'Illuminate\\Foundation\\Bootstrap\\LoadConfiguration', 2 => 'Illuminate\\Foundation\\Bootstrap\\HandleExceptions', 3 => 'Illuminate\\Foundation\\Bootstrap\\RegisterFacades', 4 => 'Illuminate\\Foundation\\Bootstrap\\SetRequestForConsole', 5 => 'Illuminate\\Foundation\\Bootstrap\\RegisterProviders', 6 => 'Illuminate\\Foundation\\Bootstrap\\BootProviders']) /home/runner/work/cms/cms/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php:310
2021-12-13T13:26:33.4848371Z PHP   5. Illuminate\Foundation\Bootstrap\RegisterProviders->bootstrap($app = class Illuminate\Foundation\Application { protected $resolved = ['events' => TRUE, 'App\Console\Kernel' => TRUE, 'Illuminate\Contracts\Console\Kernel' => TRUE, 'Illuminate\Foundation\Bootstrap\LoadEnvironmentVariables' => TRUE, 'Illuminate\Foundation\Bootstrap\LoadConfiguration' => TRUE, 'Illuminate\Foundation\Bootstrap\HandleExceptions' => TRUE, 'env' => TRUE, 'Illuminate\Foundation\Bootstrap\RegisterFacades' => TRUE, 'Illuminate\Foundation\PackageManifest' => TRUE, 'Illuminate\Foundation\Bootstrap\SetRequestForConsole' => TRUE, 'Illuminate\Foundation\Bootstrap\RegisterProviders' => TRUE, 'files' => TRUE, 'router' => TRUE, 'Facade\Ignition\DumpRecorder\DumpRecorder' => TRUE, 'flare.http' => TRUE, 'Facade\FlareClient\Flare' => TRUE, 'Facade\Ignition\Middleware\SetNotifierName' => TRUE, 'Facade\Ignition\Middleware\AddEnvironmentInformation' => TRUE, 'Facade\Ignition\LogRecorder\LogRecorder' => TRUE, 'Facade\Ignition\Middleware\AddLogs' => TRUE, 'Facade\Ignition\Middleware\AddDumps' => TRUE, 'Facade\Ignition\QueryRecorder\QueryRecorder' => TRUE, 'Facade\Ignition\Middleware\AddQueries' => TRUE, 'Facade\IgnitionContracts\SolutionProviderRepository' => TRUE, 'Facade\Ignition\Middleware\AddSolutions' => TRUE, 'Facade\Ignition\JobRecorder\JobRecorder' => TRUE, 'Facade\Ignition\Middleware\AddJobInformation' => TRUE, 'App\Exceptions\Handler' => TRUE, 'Illuminate\Contracts\Debug\ExceptionHandler' => TRUE]; protected $bindings = ['Illuminate\Foundation\Mix' => [...], 'Illuminate\Foundation\PackageManifest' => [...], 'events' => [...], 'log' => [...], 'router' => [...], 'url' => [...], 'redirect' => [...], 'Psr\Http\Message\ServerRequestInterface' => [...], 'Psr\Http\Message\ResponseInterface' => [...], 'Illuminate\Contracts\Routing\ResponseFactory' => [...], 'Illuminate\Routing\Contracts\ControllerDispatcher' => [...], 'Illuminate\Contracts\Http\Kernel' => [...], 'Illuminate\Contracts\Console\Kernel' => [...], 'Illuminate\Contracts\Debug\ExceptionHandler' => [...], 'env' => [...], 'auth' => [...], 'auth.driver' => [...], 'Illuminate\Contracts\Auth\Authenticatable' => [...], 'Illuminate\Contracts\Auth\Access\Gate' => [...], 'Illuminate\Auth\Middleware\RequirePassword' => [...], 'cookie' => [...], 'db.factory' => [...], 'db' => [...], 'db.connection' => [...], 'db.transactions' => [...], 'Faker\Generator' => [...], 'Illuminate\Contracts\Queue\EntityResolver' => [...], 'encrypter' => [...], 'files' => [...], 'filesystem' => [...], 'filesystem.disk' => [...], 'filesystem.cloud' => [...], 'Illuminate\Testing\ParallelTesting' => [...], 'Illuminate\Notifications\ChannelManager' => [...], 'session' => [...], 'session.store' => [...], 'Illuminate\Session\Middleware\StartSession' => [...], 'view' => [...], 'view.finder' => [...], 'blade.compiler' => [...], 'view.engine.resolver' => [...], 'PHPFile' => [...], 'LaravelFile' => [...], 'Archetype\Facades\Project' => [...], 'Barryvdh\Debugbar\LaravelDebugbar' => [...], 'command.debugbar.clear' => [...], 'Facade\IgnitionContracts\SolutionProviderRepository' => [...], 'Facade\Ignition\ErrorPage\Renderer' => [...], 'Whoops\Handler\HandlerInterface' => [...], 'Facade\Ignition\IgnitionConfig' => [...], 'flare.http' => [...], 'Facade\Ignition\Support\SentReports' => [...], 'Facade\FlareClient\Flare' => [...], 'Facade\Ignition\DumpRecorder\DumpRecorder' => [...], 'Facade\Ignition\JobRecorder\JobRecorder' => [...], 'Facade\Ignition\LogRecorder\LogRecorder' => [...], 'Facade\Ignition\QueryRecorder\QueryRecorder' => [...], 'Asm89\Stack\CorsService' => [...], 'image' => [...], 'MeiliSearch\Client' => [...], 'Laravel\Scout\EngineManager' => [...], 'NunoMaduro\Collision\Contracts\Provider' => [...], 'graphql' => [...], 'Statamic\View\Store' => [...], 'Statamic\View\Cascade' => [...], 'Statamic\View\Antlers\Parser' => [...], 'Statamic\View\Antlers\Engine' => [...], 'Statamic\Sites\Sites' => [...], 'Statamic\Contracts\Entries\EntryRepository' => [...], 'Statamic\Contracts\Entries\Entry' => [...], 'Statamic\Contracts\Entries\QueryBuilder' => [...], 'Statamic\Contracts\Taxonomies\TermRepository' => [...], 'Statamic\Contracts\Taxonomies\Term' => [...], 'Statamic\Contracts\Taxonomies\TaxonomyRepository' => [...], 'Statamic\Contracts\Taxonomies\Taxonomy' => [...], 'Statamic\Contracts\Entries\CollectionRepository' => [...], 'Statamic\Contracts\Entries\Collection' => [...], 'Statamic\Contracts\Globals\GlobalRepository' => [...], 'Statamic\Contracts\Globals\GlobalSet' => [...], 'Statamic\Contracts\Assets\AssetContainerRepository' => [...], 'Statamic\Contracts\Assets\AssetContainer' => [...], 'Statamic\Contracts\Structures\StructureRepository' => [...], 'Statamic\Contracts\Structures\CollectionTreeRepository' => [...], 'Statamic\Contracts\Structures\NavTreeRepository' => [...], 'Statamic\Contracts\Structures\NavigationRepository' => [...], 'Statamic\Contracts\Structures\Nav' => [...], 'Statamic\Contracts\Assets\AssetRepository' => [...], 'Statamic\Contracts\Assets\Asset' => [...], 'Statamic\Contracts\Assets\QueryBuilder' => [...], 'Statamic\Contracts\Forms\FormRepository' => [...], 'Statamic\Contracts\Forms\Form' => [...], 'Statamic\Contracts\Forms\Submission' => [...], 'Statamic\Contracts\Data\DataRepository' => [...], 'Statamic\Fields\BlueprintRepository' => [...], 'Statamic\Fields\FieldsetRepository' => [...], 'Statamic\Filesystem\FilesystemAdapter' => [...], 'filesystems.paths.standard' => [...], 'filesystems.paths.content' => [...], 'filesystems.paths.resources' => [...], 'filesystems.paths.users' => [...], 'filesystems.paths.storage' => [...], 'statamic.actions' => [...], 'statamic.fieldtypes' => [...]]; protected $methodBindings = []; protected $instances = ['path' => '/home/runner/work/cms/cms/app', 'path.base' => '/home/runner/work/cms/cms', 'path.lang' => '/home/runner/work/cms/cms/resources/lang', 'path.config' => '/home/runner/work/cms/cms/config', 'path.public' => '/home/runner/work/cms/cms/public', 'path.storage' => '/home/runner/work/cms/cms/storage', 'path.database' => '/home/runner/work/cms/cms/database', 'path.resources' => '/home/runner/work/cms/cms/resources', 'path.bootstrap' => '/home/runner/work/cms/cms/bootstrap', 'app' => ..., 'Illuminate\Container\Container' => ..., 'events' => class Illuminate\Events\Dispatcher { ... }, 'Illuminate\Contracts\Console\Kernel' => class App\Console\Kernel { ... }, 'config' => class Illuminate\Config\Repository { ... }, 'Illuminate\Foundation\PackageManifest' => class Illuminate\Foundation\PackageManifest { ... }, 'request' => class Illuminate\Http\Request { ... }, 'files' => class Illuminate\Filesystem\Filesystem { ... }, 'router' => class Illuminate\Routing\Router { ... }, 'Facade\Ignition\DumpRecorder\DumpRecorder' => class Facade\Ignition\DumpRecorder\DumpRecorder { ... }, 'flare.http' => class Facade\FlareClient\Http\Client { ... }, 'Facade\FlareClient\Flare' => class Facade\FlareClient\Flare { ... }, 'Facade\Ignition\LogRecorder\LogRecorder' => class Facade\Ignition\LogRecorder\LogRecorder { ... }, 'Facade\Ignition\QueryRecorder\QueryRecorder' => class Facade\Ignition\QueryRecorder\QueryRecorder { ... }, 'Facade\IgnitionContracts\SolutionProviderRepository' => class Facade\Ignition\SolutionProviders\SolutionProviderRepository { ... }, 'Facade\Ignition\JobRecorder\JobRecorder' => class Facade\Ignition\JobRecorder\JobRecorder { ... }, 'Illuminate\Contracts\Debug\ExceptionHandler' => class NunoMaduro\Collision\Adapters\Laravel\ExceptionHandler { ... }, 'statamic.extensions' => class Illuminate\Support\Collection { ... }]; protected $scopedInstances = []; protected $aliases = ['Illuminate\Foundation\Application' => 'app', 'Illuminate\Contracts\Container\Container' => 'app', 'Illuminate\Contracts\Foundation\Application' => 'app', 'Psr\Container\ContainerInterface' => 'app', 'Illuminate\Auth\AuthManager' => 'auth', 'Illuminate\Contracts\Auth\Factory' => 'auth', 'Illuminate\Contracts\Auth\Guard' => 'auth.driver', 'Illuminate\View\Compilers\BladeCompiler' => 'blade.compiler', 'Illuminate\Cache\CacheManager' => 'cache', 'Illuminate\Contracts\Cache\Factory' => 'cache', 'Illuminate\Cache\Repository' => 'cache.store', 'Illuminate\Contracts\Cache\Repository' => 'cache.store', 'Psr\SimpleCache\CacheInterface' => 'cache.store', 'Symfony\Component\Cache\Adapter\Psr16Adapter' => 'cache.psr6', 'Symfony\Component\Cache\Adapter\AdapterInterface' => 'cache.psr6', 'Psr\Cache\CacheItemPoolInterface' => 'cache.psr6', 'Illuminate\Config\Repository' => 'config', 'Illuminate\Contracts\Config\Repository' => 'config', 'Illuminate\Cookie\CookieJar' => 'cookie', 'Illuminate\Contracts\Cookie\Factory' => 'cookie', 'Illuminate\Contracts\Cookie\QueueingFactory' => 'cookie', 'Illuminate\Database\DatabaseManager' => 'db', 'Illuminate\Database\ConnectionResolverInterface' => 'db', 'Illuminate\Database\Connection' => 'db.connection', 'Illuminate\Database\ConnectionInterface' => 'db.connection', 'Illuminate\Encryption\Encrypter' => 'encrypter', 'Illuminate\Contracts\Encryption\Encrypter' => 'encrypter', 'Illuminate\Contracts\Encryption\StringEncrypter' => 'encrypter', 'Illuminate\Events\Dispatcher' => 'events', 'Illuminate\Contracts\Events\Dispatcher' => 'events', 'Illuminate\Filesystem\Filesystem' => 'files', 'Illuminate\Filesystem\FilesystemManager' => 'filesystem', 'Illuminate\Contracts\Filesystem\Factory' => 'filesystem', 'Illuminate\Contracts\Filesystem\Filesystem' => 'filesystem.disk', 'Illuminate\Contracts\Filesystem\Cloud' => 'filesystem.cloud', 'Illuminate\Hashing\HashManager' => 'hash', 'Illuminate\Contracts\Hashing\Hasher' => 'hash.driver', 'Illuminate\Translation\Translator' => 'translator', 'Illuminate\Contracts\Translation\Translator' => 'translator', 'Illuminate\Log\LogManager' => 'log', 'Psr\Log\LoggerInterface' => 'log', 'Illuminate\Mail\MailManager' => 'mail.manager', 'Illuminate\Contracts\Mail\Factory' => 'mail.manager', 'Illuminate\Mail\Mailer' => 'mailer', 'Illuminate\Contracts\Mail\Mailer' => 'mailer', 'Illuminate\Contracts\Mail\MailQueue' => 'mailer', 'Illuminate\Auth\Passwords\PasswordBrokerManager' => 'auth.password', 'Illuminate\Contracts\Auth\PasswordBrokerFactory' => 'auth.password', 'Illuminate\Auth\Passwords\PasswordBroker' => 'auth.password.broker', 'Illuminate\Contracts\Auth\PasswordBroker' => 'auth.password.broker', 'Illuminate\Queue\QueueManager' => 'queue', 'Illuminate\Contracts\Queue\Factory' => 'queue', 'Illuminate\Contracts\Queue\Monitor' => 'queue', 'Illuminate\Contracts\Queue\Queue' => 'queue.connection', 'Illuminate\Queue\Failed\FailedJobProviderInterface' => 'queue.failer', 'Illuminate\Routing\Redirector' => 'redirect', 'Illuminate\Redis\RedisManager' => 'redis', 'Illuminate\Contracts\Redis\Factory' => 'redis', 'Illuminate\Redis\Connections\Connection' => 'redis.connection', 'Illuminate\Contracts\Redis\Connection' => 'redis.connection', 'Illuminate\Http\Request' => 'request', 'Symfony\Component\HttpFoundation\Request' => 'request', 'Illuminate\Routing\Router' => 'router', 'Illuminate\Contracts\Routing\Registrar' => 'router', 'Illuminate\Contracts\Routing\BindingRegistrar' => 'router', 'Illuminate\Session\SessionManager' => 'session', 'Illuminate\Session\Store' => 'session.store', 'Illuminate\Contracts\Session\Session' => 'session.store', 'Illuminate\Routing\UrlGenerator' => 'url', 'Illuminate\Contracts\Routing\UrlGenerator' => 'url', 'Illuminate\Validation\Factory' => 'validator', 'Illuminate\Contracts\Validation\Factory' => 'validator', 'Illuminate\View\Factory' => 'view', 'Illuminate\Contracts\View\Factory' => 'view', 'Illuminate\Contracts\Notifications\Dispatcher' => 'Illuminate\\Notifications\\ChannelManager', 'Illuminate\Contracts\Notifications\Factory' => 'Illuminate\\Notifications\\ChannelManager', 'DebugBar\DataFormatter\DataFormatterInterface' => 'DebugBar\\DataFormatter\\DataFormatter', 'debugbar' => 'Barryvdh\\Debugbar\\LaravelDebugbar', 'Facade\FlareClient\Http\Client' => 'flare.http', 'Intervention\Image\ImageManager' => 'image']; protected $abstractAliases = ['app' => [...], 'auth' => [...], 'auth.driver' => [...], 'blade.compiler' => [...], 'cache' => [...], 'cache.store' => [...], 'cache.psr6' => [...], 'config' => [...], 'cookie' => [...], 'db' => [...], 'db.connection' => [...], 'encrypter' => [...], 'events' => [...], 'files' => [...], 'filesystem' => [...], 'filesystem.disk' => [...], 'filesystem.cloud' => [...], 'hash' => [...], 'hash.driver' => [...], 'translator' => [...], 'log' => [...], 'mail.manager' => [...], 'mailer' => [...], 'auth.password' => [...], 'auth.password.broker' => [...], 'queue' => [...], 'queue.connection' => [...], 'queue.failer' => [...], 'redirect' => [...], 'redis' => [...], 'redis.connection' => [...], 'request' => [...], 'router' => [...], 'session' => [...], 'session.store' => [...], 'url' => [...], 'validator' => [...], 'view' => [...], 'Illuminate\Notifications\ChannelManager' => [...], 'DebugBar\DataFormatter\DataFormatter' => [...], 'Barryvdh\Debugbar\LaravelDebugbar' => [...], 'flare.http' => [...], 'image' => [...]]; protected $extenders = ['url' => [...], 'view.engine.resolver' => [...]]; protected $tags = []; protected $buildStack = []; protected $with = []; public $contextual = []; protected $reboundCallbacks = ['request' => [...], 'events' => [...]]; protected $globalBeforeResolvingCallbacks = []; protected $globalResolvingCallbacks = []; protected $globalAfterResolvingCallbacks = []; protected $beforeResolvingCallbacks = []; protected $resolvingCallbacks = []; protected $afterResolvingCallbacks = ['graphql' => [...]]; protected $basePath = '/home/runner/work/cms/cms'; protected $hasBeenBootstrapped = TRUE; protected $booted = FALSE; protected $bootingCallbacks = [0 => class Closure { virtual $closure = "$this->Statamic\Providers\{closure}", ... }]; protected $bootedCallbacks = [0 => class Closure { virtual $closure = "$this->Illuminate\Foundation\Console\{closure}", ... }]; protected $terminatingCallbacks = []; protected $serviceProviders = [0 => class Illuminate\Events\EventServiceProvider { ... }, 1 => class Illuminate\Log\LogServiceProvider { ... }, 2 => class Illuminate\Routing\RoutingServiceProvider { ... }, 3 => class Illuminate\Auth\AuthServiceProvider { ... }, 4 => class Illuminate\Cookie\CookieServiceProvider { ... }, 5 => class Illuminate\Database\DatabaseServiceProvider { ... }, 6 => class Illuminate\Encryption\EncryptionServiceProvider { ... }, 7 => class Illuminate\Filesystem\FilesystemServiceProvider { ... }, 8 => class Illuminate\Foundation\Providers\FormRequestServiceProvider { ... }, 9 => class Illuminate\Testing\ParallelTestingServiceProvider { ... }, 10 => class Illuminate\Foundation\Providers\FoundationServiceProvider { ... }, 11 => class Illuminate\Notifications\NotificationServiceProvider { ... }, 12 => class Illuminate\Pagination\PaginationServiceProvider { ... }, 13 => class Illuminate\Session\SessionServiceProvider { ... }, 14 => class Illuminate\View\ViewServiceProvider { ... }, 15 => class Archetype\ServiceProvider { ... }, 16 => class Barryvdh\Debugbar\ServiceProvider { ... }, 17 => class Elvenstar\StatamicMeiliSearch\ServiceProvider { ... }, 18 => class Facade\Ignition\IgnitionServiceProvider { ... }, 19 => class Fideloper\Proxy\TrustedProxyServiceProvider { ... }, 20 => class Fruitcake\Cors\CorsServiceProvider { ... }, 21 => class Intervention\Image\ImageServiceProvider { ... }, 22 => class Laravel\Scout\ScoutServiceProvider { ... }, 23 => class Carbon\Laravel\ServiceProvider { ... }, 24 => class NunoMaduro\Collision\Adapters\Laravel\CollisionServiceProvider { ... }, 25 => class Rebing\GraphQL\GraphQLServiceProvider { ... }, 26 => class Statamic\Providers\IgnitionServiceProvider { ... }, 27 => class Statamic\Providers\ViewServiceProvider { ... }, 28 => class Statamic\Providers\AppServiceProvider { ... }, 29 => class Statamic\Providers\ConsoleServiceProvider { ... }, 30 => class Statamic\Providers\CollectionsServiceProvider { ... }, 31 => class Statamic\Providers\CacheServiceProvider { ... }, 32 => class Statamic\Providers\FilesystemServiceProvider { ... }]; protected $loadedProviders = ['Illuminate\Events\EventServiceProvider' => TRUE, 'Illuminate\Log\LogServiceProvider' => TRUE, 'Illuminate\Routing\RoutingServiceProvider' => TRUE, 'Illuminate\Auth\AuthServiceProvider' => TRUE, 'Illuminate\Cookie\CookieServiceProvider' => TRUE, 'Illuminate\Database\DatabaseServiceProvider' => TRUE, 'Illuminate\Encryption\EncryptionServiceProvider' => TRUE, 'Illuminate\Filesystem\FilesystemServiceProvider' => TRUE, 'Illuminate\Foundation\Providers\FormRequestServiceProvider' => TRUE, 'Illuminate\Testing\ParallelTestingServiceProvider' => TRUE, 'Illuminate\Foundation\Providers\FoundationServiceProvider' => TRUE, 'Illuminate\Notifications\NotificationServiceProvider' => TRUE, 'Illuminate\Pagination\PaginationServiceProvider' => TRUE, 'Illuminate\Session\SessionServiceProvider' => TRUE, 'Illuminate\View\ViewServiceProvider' => TRUE, 'Archetype\ServiceProvider' => TRUE, 'Barryvdh\Debugbar\ServiceProvider' => TRUE, 'Elvenstar\StatamicMeiliSearch\ServiceProvider' => TRUE, 'Facade\Ignition\IgnitionServiceProvider' => TRUE, 'Fideloper\Proxy\TrustedProxyServiceProvider' => TRUE, 'Fruitcake\Cors\CorsServiceProvider' => TRUE, 'Intervention\Image\ImageServiceProvider' => TRUE, 'Laravel\Scout\ScoutServiceProvider' => TRUE, 'Carbon\Laravel\ServiceProvider' => TRUE, 'NunoMaduro\Collision\Adapters\Laravel\CollisionServiceProvider' => TRUE, 'Rebing\GraphQL\GraphQLServiceProvider' => TRUE, 'Statamic\Providers\IgnitionServiceProvider' => TRUE, 'Statamic\Providers\ViewServiceProvider' => TRUE, 'Statamic\Providers\AppServiceProvider' => TRUE, 'Statamic\Providers\ConsoleServiceProvider' => TRUE, 'Statamic\Providers\CollectionsServiceProvider' => TRUE, 'Statamic\Providers\CacheServiceProvider' => TRUE, 'Statamic\Providers\FilesystemServiceProvider' => TRUE]; protected $deferredServices = []; protected $appPath = NULL; protected $databasePath = NULL; protected $langPath = NULL; protected $storagePath = NULL; protected $environmentPath = NULL; protected $environmentFile = '.env'; protected $isRunningInConsole = TRUE; protected $namespace = NULL; protected $absoluteCachePathPrefixes = [0 => '/', 1 => '\\'] }) /home/runner/work/cms/cms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:237
2021-12-13T13:26:33.4943959Z PHP   6. Illuminate\Foundation\Application->registerConfiguredProviders() /home/runner/work/cms/cms/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterProviders.php:17
2021-12-13T13:26:33.4958205Z PHP   7. Illuminate\Foundation\ProviderRepository->load($providers = [0 => 'Illuminate\\Auth\\AuthServiceProvider', 1 => 'Illuminate\\Broadcasting\\BroadcastServiceProvider', 2 => 'Illuminate\\Bus\\BusServiceProvider', 3 => 'Illuminate\\Cache\\CacheServiceProvider', 4 => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider', 5 => 'Illuminate\\Cookie\\CookieServiceProvider', 6 => 'Illuminate\\Database\\DatabaseServiceProvider', 7 => 'Illuminate\\Encryption\\EncryptionServiceProvider', 8 => 'Illuminate\\Filesystem\\FilesystemServiceProvider', 9 => 'Illuminate\\Foundation\\Providers\\FoundationServiceProvider', 10 => 'Illuminate\\Hashing\\HashServiceProvider', 11 => 'Illuminate\\Mail\\MailServiceProvider', 12 => 'Illuminate\\Notifications\\NotificationServiceProvider', 13 => 'Illuminate\\Pagination\\PaginationServiceProvider', 14 => 'Illuminate\\Pipeline\\PipelineServiceProvider', 15 => 'Illuminate\\Queue\\QueueServiceProvider', 16 => 'Illuminate\\Redis\\RedisServiceProvider', 17 => 'Illuminate\\Auth\\Passwords\\PasswordResetServiceProvider', 18 => 'Illuminate\\Session\\SessionServiceProvider', 19 => 'Illuminate\\Translation\\TranslationServiceProvider', 20 => 'Illuminate\\Validation\\ValidationServiceProvider', 21 => 'Illuminate\\View\\ViewServiceProvider', 22 => 'Archetype\\ServiceProvider', 23 => 'Barryvdh\\Debugbar\\ServiceProvider', 24 => 'Elvenstar\\StatamicMeiliSearch\\ServiceProvider', 25 => 'Facade\\Ignition\\IgnitionServiceProvider', 26 => 'Fideloper\\Proxy\\TrustedProxyServiceProvider', 27 => 'Fruitcake\\Cors\\CorsServiceProvider', 28 => 'Intervention\\Image\\ImageServiceProvider', 29 => 'Laravel\\Scout\\ScoutServiceProvider', 30 => 'Laravel\\Tinker\\TinkerServiceProvider', 31 => 'Carbon\\Laravel\\ServiceProvider', 32 => 'NunoMaduro\\Collision\\Adapters\\Laravel\\CollisionServiceProvider', 33 => 'Rebing\\GraphQL\\GraphQLServiceProvider', 34 => 'Statamic\\Providers\\StatamicServiceProvider', 35 => 'Statamic\\StaticSite\\ServiceProvider', 36 => 'Wilderborn\\Partyline\\ServiceProvider', 37 => 'App\\Providers\\AppServiceProvider', 38 => 'App\\Providers\\AuthServiceProvider', 39 => 'App\\Providers\\EventServiceProvider', 40 => 'App\\Providers\\RouteServiceProvider']) /home/runner/work/cms/cms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:649
2021-12-13T13:26:33.4971096Z PHP   8. Illuminate\Foundation\Application->register($provider = 'Statamic\\Providers\\StatamicServiceProvider', $force = *uninitialized*) /home/runner/work/cms/cms/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php:75
2021-12-13T13:26:33.4973347Z PHP   9. Illuminate\Support\AggregateServiceProvider->register() /home/runner/work/cms/cms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:672
2021-12-13T13:26:33.4975857Z PHP  10. Illuminate\Foundation\Application->register($provider = 'Statamic\\Providers\\ExtensionServiceProvider', $force = *uninitialized*) /home/runner/work/cms/cms/vendor/laravel/framework/src/Illuminate/Support/AggregateServiceProvider.php:31
2021-12-13T13:26:33.4978559Z PHP  11. Statamic\Providers\ExtensionServiceProvider->register() /home/runner/work/cms/cms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:672
2021-12-13T13:26:33.4980648Z PHP  12. Statamic\Providers\ExtensionServiceProvider->registerExtensions() /home/runner/work/cms/cms/vendor/statamic/cms/src/Providers/ExtensionServiceProvider.php:194
2021-12-13T13:26:33.4990870Z PHP  13. Statamic\Providers\ExtensionServiceProvider->registerCoreExtensions($extensions = [0 => 'Statamic\\Fieldtypes\\Arr', 1 => 'Statamic\\Fieldtypes\\AssetContainer', 2 => 'Statamic\\Fieldtypes\\AssetFolder', 3 => 'Statamic\\Fieldtypes\\Assets\\Assets', 4 => 'Statamic\\Fieldtypes\\Bard', 5 => 'Statamic\\Fieldtypes\\Bard\\Buttons', 6 => 'Statamic\\Fieldtypes\\ButtonGroup', 7 => 'Statamic\\Fieldtypes\\Checkboxes', 8 => 'Statamic\\Fieldtypes\\Code', 9 => 'Statamic\\Fieldtypes\\CollectionRoutes', 10 => 'Statamic\\Fieldtypes\\Collections', 11 => 'Statamic\\Fieldtypes\\Color', 12 => 'Statamic\\Fieldtypes\\Date', 13 => 'Statamic\\Fieldtypes\\Entries', 14 => 'Statamic\\Fieldtypes\\Floatval', 15 => 'Statamic\\Fieldtypes\\GlobalSetSites', 16 => 'Statamic\\Fieldtypes\\Grid', 17 => 'Statamic\\Fieldtypes\\Hidden', 18 => 'Statamic\\Fieldtypes\\Html', 19 => 'Statamic\\Fieldtypes\\Integer', 20 => 'Statamic\\Fieldtypes\\Link', 21 => 'Statamic\\Fieldtypes\\Lists', 22 => 'Statamic\\Fieldtypes\\Markdown', 23 => 'Statamic\\Fieldtypes\\NestedFields', 24 => 'Statamic\\Fieldtypes\\Radio', 25 => 'Statamic\\Fieldtypes\\Range', 26 => 'Statamic\\Fieldtypes\\Replicator', 27 => 'Statamic\\Fieldtypes\\Revealer', 28 => 'Statamic\\Fieldtypes\\Section', 29 => 'Statamic\\Fieldtypes\\Select', 30 => 'Statamic\\Fieldtypes\\Sets', 31 => 'Statamic\\Fieldtypes\\Sites', 32 => 'Statamic\\Fieldtypes\\Structures', 33 => 'Statamic\\Fieldtypes\\Slug', 34 => 'Statamic\\Fieldtypes\\Table', 35 => 'Statamic\\Fieldtypes\\Taggable', 36 => 'Statamic\\Fieldtypes\\Terms', 37 => 'Statamic\\Fieldtypes\\Taxonomies', 38 => 'Statamic\\Fieldtypes\\Template', 39 => 'Statamic\\Fieldtypes\\Text', 40 => 'Statamic\\Fieldtypes\\Textarea', 41 => 'Statamic\\Fieldtypes\\Time', 42 => 'Statamic\\Fieldtypes\\Toggle', 43 => 'Statamic\\Fieldtypes\\UserGroups', 44 => 'Statamic\\Fieldtypes\\UserRoles', 45 => 'Statamic\\Fieldtypes\\Users', 46 => 'Statamic\\Fieldtypes\\Video', 47 => 'Statamic\\Fieldtypes\\Yaml', 48 => 'Statamic\\Forms\\Fieldtype']) /home/runner/work/cms/cms/vendor/statamic/cms/src/Providers/ExtensionServiceProvider.php:246
2021-12-13T13:26:33.4998850Z PHP  14. Statamic\Fields\Fieldtype::register() /home/runner/work/cms/cms/vendor/statamic/cms/src/Providers/ExtensionServiceProvider.php:263
2021-12-13T13:26:33.5001183Z PHP  15. with($value = class Illuminate\Support\Collection { protected $items = [] }, $callback = class Closure { virtual $closure = "$this->Statamic\Extend\{closure}", public $parameter = ['$bindings' => '<required>'] }) /home/runner/work/cms/cms/vendor/statamic/cms/src/Extend/RegistersItself.php:22
2021-12-13T13:26:33.5004047Z PHP  16. Statamic\Fields\Fieldtype::Statamic\Extend\{closure:/home/runner/work/cms/cms/vendor/statamic/cms/src/Extend/RegistersItself.php:12-22}($bindings = class Illuminate\Support\Collection { protected $items = [] }) /home/runner/work/cms/cms/vendor/laravel/framework/src/Illuminate/Support/helpers.php:377
2021-12-13T13:26:33.5005849Z PHP  17. Statamic\Fields\Fieldtype::handle() /home/runner/work/cms/cms/vendor/statamic/cms/src/Extend/RegistersItself.php:13
2021-12-13T13:26:33.5007422Z PHP  18. Statamic\Support\Str::removeRight('array', '_fieldtype') /home/runner/work/cms/cms/vendor/statamic/cms/src/Fields/Fieldtype.php:65
2021-12-13T13:26:33.5009169Z PHP  19. Statamic\Support\Str::__callStatic($method = 'removeRight', $parameters = [0 => 'array', 1 => '_fieldtype']) /home/runner/work/cms/cms/vendor/statamic/cms/src/Fields/Fieldtype.php:65
2021-12-13T13:26:33.5011231Z PHP  20. call_user_func_array:{/home/runner/work/cms/cms/vendor/statamic/cms/src/Support/Str.php:15}($callback = [0 => 'Stringy\\StaticStringy', 1 => 'removeRight'], $args = [0 => 'array', 1 => '_fieldtype']) /home/runner/work/cms/cms/vendor/statamic/cms/src/Support/Str.php:15
2021-12-13T13:26:33.5013098Z PHP  21. Stringy\StaticStringy::removeRight('array', '_fieldtype') /home/runner/work/cms/cms/vendor/statamic/cms/src/Support/Str.php:15
2021-12-13T13:26:33.5014776Z PHP  22. Stringy\StaticStringy::__callStatic($name = 'removeRight', $arguments = [0 => 'array', 1 => '_fieldtype']) /home/runner/work/cms/cms/vendor/statamic/cms/src/Support/Str.php:15
2021-12-13T13:26:33.5016392Z PHP  23. ReflectionClass->__construct($objectOrClass = 'Stringy\\Stringy') /home/runner/work/cms/cms/vendor/statamic/stringy/src/StaticStringy.php:123
2021-12-13T13:26:33.5018152Z PHP  24. Composer\Autoload\ClassLoader->loadClass($class = 'Stringy\\Stringy') /home/runner/work/cms/cms/vendor/statamic/stringy/src/StaticStringy.php:123
2021-12-13T13:26:33.5019881Z PHP  25. Composer\Autoload\includeFile($file = '/home/runner/work/cms/cms/vendor/composer/../statamic/stringy/src/Stringy.php') /home/runner/work/cms/cms/vendor/composer/ClassLoader.php:428
2021-12-13T13:26:33.5021058Z PHP  26. include() /home/runner/work/cms/cms/vendor/composer/ClassLoader.php:571
2021-12-13T13:26:33.5021666Z 
2021-12-13T13:26:33.5022147Z    Symfony\Component\ErrorHandler\Error\FatalError 
2021-12-13T13:26:33.5022560Z 
2021-12-13T13:26:33.5024002Z   During inheritance of Countable: Uncaught ErrorException: Return type of Stringy\Stringy::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/runner/work/cms/cms/vendor/statamic/stringy/src/Stringy.php:270
2021-12-13T13:26:33.5026152Z Stack trace:
2021-12-13T13:26:33.5027325Z #0 /home/runner/work/cms/cms/vendor/statamic/stringy/src/Stringy.php(13): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
2021-12-13T13:26:33.5028574Z #1 /home/runner/work/cms/cms/vendor/composer/ClassLoader.php(571): include('...')
2021-12-13T13:26:33.5029468Z #2 /home/runner/work/cms/cms/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile()
2021-12-13T13:26:33.5030512Z #3 [internal function]: Composer\Autoload\ClassLoader->loadClass()
2021-12-13T13:26:33.5031656Z #4 /home/runner/work/cms/cms/vendor/statamic/stringy/src/StaticStringy.php(123): ReflectionClass->__construct()
2021-12-13T13:26:33.5032585Z #5 [internal function]: Stringy\StaticStringy::__callStatic()
2021-12-13T13:26:33.5033356Z #6 /home/runner/work/cms/cms/vendor/statamic/cms/src/Support/Str.php(15): call_user_func_array()
2021-12-13T13:26:33.5034292Z #7 /home/runner/work/cms/cms/vendor/statamic/cms/src/Fields/Fieldtype.php(65): Statamic\Support\Str::__callStatic()
2021-12-13T13:26:33.5035579Z #8 /home/runner/work/cms/cms/vendor/statamic/cms/src/Extend/RegistersItself.php(13): Statamic\Fields\Fieldtype::handle()
2021-12-13T13:26:33.5036807Z #9 /home/runner/work/cms/cms/vendor/laravel/framework/src/Illuminate/Support/helpers.php(377): Statamic\Fields\Fieldtype::Statamic\Extend\{closure}()
2021-12-13T13:26:33.5037901Z #10 /home/runner/work/cms/cms/vendor/statamic/cms/src/Extend/RegistersItself.php(22): with()
2021-12-13T13:26:33.5039092Z #11 /home/runner/work/cms/cms/vendor/statamic/cms/src/Providers/ExtensionServiceProvider.php(263): Statamic\Fields\Fieldtype::register()
2021-12-13T13:26:33.5041158Z #12 /home/runner/work/cms/cms/vendor/statamic/cms/src/Providers/ExtensionServiceProvider.php(246): Statamic\Providers\ExtensionServiceProvider->registerCoreExtensions()
2021-12-13T13:26:33.5043407Z #13 /home/runner/work/cms/cms/vendor/statamic/cms/src/Providers/ExtensionServiceProvider.php(194): Statamic\Providers\ExtensionServiceProvider->registerExtensions()
2021-12-13T13:26:33.5045446Z #14 /home/runner/work/cms/cms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(672): Statamic\Providers\ExtensionServiceProvider->register()
2021-12-13T13:26:33.5047450Z #15 /home/runner/work/cms/cms/vendor/laravel/framework/src/Illuminate/Support/AggregateServiceProvider.php(31): Illuminate\Foundation\Application->register()
2021-12-13T13:26:33.5049342Z #16 /home/runner/work/cms/cms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(672): Illuminate\Support\AggregateServiceProvider->register()
2021-12-13T13:26:33.5051166Z #17 /home/runner/work/cms/cms/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php(75): Illuminate\Foundation\Application->register()
2021-12-13T13:26:33.5052886Z #18 /home/runner/work/cms/cms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(649): Illuminate\Foundation\ProviderRepository->load()
2021-12-13T13:26:33.5054842Z #19 /home/runner/work/cms/cms/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterProviders.php(17): Illuminate\Foundation\Application->registerConfiguredProviders()
2021-12-13T13:26:33.5056866Z #20 /home/runner/work/cms/cms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(237): Illuminate\Foundation\Bootstrap\RegisterProviders->bootstrap()
2021-12-13T13:26:33.5058764Z #21 /home/runner/work/cms/cms/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(310): Illuminate\Foundation\Application->bootstrapWith()
2021-12-13T13:26:33.5063204Z #22 /home/runner/work/cms/cms/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(127): Illuminate\Foundation\Console\Kernel->bootstrap()
2021-12-13T13:26:33.5064552Z #23 /home/runner/work/cms/cms/artisan(37): Illuminate\Foundation\Console\Kernel->handle()
2021-12-13T13:26:33.5065137Z #24 {main}
2021-12-13T13:26:33.5065344Z 
2021-12-13T13:26:33.5065784Z   at vendor/statamic/stringy/src/Stringy.php:13
2021-12-13T13:26:33.5067532Z       9▕ use InvalidArgumentException;
2021-12-13T13:26:33.5068316Z      10▕ use IteratorAggregate;
2021-12-13T13:26:33.5069032Z      11▕ use OutOfBoundsException;
2021-12-13T13:26:33.5071573Z      12▕ 
2021-12-13T13:26:33.5072363Z   ➜  13▕ class Stringy implements Countable, IteratorAggregate, ArrayAccess
2021-12-13T13:26:33.5073119Z      14▕ {
2021-12-13T13:26:33.5073536Z      15▕     /**
2021-12-13T13:26:33.5074037Z      16▕      * An instance's string.
2021-12-13T13:26:33.5074510Z      17▕      *
2021-12-13T13:26:33.5074723Z 
2021-12-13T13:26:33.5075198Z       �[2m+27 vendor frames �[22m
2021-12-13T13:26:33.5075563Z   28  artisan:37
2021-12-13T13:26:33.5082261Z       App\Console\Kernel::handle("class Symfony\Component\Console\Input\ArgvInput { protected $definition = class Symfony\Component\Console\Input\InputDefinition { private $arguments = [...]; private $requiredCount = 0; private $lastArrayArgument = NULL; private $lastOptionalArgument = NULL; private $options = [...]; private $negations = [...]; private $shortcuts = [...] }; protected $stream = NULL; protected $options = []; protected $arguments = []; protected $interactive = TRUE; private $tokens = [0 => 'key:generate']; private $parsed = NULL }", "class Symfony\Component\Console\Output\ConsoleOutput { private ${Symfony\Component\Console\Output\Output}verbosity = 32; private ${Symfony\Component\Console\Output\Output}formatter = class Symfony\Component\Console\Formatter\OutputFormatter { private $decorated = FALSE; private $styles = [...]; private $styleStack = class Symfony\Component\Console\Formatter\OutputFormatterStyleStack { ... } }; private ${Symfony\Component\Console\Output\StreamOutput}stream = resource(93) of type (stream); private $stderr = class Symfony\Component\Console\Output\StreamOutput { private ${Symfony\Component\Console\Output\Output}verbosity = 32; private ${Symfony\Component\Console\Output\Output}formatter = class Symfony\Component\Console\Formatter\OutputFormatter { ... }; private $stream = resource(102) of type (stream) }; private $consoleSectionOutputs = [] }")
2021-12-13T13:26:33.5087569Z 
2021-12-13T13:26:33.5087883Z   29  artisan:0
2021-12-13T13:26:33.5088207Z       {main}()
2021-12-13T13:26:33.5088441Z 
2021-12-13T13:26:33.5088873Z    Whoops\Exception\ErrorException 
2021-12-13T13:26:33.5089223Z 
2021-12-13T13:26:33.5090726Z   During inheritance of Countable: Uncaught ErrorException: Return type of Stringy\Stringy::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/runner/work/cms/cms/vendor/statamic/stringy/src/Stringy.php:270
2021-12-13T13:26:33.5092181Z Stack trace:
2021-12-13T13:26:33.5093292Z #0 /home/runner/work/cms/cms/vendor/statamic/stringy/src/Stringy.php(13): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
2021-12-13T13:26:33.5094533Z #1 /home/runner/work/cms/cms/vendor/composer/ClassLoader.php(571): include('...')
2021-12-13T13:26:33.5095435Z #2 /home/runner/work/cms/cms/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile()
2021-12-13T13:26:33.5101195Z #3 [internal function]: Composer\Autoload\ClassLoader->loadClass()
2021-12-13T13:26:33.5102388Z #4 /home/runner/work/cms/cms/vendor/statamic/stringy/src/StaticStringy.php(123): ReflectionClass->__construct()
2021-12-13T13:26:33.5103383Z #5 [internal function]: Stringy\StaticStringy::__callStatic()
2021-12-13T13:26:33.5104156Z #6 /home/runner/work/cms/cms/vendor/statamic/cms/src/Support/Str.php(15): call_user_func_array()
2021-12-13T13:26:33.5105093Z #7 /home/runner/work/cms/cms/vendor/statamic/cms/src/Fields/Fieldtype.php(65): Statamic\Support\Str::__callStatic()
2021-12-13T13:26:33.5106189Z #8 /home/runner/work/cms/cms/vendor/statamic/cms/src/Extend/RegistersItself.php(13): Statamic\Fields\Fieldtype::handle()
2021-12-13T13:26:33.5107398Z #9 /home/runner/work/cms/cms/vendor/laravel/framework/src/Illuminate/Support/helpers.php(377): Statamic\Fields\Fieldtype::Statamic\Extend\{closure}()
2021-12-13T13:26:33.5108510Z #10 /home/runner/work/cms/cms/vendor/statamic/cms/src/Extend/RegistersItself.php(22): with()
2021-12-13T13:26:33.5109709Z #11 /home/runner/work/cms/cms/vendor/statamic/cms/src/Providers/ExtensionServiceProvider.php(263): Statamic\Fields\Fieldtype::register()
2021-12-13T13:26:33.5111695Z #12 /home/runner/work/cms/cms/vendor/statamic/cms/src/Providers/ExtensionServiceProvider.php(246): Statamic\Providers\ExtensionServiceProvider->registerCoreExtensions()
2021-12-13T13:26:33.5113946Z #13 /home/runner/work/cms/cms/vendor/statamic/cms/src/Providers/ExtensionServiceProvider.php(194): Statamic\Providers\ExtensionServiceProvider->registerExtensions()
2021-12-13T13:26:33.5115995Z #14 /home/runner/work/cms/cms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(672): Statamic\Providers\ExtensionServiceProvider->register()
2021-12-13T13:26:33.5117867Z #15 /home/runner/work/cms/cms/vendor/laravel/framework/src/Illuminate/Support/AggregateServiceProvider.php(31): Illuminate\Foundation\Application->register()
2021-12-13T13:26:33.5119751Z #16 /home/runner/work/cms/cms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(672): Illuminate\Support\AggregateServiceProvider->register()
2021-12-13T13:26:33.5121775Z #17 /home/runner/work/cms/cms/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php(75): Illuminate\Foundation\Application->register()
2021-12-13T13:26:33.5123505Z #18 /home/runner/work/cms/cms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(649): Illuminate\Foundation\ProviderRepository->load()
2021-12-13T13:26:33.5125486Z #19 /home/runner/work/cms/cms/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterProviders.php(17): Illuminate\Foundation\Application->registerConfiguredProviders()
2021-12-13T13:26:33.5127489Z #20 /home/runner/work/cms/cms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(237): Illuminate\Foundation\Bootstrap\RegisterProviders->bootstrap()
2021-12-13T13:26:33.5129220Z #21 /home/runner/work/cms/cms/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(310): Illuminate\Foundation\Application->bootstrapWith()
2021-12-13T13:26:33.5130843Z #22 /home/runner/work/cms/cms/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(127): Illuminate\Foundation\Console\Kernel->bootstrap()
2021-12-13T13:26:33.5132192Z #23 /home/runner/work/cms/cms/artisan(37): Illuminate\Foundation\Console\Kernel->handle()
2021-12-13T13:26:33.5132783Z #24 {main}
2021-12-13T13:26:33.5133003Z 
2021-12-13T13:26:33.5133438Z   at vendor/statamic/stringy/src/Stringy.php:13
2021-12-13T13:26:33.5134339Z       9▕ use InvalidArgumentException;
2021-12-13T13:26:33.5135086Z      10▕ use IteratorAggregate;
2021-12-13T13:26:33.5135774Z      11▕ use OutOfBoundsException;
2021-12-13T13:26:33.5136329Z      12▕ 
2021-12-13T13:26:33.5137456Z   ➜  13▕ class Stringy implements Countable, IteratorAggregate, ArrayAccess
2021-12-13T13:26:33.5138194Z      14▕ {
2021-12-13T13:26:33.5138589Z      15▕     /**
2021-12-13T13:26:33.5139094Z      16▕      * An instance's string.
2021-12-13T13:26:33.5139601Z      17▕      *
2021-12-13T13:26:33.5139802Z 
2021-12-13T13:26:33.5140300Z       �[2m+1 vendor frames �[22m
2021-12-13T13:26:33.5140684Z   2   [internal]:0
2021-12-13T13:26:33.5141122Z       Whoops\Run::handleShutdown()
2021-12-13T13:26:33.5160475Z ##[error]Process completed with exit code 255.

Versions

Statamic 3.2.16 Pro
Laravel 8.64.0
PHP 8.0.6
elvenstar/statamic-meilisearch 0.1.3
statamic/ssg 0.9.0

Installation

Other (please explain)

Additional details

No response

@jasonvarga
Copy link
Member

Thanks!

We'll need to apply this PR to our fork

@jasonvarga
Copy link
Member

Or upgrade to at least Laravel 8.65

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants