framework: ErrorException: Illegal offset type in isset or empty in new version
- Laravel Version: v7.16.0
- PHP Version: PHP 7.4.7
- Database Driver & Version: Homestead, mariadb
Description:
After updating to v7.16.0 I am getting these errors (was working in v7.15.0). On CLI and on the web version.
ErrorException: Illegal offset type in isset or empty
/test/vendor/laravel/framework/src/Illuminate/Container/Container.php:1159
/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:779
/test/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php:415
/test/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php:396
/test/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php:226
/test/vendor/laravel/framework/src/Illuminate/Database/Connection.php:835
/test/vendor/laravel/framework/src/Illuminate/Database/Connection.php:689
/test/vendor/laravel/framework/src/Illuminate/Database/Connection.php:642
/test/vendor/laravel/framework/src/Illuminate/Database/Connection.php:339
/test/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2203
/test/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2191
/test/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2686
/test/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2192
/test/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:539
/test/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:523
/test/app/Models/Category.php:233
/test/vendor/laravel/framework/src/Illuminate/Cache/Repository.php:383
/test/vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:383
/test/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:261
/test/app/Models/Category.php:235
/test/app/Providers/ComposerServiceProvider.php:24
/test/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:33
/test/vendor/laravel/framework/src/Illuminate/Container/Util.php:37
/test/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:91
/test/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:35
/test/vendor/laravel/framework/src/Illuminate/Container/Container.php:592
/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:867
/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:850
/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:851
/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php:17
/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:230
/test/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php:310
/test/tests/CreatesApplication.php:18
/test/vendor/laravel/framework/src/Illuminate/Foundation/Testing/TestCase.php:102
/test/vendor/laravel/framework/src/Illuminate/Foundation/Testing/TestCase.php:81

Steps To Reproduce:
Update an existing Laravel v7.15.0 to v7.16.0
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 11
- Comments: 17 (9 by maintainers)
Commits related to this issue
- Force laravel version Fix de la version laravel, lié à ce bug : https://github.com/laravel/framework/issues/33230 — committed to mediactive-digital/medkit by stfr 4 years ago
- Force laravel version Fix de la version laravel, lié à ce bug : https://github.com/laravel/framework/issues/33230 — committed to mediactive-digital/medkit by stfr 4 years ago
- Force laravel version Fix de la version laravel, lié à ce bug : https://github.com/laravel/framework/issues/33230 — committed to mediactive-digital/medkit by stfr 4 years ago
- Force laravel version Fix de la version laravel, lié à ce bug : https://github.com/laravel/framework/issues/33230 — committed to mediactive-digital/medkit by stfr 4 years ago
Fixed in 7.16.1
as of yet i saw nothing in this feed that recognized it as a bug, it only had the label “needs more info”. You’re asking to post a model and test. All I’m trying to do was to mention that you don’t need to do much more than do a simple execution of the artisan command to get the error.
understood… looks like for me its the sentry/sentry-laravel package thats the issue.