Closed dharmikvyas closed 2 years ago
change your php version. project only works on php 7.2
On Sun, Aug 21, 2022 at 3:25 PM dharmikvyas @.***> wrote:
after cloning got this message.
command: composer update Problem 1
- Root composer.json requires php ^7.2 but your php version (8.1.9) does not satisfy that requirement. Problem 2
- Root composer.json requires hrshadhin/laravel-userstamps ^2.0.1 -> satisfiable by hrshadhin/laravel-userstamps[v2.0.1, 2.x-dev].
- hrshadhin/laravel-userstamps[v2.0.1, ..., 2.x-dev] require php ^7.2 -> your php version (8.1.9) does not satisfy that requirement.
So changed php:^7.2 to php "php": "^7.2|^8.1", as per stackoverflow suggestions.
than getting this error.
Problem 1
- Root composer.json requires hrshadhin/laravel-userstamps ^2.0.1 -> satisfiable by hrshadhin/laravel-userstamps[v2.0.1, 2.x-dev].
- hrshadhin/laravel-userstamps[v2.0.1, ..., 2.x-dev] require php ^7.2 -> your php version (8.1.9) does not satisfy that requirement.
result of composer install
Problem 1
- Root composer.json requires php ^7.2 but your php version (8.1.9) does not satisfy that requirement. Problem 2
- dompdf/dompdf is locked to version v0.8.5 and an update of this package was not requested.
- dompdf/dompdf v0.8.5 requires php ^7.1 -> your php version (8.1.9) does not satisfy that requirement. Problem 3
- dragonmantank/cron-expression is locked to version v2.3.0 and an update of this package was not requested.
- dragonmantank/cron-expression v2.3.0 requires php ^7.0 -> your php version (8.1.9) does not satisfy that requirement. Problem 4
- hrshadhin/laravel-userstamps is locked to version v2.0.1 and an update of this package was not requested.
- hrshadhin/laravel-userstamps v2.0.1 requires php ^7.2 -> your php version (8.1.9) does not satisfy that requirement. Problem 5
- laravel/framework is locked to version v6.18.38 and an update of this package was not requested.
- laravel/framework v6.18.38 requires php ^7.2 -> your php version (8.1.9) does not satisfy that requirement. Problem 6
- laravel/tinker is locked to version v2.4.2 and an update of this package was not requested.
- laravel/tinker v2.4.2 requires php ^7.2 -> your php version (8.1.9) does not satisfy that requirement. Problem 7
- maatwebsite/excel is locked to version 3.1.21 and an update of this package was not requested.
- maatwebsite/excel 3.1.21 requires php ^7.0 -> your php version (8.1.9) does not satisfy that requirement. Problem 8
- markbaker/complex is locked to version 1.5.0 and an update of this package was not requested.
- markbaker/complex 1.5.0 requires php ^5.6.0|^7.0 -> your php version (8.1.9) does not satisfy that requirement. Problem 9
- markbaker/matrix is locked to version 1.2.1 and an update of this package was not requested.
- markbaker/matrix 1.2.1 requires php ^5.6.0|^7.0.0 -> your php version (8.1.9) does not satisfy that requirement. Problem 10
- opis/closure is locked to version 3.5.6 and an update of this package was not requested.
- opis/closure 3.5.6 requires php ^5.4 || ^7.0 -> your php version (8.1.9) does not satisfy that requirement. Problem 11
- paragonie/random_compat is locked to version v9.99.99 and an update of this package was not requested.
- paragonie/random_compat v9.99.99 requires php ^7 -> your php version (8.1.9) does not satisfy that requirement. Problem 12
- phpoffice/phpspreadsheet is locked to version 1.14.1 and an update of this package was not requested.
- phpoffice/phpspreadsheet 1.14.1 requires php ^7.2 -> your php version (8.1.9) does not satisfy that requirement. Problem 13
- facade/flare-client-php is locked to version 1.3.5 and an update of this package was not requested.
- facade/flare-client-php 1.3.5 requires php ^7.1 -> your php version (8.1.9) does not satisfy that requirement. Problem 14
- facade/ignition is locked to version 1.16.3 and an update of this package was not requested.
- facade/ignition 1.16.3 requires php ^7.1 -> your php version (8.1.9) does not satisfy that requirement. Problem 15
- facade/ignition-contracts is locked to version 1.0.1 and an update of this package was not requested.
- facade/ignition-contracts 1.0.1 requires php ^7.1 -> your php version (8.1.9) does not satisfy that requirement. Problem 16
- filp/whoops is locked to version 2.7.3 and an update of this package was not requested.
- filp/whoops 2.7.3 requires php ^5.5.9 || ^7.0 -> your php version (8.1.9) does not satisfy that requirement. Problem 17
- fzaninotto/faker is locked to version v1.9.1 and an update of this package was not requested.
- fzaninotto/faker v1.9.1 requires php ^5.3.3 || ^7.0 -> your php version (8.1.9) does not satisfy that requirement. Problem 18
- maximebf/debugbar is locked to version v1.16.3 and an update of this package was not requested.
- maximebf/debugbar v1.16.3 requires php ^7.1 -> your php version (8.1.9) does not satisfy that requirement. Problem 19
- nunomaduro/collision is locked to version v3.0.1 and an update of this package was not requested.
- nunomaduro/collision v3.0.1 requires php ^7.1 -> your php version (8.1.9) does not satisfy that requirement. Problem 20
- phar-io/manifest is locked to version 1.0.3 and an update of this package was not requested.
- phar-io/manifest 1.0.3 requires php ^5.6 || ^7.0 -> your php version (8.1.9) does not satisfy that requirement. Problem 21
- phar-io/version is locked to version 2.0.1 and an update of this package was not requested.
- phar-io/version 2.0.1 requires php ^5.6 || ^7.0 -> your php version (8.1.9) does not satisfy that requirement. Problem 22
- phpspec/prophecy is locked to version 1.11.1 and an update of this package was not requested.
- phpspec/prophecy 1.11.1 requires php ^7.2 -> your php version (8.1.9) does not satisfy that requirement. Problem 23
- phpunit/php-code-coverage is locked to version 7.0.10 and an update of this package was not requested.
- phpunit/php-code-coverage 7.0.10 requires php ^7.2 -> your php version (8.1.9) does not satisfy that requirement. Problem 24
- phpunit/php-file-iterator is locked to version 2.0.2 and an update of this package was not requested.
- phpunit/php-file-iterator 2.0.2 requires php ^7.1 -> your php version (8.1.9) does not satisfy that requirement. Problem 25
- phpunit/php-timer is locked to version 2.1.2 and an update of this package was not requested.
- phpunit/php-timer 2.1.2 requires php ^7.1 -> your php version (8.1.9) does not satisfy that requirement. Problem 26
- phpunit/php-token-stream is locked to version 3.1.1 and an update of this package was not requested.
- phpunit/php-token-stream 3.1.1 requires php ^7.1 -> your php version (8.1.9) does not satisfy that requirement. Problem 27
- phpunit/phpunit is locked to version 8.5.8 and an update of this package was not requested.
- phpunit/phpunit 8.5.8 requires php ^7.2 -> your php version (8.1.9) does not satisfy that requirement. Problem 28
- sebastian/code-unit-reverse-lookup is locked to version 1.0.1 and an update of this package was not requested.
- sebastian/code-unit-reverse-lookup 1.0.1 requires php ^5.6 || ^7.0 -> your php version (8.1.9) does not satisfy that requirement. Problem 29
- sebastian/comparator is locked to version 3.0.2 and an update of this package was not requested.
- sebastian/comparator 3.0.2 requires php ^7.1 -> your php version (8.1.9) does not satisfy that requirement. Problem 30
- sebastian/diff is locked to version 3.0.2 and an update of this package was not requested.
- sebastian/diff 3.0.2 requires php ^7.1 -> your php version (8.1.9) does not satisfy that requirement. Problem 31
- sebastian/environment is locked to version 4.2.3 and an update of this package was not requested.
- sebastian/environment 4.2.3 requires php ^7.1 -> your php version (8.1.9) does not satisfy that requirement. Problem 32
- sebastian/exporter is locked to version 3.1.2 and an update of this package was not requested.
- sebastian/exporter 3.1.2 requires php ^7.0 -> your php version (8.1.9) does not satisfy that requirement. Problem 33
- sebastian/global-state is locked to version 3.0.0 and an update of this package was not requested.
- sebastian/global-state 3.0.0 requires php ^7.2 -> your php version (8.1.9) does not satisfy that requirement. Problem 34
- sebastian/object-enumerator is locked to version 3.0.3 and an update of this package was not requested.
- sebastian/object-enumerator 3.0.3 requires php ^7.0 -> your php version (8.1.9) does not satisfy that requirement. Problem 35
- sebastian/object-reflector is locked to version 1.1.1 and an update of this package was not requested.
- sebastian/object-reflector 1.1.1 requires php ^7.0 -> your php version (8.1.9) does not satisfy that requirement. Problem 36
- sebastian/recursion-context is locked to version 3.0.0 and an update of this package was not requested.
- sebastian/recursion-context 3.0.0 requires php ^7.0 -> your php version (8.1.9) does not satisfy that requirement. Problem 37
- sebastian/resource-operations is locked to version 2.0.1 and an update of this package was not requested.
- sebastian/resource-operations 2.0.1 requires php ^7.1 -> your php version (8.1.9) does not satisfy that requirement. Problem 38
- sebastian/type is locked to version 1.1.3 and an update of this package was not requested.
- sebastian/type 1.1.3 requires php ^7.2 -> your php version (8.1.9) does not satisfy that requirement. Problem 39
- dompdf/dompdf v0.8.5 requires php ^7.1 -> your php version (8.1.9) does not satisfy that requirement.
- barryvdh/laravel-dompdf v0.8.6 requires dompdf/dompdf ^0.8 -> satisfiable by dompdf/dompdf[v0.8.5].
- barryvdh/laravel-dompdf is locked to version v0.8.6 and an update of this package was not requested.
So changed command composer install --ignore-platform-reqs Installing dependencies from lock file (including require-dev) Verifying lock file contents can be installed on current platform. Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you runcomposer updateorcomposer update `. Package operations: 115 installs, 0 updates, 0 removals
- Downloading symfony/finder (v4.4.13)
- Downloading symfony/polyfill-php80 (v1.18.1)
- Downloading psr/log (1.1.3)
- Downloading symfony/debug (v4.4.13)
- Downloading symfony/polyfill-php72 (v1.18.1)
- Downloading symfony/polyfill-mbstring (v1.18.1)
- Downloading symfony/var-dumper (v4.4.13)
- Downloading maximebf/debugbar (v1.16.3)
- Downloading symfony/polyfill-ctype (v1.18.1)
- Downloading phpoption/phpoption (1.7.5)
- Downloading vlucas/phpdotenv (v3.6.7)
- Downloading symfony/css-selector (v5.1.5)
- Downloading tijsverkoyen/css-to-inline-styles (2.2.3)
- Downloading symfony/routing (v4.4.13)
- Downloading symfony/process (v4.4.13)
- Downloading symfony/polyfill-php73 (v1.18.1)
- Downloading paragonie/random_compat (v9.99.99)
- Downloading symfony/polyfill-php70 (v1.18.1)
- Downloading symfony/polyfill-intl-normalizer (v1.18.1)
- Downloading symfony/polyfill-intl-idn (v1.18.1)
- Downloading symfony/mime (v5.1.5)
- Downloading symfony/http-foundation (v4.4.13)
- Downloading symfony/event-dispatcher-contracts (v1.1.9)
- Downloading symfony/event-dispatcher (v4.4.13)
- Downloading symfony/error-handler (v4.4.13)
- Downloading symfony/http-kernel (v4.4.13)
- Downloading psr/container (1.0.0)
- Downloading symfony/service-contracts (v2.1.3)
- Downloading symfony/console (v4.4.13)
- Downloading symfony/polyfill-iconv (v1.18.1)
- Downloading doctrine/lexer (1.2.1)
- Downloading egulias/email-validator (2.1.19)
- Downloading swiftmailer/swiftmailer (v6.2.3)
- Downloading ramsey/uuid (3.9.3)
- Downloading opis/closure (3.5.6)
- Downloading symfony/translation-contracts (v2.1.3)
- Downloading symfony/translation (v4.4.13)
- Downloading nesbot/carbon (2.39.0)
- Downloading monolog/monolog (2.1.1)
- Downloading league/mime-type-detection (1.4.0)
- Downloading league/flysystem (1.1.3)
- Downloading league/commonmark (1.5.4)
- Downloading dragonmantank/cron-expression (v2.3.0)
- Downloading doctrine/inflector (2.0.3)
- Downloading laravel/framework (v6.18.38)
- Downloading barryvdh/laravel-debugbar (v3.4.2)
- Downloading sabberworm/php-css-parser (8.3.1)
- Downloading phenx/php-svg-lib (v0.3.3)
- Downloading phenx/php-font-lib (0.5.2)
- Downloading dompdf/dompdf (v0.8.5)
- Downloading barryvdh/laravel-dompdf (v0.8.6)
- Downloading bonecms/laravel-captcha (v2.2.3)
- Downloading scrivo/highlight.php (v9.18.1.2)
- Downloading filp/whoops (2.7.3)
- Downloading facade/ignition-contracts (1.0.1)
- Downloading facade/flare-client-php (1.3.5)
- Downloading facade/ignition (1.16.3)
- Downloading fideloper/proxy (4.4.0)
- Downloading fzaninotto/faker (v1.9.1)
- Downloading guzzlehttp/psr7 (1.6.1)
- Downloading guzzlehttp/promises (v1.3.1)
- Downloading guzzlehttp/guzzle (6.5.5)
- Syncing hrshadhin/laravel-userstamps (v2.0.1) into cache
- Downloading jakub-onderka/php-console-color (v0.2)
- Downloading nikic/php-parser (v4.9.1)
- Downloading dnoegel/php-xdg-base-dir (v0.1.1)
- Downloading psy/psysh (v0.10.4)
- Downloading laravel/tinker (v2.4.2)
- Downloading laravelcollective/html (v6.1.2)
- Downloading markbaker/matrix (1.2.1)
- Downloading markbaker/complex (1.5.0)
- Downloading myclabs/php-enum (1.7.6)
- Downloading maennchen/zipstream-php (2.1.0)
- Downloading phpoffice/phpspreadsheet (1.14.1)
- Downloading maatwebsite/excel (3.1.21)
- Downloading mockery/mockery (1.3.3)
- Downloading jakub-onderka/php-console-highlighter (v0.4)
- Downloading nunomaduro/collision (v3.0.1)
- Downloading webmozart/assert (1.9.1)
- Downloading phpdocumentor/type-resolver (1.3.0)
- Downloading phpdocumentor/reflection-docblock (5.2.1)
- Downloading phpunit/php-token-stream (3.1.1)
- Downloading sebastian/type (1.1.3)
- Downloading sebastian/resource-operations (2.0.1)
- Downloading sebastian/recursion-context (3.0.0)
- Downloading sebastian/object-reflector (1.1.1)
- Downloading sebastian/object-enumerator (3.0.3)
- Downloading sebastian/global-state (3.0.0)
- Downloading sebastian/exporter (3.1.2)
- Downloading sebastian/environment (4.2.3)
- Downloading sebastian/diff (3.0.2)
- Downloading sebastian/comparator (3.0.2)
- Downloading phpunit/php-timer (2.1.2)
- Downloading phpunit/php-file-iterator (2.0.2)
- Downloading theseer/tokenizer (1.2.0)
- Downloading sebastian/code-unit-reverse-lookup (1.0.1)
- Downloading phpunit/php-code-coverage (7.0.10)
- Downloading doctrine/instantiator (1.3.1)
- Downloading phpspec/prophecy (1.11.1)
- Downloading phar-io/version (2.0.1)
- Downloading phar-io/manifest (1.0.3)
- Downloading myclabs/deep-copy (1.10.1)
- Downloading phpunit/phpunit (8.5.8)
- Downloading rap2hpoutre/laravel-log-viewer (v1.6.1)
- Downloading twilio/sdk (6.10.0)
- Installing symfony/finder (v4.4.13): Extracting archive
- Installing symfony/polyfill-php80 (v1.18.1): Extracting archive
- Installing psr/log (1.1.3): Extracting archive
- Installing symfony/debug (v4.4.13): Extracting archive
- Installing symfony/polyfill-php72 (v1.18.1): Extracting archive
- Installing symfony/polyfill-mbstring (v1.18.1): Extracting archive
- Installing symfony/var-dumper (v4.4.13): Extracting archive
- Installing maximebf/debugbar (v1.16.3): Extracting archive
- Installing symfony/polyfill-ctype (v1.18.1): Extracting archive
- Installing phpoption/phpoption (1.7.5): Extracting archive
- Installing vlucas/phpdotenv (v3.6.7): Extracting archive
- Installing symfony/css-selector (v5.1.5): Extracting archive
- Installing tijsverkoyen/css-to-inline-styles (2.2.3): Extracting archive
- Installing symfony/routing (v4.4.13): Extracting archive
- Installing symfony/process (v4.4.13): Extracting archive
- Installing symfony/polyfill-php73 (v1.18.1): Extracting archive
- Installing paragonie/random_compat (v9.99.99): Extracting archive
- Installing symfony/polyfill-php70 (v1.18.1): Extracting archive
- Installing symfony/polyfill-intl-normalizer (v1.18.1): Extracting archive
- Installing symfony/polyfill-intl-idn (v1.18.1): Extracting archive
- Installing symfony/mime (v5.1.5): Extracting archive
- Installing symfony/http-foundation (v4.4.13): Extracting archive
- Installing symfony/event-dispatcher-contracts (v1.1.9): Extracting archive
- Installing symfony/event-dispatcher (v4.4.13): Extracting archive
- Installing symfony/error-handler (v4.4.13): Extracting archive
- Installing symfony/http-kernel (v4.4.13): Extracting archive
- Installing psr/container (1.0.0): Extracting archive
- Installing symfony/service-contracts (v2.1.3): Extracting archive
- Installing symfony/console (v4.4.13): Extracting archive
- Installing symfony/polyfill-iconv (v1.18.1): Extracting archive
- Installing doctrine/lexer (1.2.1): Extracting archive
- Installing egulias/email-validator (2.1.19): Extracting archive
- Installing swiftmailer/swiftmailer (v6.2.3): Extracting archive
- Installing ramsey/uuid (3.9.3): Extracting archive
- Installing psr/simple-cache (1.0.1): Extracting archive
- Installing opis/closure (3.5.6): Extracting archive
- Installing symfony/translation-contracts (v2.1.3): Extracting archive
- Installing symfony/translation (v4.4.13): Extracting archive
- Installing nesbot/carbon (2.39.0): Extracting archive
- Installing monolog/monolog (2.1.1): Extracting archive
- Installing league/mime-type-detection (1.4.0): Extracting archive
- Installing league/flysystem (1.1.3): Extracting archive
- Installing league/commonmark (1.5.4): Extracting archive
- Installing dragonmantank/cron-expression (v2.3.0): Extracting archive
- Installing doctrine/inflector (2.0.3): Extracting archive
- Installing laravel/framework (v6.18.38): Extracting archive
- Installing barryvdh/laravel-debugbar (v3.4.2): Extracting archive
- Installing sabberworm/php-css-parser (8.3.1): Extracting archive
- Installing phenx/php-svg-lib (v0.3.3): Extracting archive
- Installing phenx/php-font-lib (0.5.2): Extracting archive
- Installing dompdf/dompdf (v0.8.5): Extracting archive
- Installing barryvdh/laravel-dompdf (v0.8.6): Extracting archive
- Installing bonecms/laravel-captcha (v2.2.3): Extracting archive
- Installing scrivo/highlight.php (v9.18.1.2): Extracting archive
- Installing filp/whoops (2.7.3): Extracting archive
- Installing facade/ignition-contracts (1.0.1): Extracting archive
- Installing facade/flare-client-php (1.3.5): Extracting archive
- Installing facade/ignition (1.16.3): Extracting archive
- Installing fideloper/proxy (4.4.0): Extracting archive
- Installing fzaninotto/faker (v1.9.1): Extracting archive
- Installing ralouphie/getallheaders (3.0.3): Extracting archive
- Installing psr/http-message (1.0.1): Extracting archive
- Installing guzzlehttp/psr7 (1.6.1): Extracting archive
- Installing guzzlehttp/promises (v1.3.1): Extracting archive
- Installing guzzlehttp/guzzle (6.5.5): Extracting archive
- Installing hrshadhin/laravel-userstamps (v2.0.1): Cloning f054f1d99f from cache
- Installing jakub-onderka/php-console-color (v0.2): Extracting archive
- Installing nikic/php-parser (v4.9.1): Extracting archive
- Installing dnoegel/php-xdg-base-dir (v0.1.1): Extracting archive
- Installing psy/psysh (v0.10.4): Extracting archive
- Installing laravel/tinker (v2.4.2): Extracting archive
- Installing laravelcollective/html (v6.1.2): Extracting archive
- Installing psr/http-factory (1.0.1): Extracting archive
- Installing psr/http-client (1.0.1): Extracting archive
- Installing markbaker/matrix (1.2.1): Extracting archive
- Installing markbaker/complex (1.5.0): Extracting archive
- Installing myclabs/php-enum (1.7.6): Extracting archive
- Installing maennchen/zipstream-php (2.1.0): Extracting archive
- Installing phpoffice/phpspreadsheet (1.14.1): Extracting archive
- Installing maatwebsite/excel (3.1.21): Extracting archive
- Installing hamcrest/hamcrest-php (v2.0.1): Extracting archive
- Installing mockery/mockery (1.3.3): Extracting archive
- Installing jakub-onderka/php-console-highlighter (v0.4): Extracting archive
- Installing nunomaduro/collision (v3.0.1): Extracting archive
- Installing webmozart/assert (1.9.1): Extracting archive
- Installing phpdocumentor/reflection-common (2.2.0): Extracting archive
- Installing phpdocumentor/type-resolver (1.3.0): Extracting archive
- Installing phpdocumentor/reflection-docblock (5.2.1): Extracting archive
- Installing phpunit/php-token-stream (3.1.1): Extracting archive
- Installing sebastian/version (2.0.1): Extracting archive
- Installing sebastian/type (1.1.3): Extracting archive
- Installing sebastian/resource-operations (2.0.1): Extracting archive
- Installing sebastian/recursion-context (3.0.0): Extracting archive
- Installing sebastian/object-reflector (1.1.1): Extracting archive
- Installing sebastian/object-enumerator (3.0.3): Extracting archive
- Installing sebastian/global-state (3.0.0): Extracting archive
- Installing sebastian/exporter (3.1.2): Extracting archive
- Installing sebastian/environment (4.2.3): Extracting archive
- Installing sebastian/diff (3.0.2): Extracting archive
- Installing sebastian/comparator (3.0.2): Extracting archive
- Installing phpunit/php-timer (2.1.2): Extracting archive
- Installing phpunit/php-text-template (1.2.1): Extracting archive
- Installing phpunit/php-file-iterator (2.0.2): Extracting archive
- Installing theseer/tokenizer (1.2.0): Extracting archive
- Installing sebastian/code-unit-reverse-lookup (1.0.1): Extracting archive
- Installing phpunit/php-code-coverage (7.0.10): Extracting archive
- Installing doctrine/instantiator (1.3.1): Extracting archive
- Installing phpspec/prophecy (1.11.1): Extracting archive
- Installing phar-io/version (2.0.1): Extracting archive
- Installing phar-io/manifest (1.0.3): Extracting archive
- Installing myclabs/deep-copy (1.10.1): Extracting archive
- Installing phpunit/phpunit (8.5.8): Extracting archive
- Installing picqer/php-barcode-generator (v0.3): Extracting archive
- Installing rap2hpoutre/laravel-log-viewer (v1.6.1): Extracting archive
- Installing twilio/sdk (6.10.0): Extracting archive Package jakub-onderka/php-console-color is abandoned, you should avoid using it. Use php-parallel-lint/php-console-color instead. Package jakub-onderka/php-console-highlighter is abandoned, you should avoid using it. Use php-parallel-lint/php-console-highlighter instead. Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested. Generating optimized autoload files
Illuminate\Foundation\ComposerScripts::postAutoloadDump Deprecation Notice: Return type of Illuminate\Container\Container::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the
[\ReturnTypeWillChange] attribute should be used to temporarily suppress
the notice in /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Container/Container.php:1232 Deprecation Notice: Return type of Illuminate\Container\Container::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the
[\ReturnTypeWillChange] attribute should be used to temporarily suppress
the notice in /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Container/Container.php:1243 Deprecation Notice: Return type of Illuminate\Container\Container::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Container/Container.php:1255 Deprecation Notice: Return type of Illuminate\Container\Container::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the
[\ReturnTypeWillChange] attribute should be used to temporarily suppress
the notice in /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Container/Container.php:1268 Deprecation Notice: Return type of Dotenv\Environment\AbstractVariables::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the
[\ReturnTypeWillChange] attribute should be used to temporarily suppress
the notice in /Applications/MAMP/htdocs/sms/vendor/vlucas/phpdotenv/src/Environment/AbstractVariables.php:162 Deprecation Notice: Return type of Dotenv\Environment\AbstractVariables::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the
[\ReturnTypeWillChange] attribute should be used to temporarily suppress
the notice in /Applications/MAMP/htdocs/sms/vendor/vlucas/phpdotenv/src/Environment/AbstractVariables.php:170 Deprecation Notice: Return type of Dotenv\Environment\AbstractVariables::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/vlucas/phpdotenv/src/Environment/AbstractVariables.php:178 Deprecation Notice: Return type of Dotenv\Environment\AbstractVariables::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the
[\ReturnTypeWillChange] attribute should be used to temporarily suppress
the notice in /Applications/MAMP/htdocs/sms/vendor/vlucas/phpdotenv/src/Environment/AbstractVariables.php:186 Deprecation Notice: Return type of PhpOption\None::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/phpoption/phpoption/src/PhpOption/None.php:118 @php https://github.com/php artisan package:discover --ansi PHP Deprecated: Return type of Illuminate\Container\Container::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the
[\ReturnTypeWillChange] attribute should be used to temporarily suppress
the notice in /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1232
Deprecated: Return type of Illuminate\Container\Container::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the
[\ReturnTypeWillChange] attribute should be used to temporarily suppress
the notice in /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1232 PHP Deprecated: Return type of Illuminate\Container\Container::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the
[\ReturnTypeWillChange] attribute should be used to temporarily suppress
the notice in /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1243
Deprecated: Return type of Illuminate\Container\Container::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1243 PHP Deprecated: Return type of Illuminate\Container\Container::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1255
Deprecated: Return type of Illuminate\Container\Container::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1255 PHP Deprecated: Return type of Illuminate\Container\Container::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the
[\ReturnTypeWillChange] attribute should be used to temporarily suppress
the notice in /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1268
Deprecated: Return type of Illuminate\Container\Container::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the
[\ReturnTypeWillChange] attribute should be used to temporarily suppress
the notice in /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1268 PHP Deprecated: Return type of Dotenv\Environment\AbstractVariables::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the
[\ReturnTypeWillChange] attribute should be used to temporarily suppress
the notice in /Applications/MAMP/htdocs/sms/vendor/vlucas/phpdotenv/src/Environment/AbstractVariables.php on line 162
Deprecated: Return type of Dotenv\Environment\AbstractVariables::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the
[\ReturnTypeWillChange] attribute should be used to temporarily suppress
the notice in /Applications/MAMP/htdocs/sms/vendor/vlucas/phpdotenv/src/Environment/AbstractVariables.php on line 162 PHP Deprecated: Return type of Dotenv\Environment\AbstractVariables::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the
[\ReturnTypeWillChange] attribute should be used to temporarily suppress
the notice in /Applications/MAMP/htdocs/sms/vendor/vlucas/phpdotenv/src/Environment/AbstractVariables.php on line 170
Deprecated: Return type of Dotenv\Environment\AbstractVariables::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the
[\ReturnTypeWillChange] attribute should be used to temporarily suppress
the notice in /Applications/MAMP/htdocs/sms/vendor/vlucas/phpdotenv/src/Environment/AbstractVariables.php on line 170 PHP Deprecated: Return type of Dotenv\Environment\AbstractVariables::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/vlucas/phpdotenv/src/Environment/AbstractVariables.php on line 178
Deprecated: Return type of Dotenv\Environment\AbstractVariables::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/vlucas/phpdotenv/src/Environment/AbstractVariables.php on line 178 PHP Deprecated: Return type of Dotenv\Environment\AbstractVariables::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the
[\ReturnTypeWillChange] attribute should be used to temporarily suppress
the notice in /Applications/MAMP/htdocs/sms/vendor/vlucas/phpdotenv/src/Environment/AbstractVariables.php on line 186
Deprecated: Return type of Dotenv\Environment\AbstractVariables::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the
[\ReturnTypeWillChange] attribute should be used to temporarily suppress
the notice in /Applications/MAMP/htdocs/sms/vendor/vlucas/phpdotenv/src/Environment/AbstractVariables.php on line 186 PHP Deprecated: Return type of PhpOption\None::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the
[\ReturnTypeWillChange] attribute should be used to temporarily suppress
the notice in /Applications/MAMP/htdocs/sms/vendor/phpoption/phpoption/src/PhpOption/None.php on line 118
Deprecated: Return type of PhpOption\None::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the
[\ReturnTypeWillChange] attribute should be used to temporarily suppress
the notice in /Applications/MAMP/htdocs/sms/vendor/phpoption/phpoption/src/PhpOption/None.php on line 118 PHP Deprecated: Return type of PhpOption\Some::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the
[\ReturnTypeWillChange] attribute should be used to temporarily suppress
the notice in /Applications/MAMP/htdocs/sms/vendor/phpoption/phpoption/src/PhpOption/Some.php on line 152
Deprecated: Return type of PhpOption\Some::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the
[\ReturnTypeWillChange] attribute should be used to temporarily suppress
the notice in /Applications/MAMP/htdocs/sms/vendor/phpoption/phpoption/src/PhpOption/Some.php on line 152 PHP Deprecated: Return type of Illuminate\Config\Repository::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the
[\ReturnTypeWillChange] attribute should be used to temporarily suppress
the notice in /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Config/Repository.php on line 141
Deprecated: Return type of Illuminate\Config\Repository::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the
[\ReturnTypeWillChange] attribute should be used to temporarily suppress
the notice in /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Config/Repository.php on line 141 PHP Deprecated: Return type of Illuminate\Config\Repository::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the
[\ReturnTypeWillChange] attribute should be used to temporarily suppress
the notice in /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Config/Repository.php on line 152
Deprecated: Return type of Illuminate\Config\Repository::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Config/Repository.php on line 152 PHP Deprecated: Return type of Illuminate\Config\Repository::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Config/Repository.php on line 164
Deprecated: Return type of Illuminate\Config\Repository::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Config/Repository.php on line 164 PHP Deprecated: Return type of Illuminate\Config\Repository::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the
[\ReturnTypeWillChange] attribute should be used to temporarily suppress
the notice in /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Config/Repository.php on line 175
Deprecated: Return type of Illuminate\Config\Repository::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Config/Repository.php on line 175 PHP Deprecated: Return type of Symfony\Component\Finder\Finder::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the
[\ReturnTypeWillChange] attribute should be used to temporarily suppress
the notice in /Applications/MAMP/htdocs/sms/vendor/symfony/finder/Finder.php on line 620
Deprecated: Return type of Symfony\Component\Finder\Finder::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/symfony/finder/Finder.php on line 620 PHP Deprecated: Return type of Symfony\Component\Finder\Finder::count() should either be compatible with Countable::count(): int, or the
[\ReturnTypeWillChange] attribute should be used to temporarily suppress
the notice in /Applications/MAMP/htdocs/sms/vendor/symfony/finder/Finder.php on line 691
Deprecated: Return type of Symfony\Component\Finder\Finder::count() should either be compatible with Countable::count(): int, or the
[\ReturnTypeWillChange] attribute should be used to temporarily suppress
the notice in /Applications/MAMP/htdocs/sms/vendor/symfony/finder/Finder.php on line 691 PHP Deprecated: Return type of Symfony\Component\Finder\Iterator\FileTypeFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the
[\ReturnTypeWillChange] attribute should be used to temporarily suppress
the notice in /Applications/MAMP/htdocs/sms/vendor/symfony/finder/Iterator/FileTypeFilterIterator.php on line 42
Deprecated: Return type of Symfony\Component\Finder\Iterator\FileTypeFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the
[\ReturnTypeWillChange] attribute should be used to temporarily suppress
the notice in /Applications/MAMP/htdocs/sms/vendor/symfony/finder/Iterator/FileTypeFilterIterator.php on line 42 PHP Deprecated: Return type of Symfony\Component\Finder\Iterator\RecursiveDirectoryIterator::getChildren() should either be compatible with RecursiveDirectoryIterator::getChildren(): RecursiveDirectoryIterator, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/symfony/finder/Iterator/RecursiveDirectoryIterator.php on line 85
Deprecated: Return type of Symfony\Component\Finder\Iterator\RecursiveDirectoryIterator::getChildren() should either be compatible with RecursiveDirectoryIterator::getChildren(): RecursiveDirectoryIterator, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/symfony/finder/Iterator/RecursiveDirectoryIterator.php on line 85 PHP Deprecated: Return type of Symfony\Component\Finder\Iterator\RecursiveDirectoryIterator::rewind() should either be compatible with FilesystemIterator::rewind(): void, or the
[\ReturnTypeWillChange] attribute should be used to temporarily suppress
the notice in /Applications/MAMP/htdocs/sms/vendor/symfony/finder/Iterator/RecursiveDirectoryIterator.php on line 113
Deprecated: Return type of Symfony\Component\Finder\Iterator\RecursiveDirectoryIterator::rewind() should either be compatible with FilesystemIterator::rewind(): void, or the
[\ReturnTypeWillChange] attribute should be used to temporarily suppress
the notice in /Applications/MAMP/htdocs/sms/vendor/symfony/finder/Iterator/RecursiveDirectoryIterator.php on line 113 PHP Deprecated: Return type of Symfony\Component\Finder\Iterator\RecursiveDirectoryIterator::current() should either be compatible with FilesystemIterator::current(): SplFileInfo|FilesystemIterator|string, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/symfony/finder/Iterator/RecursiveDirectoryIterator.php on line 61
Deprecated: Return type of Symfony\Component\Finder\Iterator\RecursiveDirectoryIterator::current() should either be compatible with FilesystemIterator::current(): SplFileInfo|FilesystemIterator|string, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/symfony/finder/Iterator/RecursiveDirectoryIterator.php on line 61 PHP Deprecated: Return type of Symfony\Component\Finder\Iterator\ExcludeDirectoryFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the
[\ReturnTypeWillChange] attribute should be used to temporarily suppress
the notice in /Applications/MAMP/htdocs/sms/vendor/symfony/finder/Iterator/ExcludeDirectoryFilterIterator.php on line 55
Deprecated: Return type of Symfony\Component\Finder\Iterator\ExcludeDirectoryFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the
[\ReturnTypeWillChange] attribute should be used to temporarily suppress
the notice in /Applications/MAMP/htdocs/sms/vendor/symfony/finder/Iterator/ExcludeDirectoryFilterIterator.php on line 55 PHP Deprecated: Return type of Symfony\Component\Finder\Iterator\ExcludeDirectoryFilterIterator::hasChildren() should either be compatible with RecursiveIterator::hasChildren(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/symfony/finder/Iterator/ExcludeDirectoryFilterIterator.php on line 74
Deprecated: Return type of Symfony\Component\Finder\Iterator\ExcludeDirectoryFilterIterator::hasChildren() should either be compatible with RecursiveIterator::hasChildren(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/symfony/finder/Iterator/ExcludeDirectoryFilterIterator.php on line 74 PHP Deprecated: Return type of Symfony\Component\Finder\Iterator\ExcludeDirectoryFilterIterator::getChildren() should either be compatible with RecursiveIterator::getChildren(): ?RecursiveIterator, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/symfony/finder/Iterator/ExcludeDirectoryFilterIterator.php on line 79
Deprecated: Return type of Symfony\Component\Finder\Iterator\ExcludeDirectoryFilterIterator::getChildren() should either be compatible with RecursiveIterator::getChildren(): ?RecursiveIterator, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/symfony/finder/Iterator/ExcludeDirectoryFilterIterator.php on line 79 PHP Deprecated: Return type of Symfony\Component\Finder\Iterator\FilenameFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the
[\ReturnTypeWillChange] attribute should be used to temporarily suppress
the notice in /Applications/MAMP/htdocs/sms/vendor/symfony/finder/Iterator/FilenameFilterIterator.php on line 28
Deprecated: Return type of Symfony\Component\Finder\Iterator\FilenameFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the
[\ReturnTypeWillChange] attribute should be used to temporarily suppress
the notice in /Applications/MAMP/htdocs/sms/vendor/symfony/finder/Iterator/FilenameFilterIterator.php on line 28 PHP Deprecated: Return type of Symfony\Component\Finder\Iterator\PathFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the
[\ReturnTypeWillChange] attribute should be used to temporarily suppress
the notice in /Applications/MAMP/htdocs/sms/vendor/symfony/finder/Iterator/PathFilterIterator.php on line 27
Deprecated: Return type of Symfony\Component\Finder\Iterator\PathFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the
[\ReturnTypeWillChange] attribute should be used to temporarily suppress
the notice in /Applications/MAMP/htdocs/sms/vendor/symfony/finder/Iterator/PathFilterIterator.php on line 27 PHP Fatal error: During inheritance of ArrayAccess: Uncaught ErrorException: Return type of Illuminate\Support\Collection::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the
[\ReturnTypeWillChange] attribute should be used to temporarily suppress
the notice in /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Support/Collection.php:1277 Stack trace:
0
/Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Support/Collection.php(11): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8192, 'Return type of ...', '/Applications/M...', 1277)
1 https://github.com/hrshadhin/school-management-system/issues/1
/Applications/MAMP/htdocs/sms/vendor/composer/ClassLoader.php(571): include('/Applications/M...')
2 https://github.com/hrshadhin/school-management-system/issues/2
/Applications/MAMP/htdocs/sms/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile('/Applications/M...')
3 https://github.com/hrshadhin/school-management-system/issues/3
/Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Support/helpers.php(109): Composer\Autoload\ClassLoader->loadClass('Illuminate\Supp...')
4 https://github.com/hrshadhin/school-management-system/pull/4
/Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(130): collect(Array)
5 https://github.com/hrshadhin/school-management-system/issues/5
/Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(106): Illuminate\Foundation\PackageManifest->build()
6 https://github.com/hrshadhin/school-management-system/issues/6
/Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(89): Illuminate\Foundation\PackageManifest->getManifest()
7 https://github.com/hrshadhin/school-management-system/issues/7
/Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(78): Illuminate\Foundation\PackageManifest->config('aliases')
8 https://github.com/hrshadhin/school-management-system/pull/8
/Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterFacades.php(26): Illuminate\Foundation\PackageManifest->aliases()
9 https://github.com/hrshadhin/school-management-system/issues/9
/Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(219): Illuminate\Foundation\Bootstrap\RegisterFacades->bootstrap(Object(Illuminate\Foundation\Application))
10 https://github.com/hrshadhin/school-management-system/issues/10
/Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(320): Illuminate\Foundation\Application->bootstrapWith(Array)
11 https://github.com/hrshadhin/school-management-system/issues/11
/Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(129): Illuminate\Foundation\Console\Kernel->bootstrap()
12 https://github.com/hrshadhin/school-management-system/issues/12
/Applications/MAMP/htdocs/sms/artisan(37): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
13 https://github.com/hrshadhin/school-management-system/issues/13
{main} in /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Support/Collection.php on line 11
In Collection.php line 11:
During inheritance of ArrayAccess: Uncaught ErrorException: Return type of Illuminate\Support\Collection::offsetExi sts($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWill Change] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/laravel /framework/src/Illuminate/Support/Collection.php:1277 Stack trace:
0
/Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Support/Collection.php(11): Illuminate\Fou ndation\Bootstrap\HandleExceptions->handleError(8192, 'Return type of ...', '/Applications/M...', 1277)
1 https://github.com/hrshadhin/school-management-system/issues/1
/Applications/MAMP/htdocs/sms/vendor/composer/ClassLoader.php(571): include('/Applications/M...')
2 https://github.com/hrshadhin/school-management-system/issues/2
/Applications/MAMP/htdocs/sms/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile('/Applications /M...')
3 https://github.com/hrshadhin/school-management-system/issues/3
/Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Support/helpers.php(109): Composer\Autoloa d\ClassLoader->loadClass('Illuminate\Supp...')
4 https://github.com/hrshadhin/school-management-system/pull/4
/Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(130): colle ct(Array)
5 https://github.com/hrshadhin/school-management-system/issues/5
/Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(106): Illum inate\Foundation\PackageManifest->build()
6 https://github.com/hrshadhin/school-management-system/issues/6
/Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(89): Illumi nate\Foundation\PackageManifest->getManifest()
7 https://github.com/hrshadhin/school-management-system/issues/7
/Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(78): Illumi nate\Foundation\PackageManifest->config('aliases')
8 https://github.com/hrshadhin/school-management-system/pull/8
/Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterFacades.php(2 6): Illuminate\Foundation\PackageManifest->aliases()
9 https://github.com/hrshadhin/school-management-system/issues/9
/Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(219): Illuminat
e\Foundation\Bootstrap\RegisterFacades->bootstrap(Object(Illuminate\Foundation\Application))
10 https://github.com/hrshadhin/school-management-system/issues/10
/Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(320): Illum inate\Foundation\Application->bootstrapWith(Array)
11 https://github.com/hrshadhin/school-management-system/issues/11
/Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(129): Illum inate\Foundation\Console\Kernel->bootstrap()
12 https://github.com/hrshadhin/school-management-system/issues/12
/Applications/MAMP/htdocs/sms/artisan(37): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Componen t\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
13 https://github.com/hrshadhin/school-management-system/issues/13
{main}
Script @php https://github.com/php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 255`
Please help me to setup.
— Reply to this email directly, view it on GitHub https://github.com/hrshadhin/school-management-system/issues/220, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARWENOQTW32QHH4GE2GRGLV2HYY3ANCNFSM57EUN5QQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Ok.. Working.. Thank you..
after cloning got this message.
So changed php:^7.2 to php "php": "^7.2|^8.1", as per stackoverflow suggestions.
than getting this error.
result of composer install
So changed command composer install --ignore-platform-reqs`.
Package operations: 115 installs, 0 updates, 0 removals
Installing dependencies from lock file (including require-dev) Verifying lock file contents can be installed on current platform. Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run
composer updateor
composer updateDeprecated: Return type of Illuminate\Container\Container::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1232 PHP Deprecated: Return type of Illuminate\Container\Container::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1243
Deprecated: Return type of Illuminate\Container\Container::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1243 PHP Deprecated: Return type of Illuminate\Container\Container::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1255
Deprecated: Return type of Illuminate\Container\Container::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1255 PHP Deprecated: Return type of Illuminate\Container\Container::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1268
Deprecated: Return type of Illuminate\Container\Container::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1268 PHP Deprecated: Return type of Dotenv\Environment\AbstractVariables::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/vlucas/phpdotenv/src/Environment/AbstractVariables.php on line 162
Deprecated: Return type of Dotenv\Environment\AbstractVariables::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/vlucas/phpdotenv/src/Environment/AbstractVariables.php on line 162 PHP Deprecated: Return type of Dotenv\Environment\AbstractVariables::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/vlucas/phpdotenv/src/Environment/AbstractVariables.php on line 170
Deprecated: Return type of Dotenv\Environment\AbstractVariables::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/vlucas/phpdotenv/src/Environment/AbstractVariables.php on line 170 PHP Deprecated: Return type of Dotenv\Environment\AbstractVariables::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/vlucas/phpdotenv/src/Environment/AbstractVariables.php on line 178
Deprecated: Return type of Dotenv\Environment\AbstractVariables::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/vlucas/phpdotenv/src/Environment/AbstractVariables.php on line 178 PHP Deprecated: Return type of Dotenv\Environment\AbstractVariables::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/vlucas/phpdotenv/src/Environment/AbstractVariables.php on line 186
Deprecated: Return type of Dotenv\Environment\AbstractVariables::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/vlucas/phpdotenv/src/Environment/AbstractVariables.php on line 186 PHP Deprecated: Return type of PhpOption\None::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/phpoption/phpoption/src/PhpOption/None.php on line 118
Deprecated: Return type of PhpOption\None::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/phpoption/phpoption/src/PhpOption/None.php on line 118 PHP Deprecated: Return type of PhpOption\Some::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/phpoption/phpoption/src/PhpOption/Some.php on line 152
Deprecated: Return type of PhpOption\Some::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/phpoption/phpoption/src/PhpOption/Some.php on line 152 PHP Deprecated: Return type of Illuminate\Config\Repository::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Config/Repository.php on line 141
Deprecated: Return type of Illuminate\Config\Repository::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Config/Repository.php on line 141 PHP Deprecated: Return type of Illuminate\Config\Repository::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Config/Repository.php on line 152
Deprecated: Return type of Illuminate\Config\Repository::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Config/Repository.php on line 152 PHP Deprecated: Return type of Illuminate\Config\Repository::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Config/Repository.php on line 164
Deprecated: Return type of Illuminate\Config\Repository::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Config/Repository.php on line 164 PHP Deprecated: Return type of Illuminate\Config\Repository::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Config/Repository.php on line 175
Deprecated: Return type of Illuminate\Config\Repository::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Config/Repository.php on line 175 PHP Deprecated: Return type of Symfony\Component\Finder\Finder::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/symfony/finder/Finder.php on line 620
Deprecated: Return type of Symfony\Component\Finder\Finder::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/symfony/finder/Finder.php on line 620 PHP Deprecated: Return type of Symfony\Component\Finder\Finder::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/symfony/finder/Finder.php on line 691
Deprecated: Return type of Symfony\Component\Finder\Finder::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/symfony/finder/Finder.php on line 691 PHP Deprecated: Return type of Symfony\Component\Finder\Iterator\FileTypeFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/symfony/finder/Iterator/FileTypeFilterIterator.php on line 42
Deprecated: Return type of Symfony\Component\Finder\Iterator\FileTypeFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/symfony/finder/Iterator/FileTypeFilterIterator.php on line 42 PHP Deprecated: Return type of Symfony\Component\Finder\Iterator\RecursiveDirectoryIterator::getChildren() should either be compatible with RecursiveDirectoryIterator::getChildren(): RecursiveDirectoryIterator, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/symfony/finder/Iterator/RecursiveDirectoryIterator.php on line 85
Deprecated: Return type of Symfony\Component\Finder\Iterator\RecursiveDirectoryIterator::getChildren() should either be compatible with RecursiveDirectoryIterator::getChildren(): RecursiveDirectoryIterator, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/symfony/finder/Iterator/RecursiveDirectoryIterator.php on line 85 PHP Deprecated: Return type of Symfony\Component\Finder\Iterator\RecursiveDirectoryIterator::rewind() should either be compatible with FilesystemIterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/symfony/finder/Iterator/RecursiveDirectoryIterator.php on line 113
Deprecated: Return type of Symfony\Component\Finder\Iterator\RecursiveDirectoryIterator::rewind() should either be compatible with FilesystemIterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/symfony/finder/Iterator/RecursiveDirectoryIterator.php on line 113 PHP Deprecated: Return type of Symfony\Component\Finder\Iterator\RecursiveDirectoryIterator::current() should either be compatible with FilesystemIterator::current(): SplFileInfo|FilesystemIterator|string, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/symfony/finder/Iterator/RecursiveDirectoryIterator.php on line 61
Deprecated: Return type of Symfony\Component\Finder\Iterator\RecursiveDirectoryIterator::current() should either be compatible with FilesystemIterator::current(): SplFileInfo|FilesystemIterator|string, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/symfony/finder/Iterator/RecursiveDirectoryIterator.php on line 61 PHP Deprecated: Return type of Symfony\Component\Finder\Iterator\ExcludeDirectoryFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/symfony/finder/Iterator/ExcludeDirectoryFilterIterator.php on line 55
Deprecated: Return type of Symfony\Component\Finder\Iterator\ExcludeDirectoryFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/symfony/finder/Iterator/ExcludeDirectoryFilterIterator.php on line 55 PHP Deprecated: Return type of Symfony\Component\Finder\Iterator\ExcludeDirectoryFilterIterator::hasChildren() should either be compatible with RecursiveIterator::hasChildren(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/symfony/finder/Iterator/ExcludeDirectoryFilterIterator.php on line 74
Deprecated: Return type of Symfony\Component\Finder\Iterator\ExcludeDirectoryFilterIterator::hasChildren() should either be compatible with RecursiveIterator::hasChildren(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/symfony/finder/Iterator/ExcludeDirectoryFilterIterator.php on line 74 PHP Deprecated: Return type of Symfony\Component\Finder\Iterator\ExcludeDirectoryFilterIterator::getChildren() should either be compatible with RecursiveIterator::getChildren(): ?RecursiveIterator, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/symfony/finder/Iterator/ExcludeDirectoryFilterIterator.php on line 79
Deprecated: Return type of Symfony\Component\Finder\Iterator\ExcludeDirectoryFilterIterator::getChildren() should either be compatible with RecursiveIterator::getChildren(): ?RecursiveIterator, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/symfony/finder/Iterator/ExcludeDirectoryFilterIterator.php on line 79 PHP Deprecated: Return type of Symfony\Component\Finder\Iterator\FilenameFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/symfony/finder/Iterator/FilenameFilterIterator.php on line 28
Deprecated: Return type of Symfony\Component\Finder\Iterator\FilenameFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/symfony/finder/Iterator/FilenameFilterIterator.php on line 28 PHP Deprecated: Return type of Symfony\Component\Finder\Iterator\PathFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/symfony/finder/Iterator/PathFilterIterator.php on line 27
Deprecated: Return type of Symfony\Component\Finder\Iterator\PathFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/symfony/finder/Iterator/PathFilterIterator.php on line 27 PHP Fatal error: During inheritance of ArrayAccess: Uncaught ErrorException: Return type of Illuminate\Support\Collection::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Support/Collection.php:1277 Stack trace:
0 /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Support/Collection.php(11): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8192, 'Return type of ...', '/Applications/M...', 1277)
1 /Applications/MAMP/htdocs/sms/vendor/composer/ClassLoader.php(571): include('/Applications/M...')
2 /Applications/MAMP/htdocs/sms/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile('/Applications/M...')
3 /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Support/helpers.php(109): Composer\Autoload\ClassLoader->loadClass('Illuminate\Supp...')
4 /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(130): collect(Array)
5 /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(106): Illuminate\Foundation\PackageManifest->build()
6 /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(89): Illuminate\Foundation\PackageManifest->getManifest()
7 /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(78): Illuminate\Foundation\PackageManifest->config('aliases')
8 /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterFacades.php(26): Illuminate\Foundation\PackageManifest->aliases()
9 /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(219): Illuminate\Foundation\Bootstrap\RegisterFacades->bootstrap(Object(Illuminate\Foundation\Application))
10 /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(320): Illuminate\Foundation\Application->bootstrapWith(Array)
11 /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(129): Illuminate\Foundation\Console\Kernel->bootstrap()
12 /Applications/MAMP/htdocs/sms/artisan(37): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
13 {main} in /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Support/Collection.php on line 11
In Collection.php line 11:
During inheritance of ArrayAccess: Uncaught ErrorException: Return type of Illuminate\Support\Collection::offsetExi
sts($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWill
Change] attribute should be used to temporarily suppress the notice in /Applications/MAMP/htdocs/sms/vendor/laravel
/framework/src/Illuminate/Support/Collection.php:1277
Stack trace:
0 /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Support/Collection.php(11): Illuminate\Fou
ndation\Bootstrap\HandleExceptions->handleError(8192, 'Return type of ...', '/Applications/M...', 1277)
1 /Applications/MAMP/htdocs/sms/vendor/composer/ClassLoader.php(571): include('/Applications/M...')
2 /Applications/MAMP/htdocs/sms/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile('/Applications
/M...')
3 /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Support/helpers.php(109): Composer\Autoloa
d\ClassLoader->loadClass('Illuminate\Supp...')
4 /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(130): colle
ct(Array)
5 /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(106): Illum
inate\Foundation\PackageManifest->build()
6 /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(89): Illumi
nate\Foundation\PackageManifest->getManifest()
7 /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(78): Illumi
nate\Foundation\PackageManifest->config('aliases')
8 /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterFacades.php(2
6): Illuminate\Foundation\PackageManifest->aliases()
9 /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(219): Illuminat
e\Foundation\Bootstrap\RegisterFacades->bootstrap(Object(Illuminate\Foundation\Application))
10 /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(320): Illum
inate\Foundation\Application->bootstrapWith(Array)
11 /Applications/MAMP/htdocs/sms/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(129): Illum
inate\Foundation\Console\Kernel->bootstrap()
12 /Applications/MAMP/htdocs/sms/artisan(37): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Componen
t\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
13 {main}
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 255`
Please help me to setup.