Closed v-porytskyi closed 1 year ago
I got this error when running the command php artisan schedule:work:
php artisan schedule:work
composer create-project --prefer-dist laravel/lumen blog
Addition information:
dev@debian:~$ composer create-project --prefer-dist laravel/lumen blog Creating a "laravel/lumen" project at "./blog" Info from https://repo.packagist.org: #StandWithUkraine Installing laravel/lumen (v9.0.0) - Installing laravel/lumen (v9.0.0): Extracting archive Created project in /home/dev/blog > @php -r "file_exists('.env') || copy('.env.example', '.env');" Loading composer repositories with package information Info from https://repo.packagist.org: #StandWithUkraine Updating dependencies Lock file operations: 104 installs, 0 updates, 0 removals - Locking brick/math (0.11.0) - Locking doctrine/inflector (2.0.6) - Locking doctrine/instantiator (2.0.0) - Locking doctrine/lexer (3.0.0) - Locking dragonmantank/cron-expression (v3.3.2) - Locking egulias/email-validator (4.0.1) - Locking fakerphp/faker (v1.21.0) - Locking fruitcake/php-cors (v1.2.0) - Locking graham-campbell/result-type (v1.1.0) - Locking guzzlehttp/uri-template (v1.0.1) - Locking hamcrest/hamcrest-php (v2.0.1) - Locking illuminate/auth (v9.52.0) - Locking illuminate/broadcasting (v9.52.0) - Locking illuminate/bus (v9.52.0) - Locking illuminate/cache (v9.52.0) - Locking illuminate/collections (v9.52.0) - Locking illuminate/conditionable (v9.52.0) - Locking illuminate/config (v9.52.0) - Locking illuminate/console (v9.52.0) - Locking illuminate/container (v9.52.0) - Locking illuminate/contracts (v9.52.0) - Locking illuminate/database (v9.52.0) - Locking illuminate/encryption (v9.52.0) - Locking illuminate/events (v9.52.0) - Locking illuminate/filesystem (v9.52.0) - Locking illuminate/hashing (v9.52.0) - Locking illuminate/http (v9.52.0) - Locking illuminate/log (v9.52.0) - Locking illuminate/macroable (v9.52.0) - Locking illuminate/pagination (v9.52.0) - Locking illuminate/pipeline (v9.52.0) - Locking illuminate/queue (v9.52.0) - Locking illuminate/session (v9.52.0) - Locking illuminate/support (v9.52.0) - Locking illuminate/testing (v9.52.0) - Locking illuminate/translation (v9.52.0) - Locking illuminate/validation (v9.52.0) - Locking illuminate/view (v9.52.0) - Locking laravel/lumen-framework (v9.1.5) - Locking laravel/serializable-closure (v1.3.0) - Locking mockery/mockery (1.5.1) - Locking monolog/monolog (2.9.1) - Locking myclabs/deep-copy (1.11.0) - Locking nesbot/carbon (2.66.0) - Locking nikic/fast-route (v1.3.0) - Locking nikic/php-parser (v4.15.3) - Locking nunomaduro/termwind (v1.15.1) - Locking phar-io/manifest (2.0.3) - Locking phar-io/version (3.2.1) - Locking phpoption/phpoption (1.9.0) - Locking phpunit/php-code-coverage (9.2.24) - Locking phpunit/php-file-iterator (3.0.6) - Locking phpunit/php-invoker (3.1.1) - Locking phpunit/php-text-template (2.0.4) - Locking phpunit/php-timer (5.0.3) - Locking phpunit/phpunit (9.6.3) - Locking psr/container (2.0.2) - Locking psr/event-dispatcher (1.0.0) - Locking psr/log (3.0.0) - Locking psr/simple-cache (3.0.0) - Locking ramsey/collection (2.0.0) - Locking ramsey/uuid (4.x-dev bf2bee2) - Locking sebastian/cli-parser (1.0.1) - Locking sebastian/code-unit (1.0.8) - Locking sebastian/code-unit-reverse-lookup (2.0.3) - Locking sebastian/comparator (4.0.8) - Locking sebastian/complexity (2.0.2) - Locking sebastian/diff (4.0.4) - Locking sebastian/environment (5.1.5) - Locking sebastian/exporter (4.0.5) - Locking sebastian/global-state (5.0.5) - Locking sebastian/lines-of-code (1.0.3) - Locking sebastian/object-enumerator (4.0.4) - Locking sebastian/object-reflector (2.0.4) - Locking sebastian/recursion-context (4.0.5) - Locking sebastian/resource-operations (3.0.3) - Locking sebastian/type (3.2.1) - Locking sebastian/version (3.0.2) - Locking symfony/console (v6.2.5) - Locking symfony/deprecation-contracts (v3.2.0) - Locking symfony/error-handler (v6.2.5) - Locking symfony/event-dispatcher (v6.2.5) - Locking symfony/event-dispatcher-contracts (v3.2.0) - Locking symfony/finder (v6.2.5) - Locking symfony/http-foundation (v6.2.6) - Locking symfony/http-kernel (v6.2.6) - Locking symfony/mime (v6.2.5) - Locking symfony/polyfill-ctype (v1.27.0) - Locking symfony/polyfill-intl-grapheme (v1.27.0) - Locking symfony/polyfill-intl-idn (v1.27.0) - Locking symfony/polyfill-intl-normalizer (v1.27.0) - Locking symfony/polyfill-mbstring (v1.27.0) - Locking symfony/polyfill-php72 (v1.27.0) - Locking symfony/polyfill-php80 (v1.27.0) - Locking symfony/process (v6.2.5) - Locking symfony/service-contracts (v3.2.0) - Locking symfony/string (v6.2.5) - Locking symfony/translation (v6.2.5) - Locking symfony/translation-contracts (v3.2.0) - Locking symfony/var-dumper (v6.2.5) - Locking theseer/tokenizer (1.2.1) - Locking vlucas/phpdotenv (v5.5.0) - Locking voku/portable-ascii (2.0.1) - Locking webmozart/assert (1.11.0) Writing lock file Installing dependencies from lock file (including require-dev) Package operations: 104 installs, 0 updates, 0 removals - Downloading brick/math (0.11.0) - Downloading ramsey/uuid (4.x-dev bf2bee2) - Installing doctrine/inflector (2.0.6): Extracting archive - Installing symfony/polyfill-php72 (v1.27.0): Extracting archive - Installing symfony/polyfill-intl-normalizer (v1.27.0): Extracting archive - Installing symfony/polyfill-intl-idn (v1.27.0): Extracting archive - Installing doctrine/lexer (3.0.0): Extracting archive - Installing egulias/email-validator (4.0.1): Extracting archive - Installing symfony/deprecation-contracts (v3.2.0): Extracting archive - Installing psr/container (2.0.2): Extracting archive - Installing fakerphp/faker (v1.21.0): Extracting archive - Installing symfony/polyfill-mbstring (v1.27.0): Extracting archive - Installing symfony/http-foundation (v6.2.6): Extracting archive - Installing fruitcake/php-cors (v1.2.0): Extracting archive - Installing symfony/polyfill-php80 (v1.27.0): Extracting archive - Installing guzzlehttp/uri-template (v1.0.1): Extracting archive - Installing illuminate/conditionable (v9.52.0): Extracting archive - Installing symfony/finder (v6.2.5): Extracting archive - Installing voku/portable-ascii (2.0.1): Extracting archive - Installing symfony/translation-contracts (v3.2.0): Extracting archive - Installing symfony/translation (v6.2.5): Extracting archive - Installing nesbot/carbon (2.66.0): Extracting archive - Installing illuminate/macroable (v9.52.0): Extracting archive - Installing psr/simple-cache (3.0.0): Extracting archive - Installing illuminate/contracts (v9.52.0): Extracting archive - Installing illuminate/collections (v9.52.0): Extracting archive - Installing symfony/polyfill-ctype (v1.27.0): Extracting archive - Installing illuminate/support (v9.52.0): Extracting archive - Installing illuminate/filesystem (v9.52.0): Extracting archive - Installing illuminate/session (v9.52.0): Extracting archive - Installing phpoption/phpoption (1.9.0): Extracting archive - Installing graham-campbell/result-type (v1.1.0): Extracting archive - Installing vlucas/phpdotenv (v5.5.0): Extracting archive - Installing symfony/var-dumper (v6.2.5): Extracting archive - Installing symfony/mime (v6.2.5): Extracting archive - Installing psr/event-dispatcher (1.0.0): Extracting archive - Installing symfony/event-dispatcher-contracts (v3.2.0): Extracting archive - Installing symfony/event-dispatcher (v6.2.5): Extracting archive - Installing psr/log (3.0.0): Extracting archive - Installing symfony/error-handler (v6.2.5): Extracting archive - Installing symfony/http-kernel (v6.2.6): Extracting archive - Installing symfony/polyfill-intl-grapheme (v1.27.0): Extracting archive - Installing symfony/string (v6.2.5): Extracting archive - Installing symfony/service-contracts (v3.2.0): Extracting archive - Installing symfony/console (v6.2.5): Extracting archive - Installing nikic/fast-route (v1.3.0): Extracting archive - Installing illuminate/container (v9.52.0): Extracting archive - Installing illuminate/pipeline (v9.52.0): Extracting archive - Installing illuminate/bus (v9.52.0): Extracting archive - Installing illuminate/events (v9.52.0): Extracting archive - Installing illuminate/view (v9.52.0): Extracting archive - Installing illuminate/translation (v9.52.0): Extracting archive - Installing brick/math (0.11.0): Extracting archive - Installing illuminate/validation (v9.52.0): Extracting archive - Installing illuminate/testing (v9.52.0): Extracting archive - Installing symfony/process (v6.2.5): Extracting archive - Installing ramsey/collection (2.0.0): Extracting archive - Installing ramsey/uuid (4.x-dev bf2bee2): Extracting archive - Installing laravel/serializable-closure (v1.3.0): Extracting archive - Installing illuminate/database (v9.52.0): Extracting archive - Installing nunomaduro/termwind (v1.15.1): Extracting archive - Installing illuminate/console (v9.52.0): Extracting archive - Installing illuminate/queue (v9.52.0): Extracting archive - Installing illuminate/pagination (v9.52.0): Extracting archive - Installing monolog/monolog (2.9.1): Extracting archive - Installing illuminate/log (v9.52.0): Extracting archive - Installing illuminate/http (v9.52.0): Extracting archive - Installing illuminate/hashing (v9.52.0): Extracting archive - Installing illuminate/encryption (v9.52.0): Extracting archive - Installing illuminate/config (v9.52.0): Extracting archive - Installing illuminate/cache (v9.52.0): Extracting archive - Installing illuminate/broadcasting (v9.52.0): Extracting archive - Installing illuminate/auth (v9.52.0): Extracting archive - Installing webmozart/assert (1.11.0): Extracting archive - Installing dragonmantank/cron-expression (v3.3.2): Extracting archive - Installing laravel/lumen-framework (v9.1.5): Extracting archive - Installing hamcrest/hamcrest-php (v2.0.1): Extracting archive - Installing mockery/mockery (1.5.1): Extracting archive - Installing sebastian/version (3.0.2): Extracting archive - Installing sebastian/type (3.2.1): Extracting archive - Installing sebastian/resource-operations (3.0.3): Extracting archive - Installing sebastian/recursion-context (4.0.5): Extracting archive - Installing sebastian/object-reflector (2.0.4): Extracting archive - Installing sebastian/object-enumerator (4.0.4): Extracting archive - Installing sebastian/global-state (5.0.5): Extracting archive - Installing sebastian/exporter (4.0.5): Extracting archive - Installing sebastian/environment (5.1.5): Extracting archive - Installing sebastian/diff (4.0.4): Extracting archive - Installing sebastian/comparator (4.0.8): Extracting archive - Installing sebastian/code-unit (1.0.8): Extracting archive - Installing sebastian/cli-parser (1.0.1): Extracting archive - Installing phpunit/php-timer (5.0.3): Extracting archive - Installing phpunit/php-text-template (2.0.4): Extracting archive - Installing phpunit/php-invoker (3.1.1): Extracting archive - Installing phpunit/php-file-iterator (3.0.6): Extracting archive - Installing theseer/tokenizer (1.2.1): Extracting archive - Installing nikic/php-parser (v4.15.3): Extracting archive - Installing sebastian/lines-of-code (1.0.3): Extracting archive - Installing sebastian/complexity (2.0.2): Extracting archive - Installing sebastian/code-unit-reverse-lookup (2.0.3): Extracting archive - Installing phpunit/php-code-coverage (9.2.24): Extracting archive - Installing phar-io/version (3.2.1): Extracting archive - Installing phar-io/manifest (2.0.3): Extracting archive - Installing myclabs/deep-copy (1.11.0): Extracting archive - Installing doctrine/instantiator (2.0.0): Extracting archive - Installing phpunit/phpunit (9.6.3): Extracting archive 57 package suggestions were added by new dependencies, use `composer suggest` to see details. Generating optimized autoload files 63 packages you are using are looking for funding. Use the `composer fund` command to find out more! dev@debian:~/$ cd blog/ dev@debian:~/blog$ dev@debian:~/blog$ dev@debian:~/blog$ dev@debian:~/blog$ dev@debian:~/blog$ php artisan schedule:work In ScheduleWorkCommand.php line 49: Call to undefined method Laravel\Lumen\Application::isLocal()
After running composer require laravel/lumen-framework:"^9.1.5" -W --prefer-lowest the php artisan schedule:work command worked correctly.
composer require laravel/lumen-framework:"^9.1.5" -W --prefer-lowest
Updating dependencies Lock file operations: 0 installs, 70 updates, 1 removal - Removing guzzlehttp/uri-template (v1.0.1) - Downgrading brick/math (0.11.0 => 0.8.0) - Downgrading doctrine/inflector (2.0.6 => 2.0.2) - Downgrading doctrine/lexer (3.0.0 => 1.2.1) - Downgrading dragonmantank/cron-expression (v3.3.2 => v3.1.0) - Downgrading egulias/email-validator (4.0.1 => 3.2.1) - Downgrading graham-campbell/result-type (v1.1.0 => v1.0.2) - Downgrading illuminate/auth (v9.52.0 => v9.36.3) - Downgrading illuminate/broadcasting (v9.52.0 => v9.36.3) - Downgrading illuminate/bus (v9.52.0 => v9.36.3) - Downgrading illuminate/cache (v9.52.0 => v9.36.3) - Downgrading illuminate/collections (v9.52.0 => v9.36.3) - Downgrading illuminate/conditionable (v9.52.0 => v9.0.0) - Downgrading illuminate/config (v9.52.0 => v9.36.3) - Downgrading illuminate/console (v9.52.0 => v9.36.3) - Downgrading illuminate/container (v9.52.0 => v9.36.3) - Downgrading illuminate/contracts (v9.52.0 => v9.36.3) - Downgrading illuminate/database (v9.52.0 => v9.36.3) - Downgrading illuminate/encryption (v9.52.0 => v9.36.3) - Downgrading illuminate/events (v9.52.0 => v9.36.3) - Downgrading illuminate/filesystem (v9.52.0 => v9.36.3) - Downgrading illuminate/hashing (v9.52.0 => v9.36.3) - Downgrading illuminate/http (v9.52.0 => v9.36.3) - Downgrading illuminate/log (v9.52.0 => v9.36.3) - Downgrading illuminate/macroable (v9.52.0 => v9.36.3) - Downgrading illuminate/pagination (v9.52.0 => v9.36.3) - Downgrading illuminate/pipeline (v9.52.0 => v9.36.3) - Downgrading illuminate/queue (v9.52.0 => v9.36.3) - Downgrading illuminate/session (v9.52.0 => v9.0.0) - Downgrading illuminate/support (v9.52.0 => v9.36.3) - Downgrading illuminate/testing (v9.52.0 => v9.36.3) - Downgrading illuminate/translation (v9.52.0 => v9.36.3) - Downgrading illuminate/validation (v9.52.0 => v9.36.3) - Downgrading illuminate/view (v9.52.0 => v9.36.3) - Downgrading laravel/serializable-closure (v1.3.0 => v1.2.2) - Downgrading monolog/monolog (2.9.1 => 2.1.0) - Downgrading nesbot/carbon (2.66.0 => 2.62.1) - Downgrading nunomaduro/termwind (v1.15.1 => v1.13.0) - Downgrading phpdocumentor/reflection-docblock (5.3.0 => 5.2.0) - Downgrading phpdocumentor/type-resolver (1.6.2 => 1.4.0) - Downgrading phpoption/phpoption (1.9.0 => 1.8.0) - Downgrading psr/container (2.0.2 => 1.1.1) - Downgrading psr/log (3.0.0 => 1.0.1) - Downgrading psr/simple-cache (3.0.0 => 1.0.0) - Downgrading ramsey/collection (2.0.0 => 1.1.0) - Downgrading ramsey/uuid (4.x-dev bf2bee2 => 4.2.2) - Downgrading symfony/console (v6.2.5 => v6.0.9) - Downgrading symfony/deprecation-contracts (v3.2.0 => v2.2.0) - Downgrading symfony/error-handler (v6.2.5 => v6.0.0) - Downgrading symfony/event-dispatcher (v6.2.5 => v5.4.0) - Downgrading symfony/event-dispatcher-contracts (v3.2.0 => v2.1.2) - Downgrading symfony/finder (v6.2.5 => v6.0.0) - Downgrading symfony/http-foundation (v6.2.6 => v6.0.0) - Downgrading symfony/http-kernel (v6.2.6 => v6.0.0) - Downgrading symfony/mime (v6.2.5 => v6.0.0) - Downgrading symfony/polyfill-ctype (v1.27.0 => v1.23.0) - Downgrading symfony/polyfill-intl-grapheme (v1.27.0 => v1.0.0) - Downgrading symfony/polyfill-intl-idn (v1.27.0 => v1.15.0) - Downgrading symfony/polyfill-intl-normalizer (v1.27.0 => v1.0.0) - Downgrading symfony/polyfill-mbstring (v1.27.0 => v1.23.1) - Downgrading symfony/polyfill-php72 (v1.27.0 => v1.10.0) - Downgrading symfony/polyfill-php80 (v1.27.0 => v1.23.1) - Downgrading symfony/process (v6.2.5 => v6.0.0) - Downgrading symfony/service-contracts (v3.2.0 => v1.1.9) - Downgrading symfony/string (v6.2.5 => v5.4.0) - Downgrading symfony/translation (v6.2.5 => v5.4.0) - Downgrading symfony/translation-contracts (v3.2.0 => v2.3.0) - Downgrading symfony/var-dumper (v6.2.5 => v6.0.0) - Downgrading vlucas/phpdotenv (v5.5.0 => v5.4.1) - Downgrading voku/portable-ascii (2.0.1 => 2.0.0) - Downgrading webmozart/assert (1.11.0 => 1.9.1) Writing lock file Installing dependencies from lock file (including require-dev) Package operations: 0 installs, 70 updates, 1 removal - Downloading doctrine/inflector (2.0.2) - Downloading symfony/polyfill-php72 (v1.10.0) - Downloading symfony/polyfill-mbstring (v1.23.1) - Downloading symfony/polyfill-intl-idn (v1.15.0) - Downloading doctrine/lexer (1.2.1) - Downloading egulias/email-validator (3.2.1) - Downloading symfony/deprecation-contracts (v2.2.0) - Downloading psr/container (1.1.1) - Downloading symfony/http-foundation (v6.0.0) - Downloading illuminate/conditionable (v9.0.0) - Downloading voku/portable-ascii (2.0.0) - Downloading symfony/translation-contracts (v2.3.0) - Downloading symfony/polyfill-php80 (v1.23.1) - Downloading symfony/translation (v5.4.0) - Downloading nesbot/carbon (2.62.1) - Downloading illuminate/macroable (v9.36.3) - Downloading psr/simple-cache (1.0.0) - Downloading illuminate/contracts (v9.36.3) - Downloading illuminate/collections (v9.36.3) - Downloading illuminate/support (v9.36.3) - Downloading symfony/finder (v6.0.0) - Downloading illuminate/filesystem (v9.36.3) - Downloading illuminate/session (v9.0.0) - Downloading symfony/polyfill-ctype (v1.23.0) - Downloading phpoption/phpoption (1.8.0) - Downloading graham-campbell/result-type (v1.0.2) - Downloading vlucas/phpdotenv (v5.4.1) - Downloading symfony/var-dumper (v6.0.0) - Downloading symfony/mime (v6.0.0) - Downloading symfony/event-dispatcher-contracts (v2.1.2) - Downloading symfony/event-dispatcher (v5.4.0) - Downloading psr/log (1.0.1) - Downloading symfony/error-handler (v6.0.0) - Downloading symfony/http-kernel (v6.0.0) - Downloading symfony/polyfill-intl-normalizer (v1.0.0) - Downloading symfony/polyfill-intl-grapheme (v1.0.0) - Downloading symfony/string (v5.4.0) - Downloading symfony/service-contracts (v1.1.9) - Downloading symfony/console (v6.0.9) - Downloading illuminate/container (v9.36.3) - Downloading illuminate/pipeline (v9.36.3) - Downloading illuminate/bus (v9.36.3) - Downloading illuminate/events (v9.36.3) - Downloading illuminate/view (v9.36.3) - Downloading illuminate/translation (v9.36.3) - Downloading illuminate/validation (v9.36.3) - Downloading illuminate/testing (v9.36.3) - Downloading symfony/process (v6.0.0) - Downloading ramsey/collection (1.1.0) - Downloading brick/math (0.8.0) - Downloading ramsey/uuid (4.2.2) - Downloading laravel/serializable-closure (v1.2.2) - Downloading illuminate/database (v9.36.3) - Downloading nunomaduro/termwind (v1.13.0) - Downloading illuminate/console (v9.36.3) - Downloading illuminate/queue (v9.36.3) - Downloading illuminate/pagination (v9.36.3) - Downloading monolog/monolog (2.1.0) - Downloading illuminate/log (v9.36.3) - Downloading illuminate/http (v9.36.3) - Downloading illuminate/hashing (v9.36.3) - Downloading illuminate/encryption (v9.36.3) - Downloading illuminate/config (v9.36.3) - Downloading illuminate/cache (v9.36.3) - Downloading illuminate/broadcasting (v9.36.3) - Downloading illuminate/auth (v9.36.3) - Downloading webmozart/assert (1.9.1) - Downloading dragonmantank/cron-expression (v3.1.0) - Downloading phpdocumentor/type-resolver (1.4.0) - Downloading phpdocumentor/reflection-docblock (5.2.0) - Removing guzzlehttp/uri-template (v1.0.1) - Downgrading doctrine/inflector (2.0.6 => 2.0.2): Extracting archive - Downgrading symfony/polyfill-php72 (v1.27.0 => v1.10.0): Extracting archive - Downgrading symfony/polyfill-mbstring (v1.27.0 => v1.23.1): Extracting archive - Downgrading symfony/polyfill-intl-idn (v1.27.0 => v1.15.0): Extracting archive - Downgrading doctrine/lexer (3.0.0 => 1.2.1): Extracting archive - Downgrading egulias/email-validator (4.0.1 => 3.2.1): Extracting archive - Downgrading symfony/deprecation-contracts (v3.2.0 => v2.2.0): Extracting archive - Downgrading psr/container (2.0.2 => 1.1.1): Extracting archive - Downgrading symfony/http-foundation (v6.2.6 => v6.0.0): Extracting archive - Downgrading illuminate/conditionable (v9.52.0 => v9.0.0): Extracting archive - Downgrading voku/portable-ascii (2.0.1 => 2.0.0): Extracting archive - Downgrading symfony/translation-contracts (v3.2.0 => v2.3.0): Extracting archive - Downgrading symfony/polyfill-php80 (v1.27.0 => v1.23.1): Extracting archive - Downgrading symfony/translation (v6.2.5 => v5.4.0): Extracting archive - Downgrading nesbot/carbon (2.66.0 => 2.62.1): Extracting archive - Downgrading illuminate/macroable (v9.52.0 => v9.36.3): Extracting archive - Downgrading psr/simple-cache (3.0.0 => 1.0.0): Extracting archive - Downgrading illuminate/contracts (v9.52.0 => v9.36.3): Extracting archive - Downgrading illuminate/collections (v9.52.0 => v9.36.3): Extracting archive - Downgrading illuminate/support (v9.52.0 => v9.36.3): Extracting archive - Downgrading symfony/finder (v6.2.5 => v6.0.0): Extracting archive - Downgrading illuminate/filesystem (v9.52.0 => v9.36.3): Extracting archive - Downgrading illuminate/session (v9.52.0 => v9.0.0): Extracting archive - Downgrading symfony/polyfill-ctype (v1.27.0 => v1.23.0): Extracting archive - Downgrading phpoption/phpoption (1.9.0 => 1.8.0): Extracting archive - Downgrading graham-campbell/result-type (v1.1.0 => v1.0.2): Extracting archive - Downgrading vlucas/phpdotenv (v5.5.0 => v5.4.1): Extracting archive - Downgrading symfony/var-dumper (v6.2.5 => v6.0.0): Extracting archive - Downgrading symfony/mime (v6.2.5 => v6.0.0): Extracting archive - Downgrading symfony/event-dispatcher-contracts (v3.2.0 => v2.1.2): Extracting archive - Downgrading symfony/event-dispatcher (v6.2.5 => v5.4.0): Extracting archive - Downgrading psr/log (3.0.0 => 1.0.1): Extracting archive - Downgrading symfony/error-handler (v6.2.5 => v6.0.0): Extracting archive - Downgrading symfony/http-kernel (v6.2.6 => v6.0.0): Extracting archive - Downgrading symfony/polyfill-intl-normalizer (v1.27.0 => v1.0.0): Extracting archive - Downgrading symfony/polyfill-intl-grapheme (v1.27.0 => v1.0.0): Extracting archive - Downgrading symfony/string (v6.2.5 => v5.4.0): Extracting archive - Downgrading symfony/service-contracts (v3.2.0 => v1.1.9): Extracting archive - Downgrading symfony/console (v6.2.5 => v6.0.9): Extracting archive - Downgrading illuminate/container (v9.52.0 => v9.36.3): Extracting archive - Downgrading illuminate/pipeline (v9.52.0 => v9.36.3): Extracting archive - Downgrading illuminate/bus (v9.52.0 => v9.36.3): Extracting archive - Downgrading illuminate/events (v9.52.0 => v9.36.3): Extracting archive - Downgrading illuminate/view (v9.52.0 => v9.36.3): Extracting archive - Downgrading illuminate/translation (v9.52.0 => v9.36.3): Extracting archive - Downgrading illuminate/validation (v9.52.0 => v9.36.3): Extracting archive - Downgrading illuminate/testing (v9.52.0 => v9.36.3): Extracting archive - Downgrading symfony/process (v6.2.5 => v6.0.0): Extracting archive - Downgrading ramsey/collection (2.0.0 => 1.1.0): Extracting archive - Downgrading brick/math (0.11.0 => 0.8.0): Extracting archive - Downgrading ramsey/uuid (4.x-dev bf2bee2 => 4.2.2): Extracting archive - Downgrading laravel/serializable-closure (v1.3.0 => v1.2.2): Extracting archive - Downgrading illuminate/database (v9.52.0 => v9.36.3): Extracting archive - Downgrading nunomaduro/termwind (v1.15.1 => v1.13.0): Extracting archive - Downgrading illuminate/console (v9.52.0 => v9.36.3): Extracting archive - Downgrading illuminate/queue (v9.52.0 => v9.36.3): Extracting archive - Downgrading illuminate/pagination (v9.52.0 => v9.36.3): Extracting archive - Downgrading monolog/monolog (2.9.1 => 2.1.0): Extracting archive - Downgrading illuminate/log (v9.52.0 => v9.36.3): Extracting archive - Downgrading illuminate/http (v9.52.0 => v9.36.3): Extracting archive - Downgrading illuminate/hashing (v9.52.0 => v9.36.3): Extracting archive - Downgrading illuminate/encryption (v9.52.0 => v9.36.3): Extracting archive - Downgrading illuminate/config (v9.52.0 => v9.36.3): Extracting archive - Downgrading illuminate/cache (v9.52.0 => v9.36.3): Extracting archive - Downgrading illuminate/broadcasting (v9.52.0 => v9.36.3): Extracting archive - Downgrading illuminate/auth (v9.52.0 => v9.36.3): Extracting archive - Downgrading webmozart/assert (1.11.0 => 1.9.1): Extracting archive - Downgrading dragonmantank/cron-expression (v3.3.2 => v3.1.0): Extracting archive - Downgrading phpdocumentor/type-resolver (1.6.2 => 1.4.0): Extracting archive - Downgrading phpdocumentor/reflection-docblock (5.3.0 => 5.2.0): Extracting archive Generating optimized autoload files 71 packages you are using are looking for funding. Use the `composer fund` command to find out more! Found 1 security vulnerability advisory affecting 1 package. Run composer audit for a full list of advisories. /var/www/html # php artisan schedule:work INFO Running schedule tasks every minute.
Fixed, thanks!
Description:
I got this error when running the command
php artisan schedule:work
:Steps To Reproduce:
composer create-project --prefer-dist laravel/lumen blog
php artisan schedule:work
Addition information:
UPD:
After running
composer require laravel/lumen-framework:"^9.1.5" -W --prefer-lowest
thephp artisan schedule:work
command worked correctly.