cachet icon indicating copy to clipboard operation
cachet copied to clipboard

ReflectionParameter deprecated

Open nobicycle opened this issue 4 years ago • 1 comments

During composer install:

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 /srv/http/cachet/vendor/laravel/framework/src/Illuminate/Support/Collection.php:1911
Stack trace:
#0 /srv/http/cachet/vendor/laravel/framework/src/Illuminate/Support/Collection.php(42): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
#1 /srv/http/cachet/vendor/composer/ClassLoader.php(571): include('...')
#2 /srv/http/cachet/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile()
#3 /srv/http/cachet/vendor/laravel/framework/src/Illuminate/Support/helpers.php(422): Composer\Autoload\ClassLoader->loadClass()
#4 /srv/http/cachet/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(123): collect()
#5 /srv/http/cachet/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(97): Illuminate\Foundation\PackageManifest->build()
#6 /srv/http/cachet/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(80): Illuminate\Foundation\PackageManifest->getManifest()
#7 /srv/http/cachet/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterFacades.php(26): Illuminate\Foundation\PackageManifest->aliases()
#8 /srv/http/cachet/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(211): Illuminate\Foundation\Bootstrap\RegisterFacades->bootstrap()
#9 /srv/http/cachet/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(297): Illuminate\Foundation\Application->bootstrapWith()
#10 /srv/http/cachet/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(120): Illuminate\Foundation\Console\Kernel->bootstrap()
#11 /srv/http/cachet/artisan(35): Illuminate\Foundation\Console\Kernel->handle()
#12 {main} in /srv/http/cachet/vendor/laravel/framework/src/Illuminate/Support/Collection.php on line 42
PHP Fatal error:  Uncaught ErrorException: Method ReflectionParameter::getClass() is deprecated in /srv/http/cachet/vendor/laravel/framework/src/Illuminate/Container/Container.php:838
Stack trace:

PHP 8.1.3 (cli) (built: Feb 16 2022 13:27:56) (NTS)

Regards

nobicycle avatar Apr 02 '22 04:04 nobicycle

:wave: Thank you for opening your first issue. I'm just an automated bot that's here to help you get the information you need quicker, so please ignore this message if it doesn't apply to your issue. If you're looking for support, you should try the Slack group by registering your email address at https://cachethq-slack.herokuapp.com. Alternatively, email [email protected] for our Professional support service (please note, this a paid service.) If you're issue is with documentation, you can suggest edits by clicking the Suggest Edits link on any page, or open an issue at https://github.com/CachetHQ/Docs

welcome[bot] avatar Apr 02 '22 04:04 welcome[bot]

Cachet 2.x isn't compatible with 8.1

jbrooksuk avatar Aug 10 '23 07:08 jbrooksuk