Getting error while running composer install command

Hi,

I am new to php and trying to setup an application called https://cachethq.io/ which is developed in php.
On trying to install dependencies using command “composer install --no-dev -o” I am getting error:-

Script @php artisan package:discover handling the post-autoload-dump event returned with error code 255

While debugging the application also I am getting below error:-

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 D:\cachet-2.4.1\vendor\laravel\framework\src\Illuminate\Support\Collection.php:1911

Any help or direction to fix the issue please?

Sponsor our Newsletter | Privacy Policy | Terms of Service