سلام متن ارور رو بزارید
و این که خب لاراول 5.8 احتمال زیاد با ورژن های جدید php مشکل داره
متن ارور
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 C:\xampp\htdocs\oldRegal\vendor\laravel\framework\src\Illuminate\Support\Collection.php:2060
Stack trace:
#0 C:\xampp\htdocs\oldRegal\vendor\laravel\framework\src\Illuminate\Support\Collection.php(40): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8192, 'Return type of ...', 'C:\\xampp\\htdocs...', 2060)
#1 C:\xampp\htdocs\oldRegal\vendor\composer\ClassLoader.php(444): include('C:\\xampp\\htdocs...')
#2 C:\xampp\htdocs\oldRegal\vendor\composer\ClassLoader.php(322): Composer\Autoload\includeFile('C:\\xampp\\htdocs...')
#3 C:\xampp\htdocs\oldRegal\vendor\laravel\framework\src\Illuminate\Support\helpers.php(471): Composer\Autoload\ClassLoader->loadClass('Illuminate\\Supp...')
#4 C:\xampp\htdocs\oldRegal\vendor\laravel\framework\src\Illuminate\Foundation\PackageManifest.php(80): collect(Array)
#5 C:\xampp\htdocs\oldRegal\vendor\laravel\framework\src\Illuminate\Foundation\Bootstrap\RegisterFacades.php(26): Illuminate\Foundation\PackageManifest->aliases()
#6 C:\xampp\htdocs\oldRegal\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(210): Illuminate\Foundation\Bootstrap\RegisterFacades->bootstrap(Object(Illuminate\Foundation\Application))
#7 C:\xampp\htdocs\oldRegal\vendor\laravel\framework\src\Illuminate\Foundation\Console\Kernel.php(322): Illuminate\Foundation\Application->bootstrapWith(Array)
#8 C:\xampp\htdocs\oldRegal\vendor\laravel\framework\src\Illuminate\Foundation\Console\Kernel.php(131): Illuminate\Foundation\Console\Kernel->bootstrap()
#9 C:\xampp\htdocs\oldRegal\artisan(37): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 {main} in C:\xampp\htdocs\oldRegal\vendor\laravel\framework\src\Illuminate\Support\Collection.php on line 40
PHP Fatal error: Uncaught ErrorException: Method ReflectionParameter::getClass() is deprecated in C:\xampp\htdocs\oldRegal\vendor\laravel\framework\src\Illuminate\Container\Container.php:853
Stack trace:
#0 C:\xampp\htdocs\oldRegal\vendor\laravel\framework\src\Illuminate\Container\Container.php(853): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8192, 'Method Reflecti...', 'C:\\xampp\\htdocs...', 853)
#1 C:\xampp\htdocs\oldRegal\vendor\laravel\framework\src\Illuminate\Container\Container.php(816): Illuminate\Container\Container->resolveDependencies(Array)
#2 C:\xampp\htdocs\oldRegal\vendor\laravel\framework\src\Illuminate\Container\Container.php(667): Illuminate\Container\Container->build('App\\Exceptions\\...')
#3 C:\xampp\htdocs\oldRegal\vendor\laravel\framework\src\Illuminate\Container\Container.php(265): Illuminate\Container\Container->resolve('App\\Exceptions\\...', Array, false)
#4 C:\xampp\htdocs\oldRegal\vendor\laravel\framework\src\Illuminate\Container\Container.php(785): Illuminate\Container\Container->Illuminate\Container\{closure}(Object(Illuminate\Foundation\Application), Array)
#5 C:\xampp\htdocs\oldRegal\vendor\laravel\framework\src\Illuminate\Container\Container.php(667): Illuminate\Container\Container->build(Object(Closure))
#6 C:\xampp\htdocs\oldRegal\vendor\laravel\framework\src\Illuminate\Container\Container.php(615): Illuminate\Container\Container->resolve('Illuminate\\Cont...', Array)
#7 C:\xampp\htdocs\oldRegal\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(767): Illuminate\Container\Container->make('Illuminate\\Cont...', Array)
#8 C:\xampp\htdocs\oldRegal\vendor\laravel\framework\src\Illuminate\Foundation\Bootstrap\HandleExceptions.php(170): Illuminate\Foundation\Application->make('Illuminate\\Cont...')
#9 C:\xampp\htdocs\oldRegal\vendor\laravel\framework\src\Illuminate\Foundation\Bootstrap\HandleExceptions.php(112): Illuminate\Foundation\Bootstrap\HandleExceptions->getExceptionHandler()
#10 C:\xampp\htdocs\oldRegal\vendor\laravel\framework\src\Illuminate\Foundation\Bootstrap\HandleExceptions.php(98): Illuminate\Foundation\Bootstrap\HandleExceptions->renderForConsole(Object(ErrorException))
#11 C:\xampp\htdocs\oldRegal\vendor\laravel\framework\src\Illuminate\Foundation\Bootstrap\HandleExceptions.php(134): Illuminate\Foundation\Bootstrap\HandleExceptions->handleException(Object(ErrorException))
#12 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleShutdown()
#13 {main}
thrown in C:\xampp\htdocs\oldRegal\vendor\laravel\framework\src\Illuminate\Container\Container.php on line 853
اگر مجبور به کار کردن همزمان با پروژه های مختلف با نسخه های گوناگون هستید پیشنهادم اینه به جای استفاده از xampp که خیلی محدودکننده هست از docker یا مثلا laragon استفاده کنید که بتونید به راحتی نسخه php و mysql و وب سرور و ... تون رو بر حسب نیاز پروژه ومستقل از سایر پروژه ها تنظیم کنید.
آیا مایل به ارسال نوتیفیکیشن و اخبار از طرف راکت هستید ؟