Facebook
From Beige Water Vole, 2 Years ago, written in Plain Text.
This paste is a reply to Laravel error deprecated from Mat - view diff
Embed
Download Paste or View Raw
Hits: 225
  1. bash-3.2# php artisan --version
  2. 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 /Users/mat/project/src/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1267
  3.  
  4. 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 /Users/mat/project/src/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1267
  5. 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 /Users/mat/project/src/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1278
  6.  
  7. 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 /Users/mat/project/src/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1278
  8. 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 /Users/mat/project/src/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1290
  9.  
  10. 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 /Users/mat/project/src/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1290
  11. 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 /Users/mat/project/src/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1303
  12.  
  13. 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 /Users/mat/project/src/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1303
  14. 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 /Users/mat/project/src/vendor/laravel/framework/src/Illuminate/Config/Repository.php on line 141
  15.  
  16. 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 /Users/mat/project/src/vendor/laravel/framework/src/Illuminate/Config/Repository.php on line 141
  17. 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 /Users/mat/project/src/vendor/laravel/framework/src/Illuminate/Config/Repository.php on line 152
  18.  
  19. 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 /Users/mat/project/src/vendor/laravel/framework/src/Illuminate/Config/Repository.php on line 152
  20. 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 /Users/mat/project/src/vendor/laravel/framework/src/Illuminate/Config/Repository.php on line 164
  21.  
  22. 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 /Users/mat/project/src/vendor/laravel/framework/src/Illuminate/Config/Repository.php on line 164
  23. 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 /Users/mat/project/src/vendor/laravel/framework/src/Illuminate/Config/Repository.php on line 175
  24.  
  25. 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 /Users/mat/project/src/vendor/laravel/framework/src/Illuminate/Config/Repository.php on line 175
  26. 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 /Users/mat/project/src/vendor/laravel/framework/src/Illuminate/Collections/Collection.php:1354
  27. Stack trace:
  28. #0 /Users/mat/project/src/vendor/laravel/framework/src/Illuminate/Collections/Collection.php(11): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8192, 'Return type of ...', '/Users/matteo/D...', 1354)
  29. #1 /Users/mat/project/src/vendor/composer/ClassLoader.php(571): include('/Users/matteo/D...')
  30. #2 /Users/mat/project/src/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile('/Users/matteo/D...')
  31. #3 /Users/mat/project/src/vendor/laravel/framework/src/Illuminate/Collections/helpers.php(15): Composer\Autoload\ClassLoader->loadClass('Illuminate\\Supp...')
  32. #4 /Users/mat/project/src/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(130): collect(Array)
  33. #5 /Users/mat/project/src/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(106): Illuminate\Foundation\PackageManifest->build()
  34. #6 /Users/mat/project/src/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(89): Illuminate\Foundation\PackageManifest->getManifest()
  35. #7 /Users/mat/project/src/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(78): Illuminate\Foundation\PackageManifest->config('aliases')
  36. #8 /Users/mat/project/src/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterFacades.php(26): Illuminate\Foundation\PackageManifest->aliases()
  37. #9 /Users/mat/project/src/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(230): Illuminate\Foundation\Bootstrap\RegisterFacades->bootstrap(Object(Illuminate\Foundation\Application))
  38. #10 /Users/mat/project/src/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(310): Illuminate\Foundation\Application->bootstrapWith(Array)
  39. #11 /Users/mat/project/src/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(127): Illuminate\Foundation\Console\Kernel->bootstrap()
  40. #12 /Users/mat/project/src/artisan(37): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
  41. #13 {main} in /Users/mat/project/src/vendor/laravel/framework/src/Illuminate/Collections/Collection.php on line 11
  42.  
  43. In Collection.php line 11:
  44.                                                                                                                                                                                                                                          
  45.   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 #[\ReturnTypeWill  
  46.   Change] attribute should be used to temporarily suppress the notice in /Users/mat/project/src/vendor/laravel/framework/src/Illuminate/Collections/Collection.php:1354                                      
  47.   Stack trace:                                                                                                                                                                                                                            
  48.   #0 /Users/mat/project/src/vendor/laravel/framework/src/Illuminate/Collections/Collection.php(11): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8192, 'Return type of ...', '/Users/matte  
  49.   o/D...', 1354)                                                                                                                                                                                                                          
  50.   #1 /Users/mat/project/src/vendor/composer/ClassLoader.php(571): include('/Users/matteo/D...')                                                                                                              
  51.   #2 /Users/mat/project/src/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile('/Users/matteo/D...')                                                                                        
  52.   #3 /Users/mat/project/src/vendor/laravel/framework/src/Illuminate/Collections/helpers.php(15): Composer\Autoload\ClassLoader->loadClass('Illuminate\\Supp...')                                            
  53.   #4 /Users/mat/project/src/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(130): collect(Array)                                                                                      
  54.   #5 /Users/mat/project/src/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(106): Illuminate\Foundation\PackageManifest->build()                                                      
  55.   #6 /Users/mat/project/src/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(89): Illuminate\Foundation\PackageManifest->getManifest()                                                
  56.   #7 /Users/mat/project/src/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(78): Illuminate\Foundation\PackageManifest->config('aliases')                                            
  57.   #8 /Users/mat/project/src/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterFacades.php(26): Illuminate\Foundation\PackageManifest->aliases()                                          
  58.   #9 /Users/mat/project/src/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(230): Illuminate\Foundation\Bootstrap\RegisterFacades->bootstrap(Object(Illuminate\Foundation\Application))  
  59.   #10 /Users/mat/project/src/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(310): Illuminate\Foundation\Application->bootstrapWith(Array)                                            
  60.   #11 /Users/mat/project/src/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(127): Illuminate\Foundation\Console\Kernel->bootstrap()                                                  
  61.   #12 /Users/mat/project/src/artisan(37): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))            
  62.   #13 {main}                                                                                                                                                                                                                              
  63.                                                                                                                                                                                                                                          
  64.  
  65. bash-3.2#
  66.