i need help to solve this error in Laravel project  when run project using commm
i need help to solve this error in Laravel project  when run project using commmand this error show me > @php artisan package:discover PHP Fatal error:  During inheritance of ArrayAccess: Uncaught ErrorException: Return type of IlluminateSupportCollection::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:xampphtdocsbustracking_multivendorlaravelframeworksrcIlluminateSupportCollection.php:1693 Stack trace: #0 C:xampphtdocsbustracking_multivendorlaravelframeworksrcIlluminateSupportCollection.php(19): IlluminateFoundationBootstrapHandleExceptions->handleError(8192, 'Return type of ...', 'C:\xampp\htdocs...', 1693) #1 C:xampphtdocsbustracking_multivendorcomposerClassLoader.php(571): include('C:\xampp\htdocs...') #2 C:xampphtdocsbustracking_multivendorcomposerClassLoader.php(428): ComposerAutoloadincludeFile('C:\xampp\htdocs...') #3 C:xampphtdocsbustracking_multivendorlaravelframeworksrcIlluminateSupporthelpers.php(423): ComposerAutoloadClassLoader->loadClass('Illuminate\Supp...') #4 C:xampphtdocsbustracking_multivendorlaravelframeworksrcIlluminateFoundationPackageManifest.php(121): collect(Array) #5 C:xampphtdocsbustracking_multivendorlaravelframeworksrcIlluminateFoundationPackageManifest.php(97): IlluminateFoundationPackageManifest->build() #6 C:xampphtdocsbustracking_multivendorlaravelframeworksrcIlluminateFoundationPackageManifest.php(80): IlluminateFoundationPackageManifest->getManifest() #7 C:xampphtdocsbustracking_multivendorlaravelframeworksrcIlluminateFoundationBootstrapRegisterFacades.php(26): IlluminateFoundationPackageManifest->aliases() #8 C:xampphtdocsbustracking_multivendorlaravelframeworksrcIlluminateFoundationApplication.php(213): IlluminateFoundationBootstrapRegisterFacades->bootstrap(Object(IlluminateFoundationApplication)) #9 C:xampphtdocsbustracking_multivendorlaravelframeworksrcIlluminateFoundationConsoleKernel.php(296): IlluminateFoundationApplication->bootstrapWith(Array) #10 C:xampphtdocsbustracking_multivendorlaravelframeworksrcIlluminateFoundationConsoleKernel.php(119): IlluminateFoundationConsoleKernel->bootstrap() #11 C:xampphtdocsbustracking_multiartisan(35): IlluminateFoundationConsoleKernel->handle(Object(SymfonyComponentConsoleInputArgvInput), Object(SymfonyComponentConsoleOutputConsoleOutput)) #12 {main} in C:xampphtdocsbustracking_multivendorlaravelframeworksrcIlluminateSupportCollection.php on line 19 PHP Fatal error:  Uncaught ErrorException: Method ReflectionParameter::getClass() is deprecated in C:xampphtdocsbustracking_multivendorlaravelframeworksrcIlluminateContainerContainer.php:811 Stack trace: #0 C:xampphtdocsbustracking_multivendorlaravelframeworksrcIlluminateContainerContainer.php(811): IlluminateFoundationBootstrapHandleExceptions->handleError(8192, 'Method Reflecti...', 'C:\xampp\htdocs...', 811) #1 C:xampphtdocsbustracking_multivendorlaravelframeworksrcIlluminateContainerContainer.php(780): IlluminateContainerContainer->resolveDependencies(Array) #2 C:xampphtdocsbustracking_multivendorlaravelframeworksrcIlluminateContainerContainer.php(631): IlluminateContainerContainer->build('App\Exceptions\...') #3 C:xampphtdocsbustracking_multivendorlaravelframeworksrcIlluminateContainerContainer.php(586): IlluminateContainerContainer->resolve('App\Exceptions\...', Array) #4 C:xampphtdocsbustracking_multivendorlaravelframeworksrcIlluminateFoundationApplication.php(732): IlluminateContainerContainer->make('App\Exceptions\...', Array) #5 C:xampphtdocsbustracking_multivendorlaravelframeworksrcIlluminateContainerContainer.php(256): IlluminateFoundationApplication->make('App\Exceptions\...', Array) #6 C:xampphtdocsbustracking_multivendorlaravelframeworksrcIlluminateContainerContainer.php(749): IlluminateContainerContainer->IlluminateContainer{closure}(Object(IlluminateFoundationApplication), Array) #7 C:xampphtdocsbustracking_multivendorlaravelframeworksrcIlluminateContainerContainer.php(631): IlluminateContainerContainer->build(Object(Closure)) #8 C:xampphtdocsbustracking_multivendorlaravelframeworksrcIlluminateContainerContainer.php(586): IlluminateContainerContainer->resolve('Illuminate\Cont...', Array) #9 C:xampphtdocsbustracking_multivendorlaravelframeworksrcIlluminateFoundationApplication.php(732): IlluminateContainerContainer->make('Illuminate\Cont...', Array) #10 C:xampphtdocsbustracking_multivendorlaravelframeworksrcIlluminateFoundationBootstrapHandleExceptions.php(159): IlluminateFoundationApplication->make('Illuminate\Cont...') #11 C:xampphtdocsbustracking_multivendorlaravelframeworksrcIlluminateFoundationBootstrapHandleExceptions.php(101): IlluminateFoundationBootstrapHandleExceptions->getExceptionHandler() #12 C:xampphtdocsbustracking_multivendorlaravelframeworksrcIlluminateFoundationBootstrapHandleExceptions.php(87): IlluminateFoundationBootstrapHandleExceptions->renderForConsole(Object(ErrorException)) #13 C:xampphtdocsbustracking_multivendorlaravelframeworksrcIlluminateFoundationBootstrapHandleExceptions.php(123): IlluminateFoundationBootstrapHandleExceptions->handleException(Object(ErrorException)) #14 [internal function]: IlluminateFoundationBootstrapHandleExceptions->handleShutdown() #15 {main} thrown in C:xampphtdocsbustracking_multivendorlaravelframeworksrcIlluminateContainerContainer.php on line 811

Leave a Reply

Your email address will not be published.