Level 122
php version at the command line?
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Dear Friends, I am using Red Hat Server apache in Laravel 10.10. When I try to clear all cache in server using command
php artisan optimize
I got Type error as
Symfony\Component\HttpFoundation\InputBag::get(): Argument #1 ($key) must be of type string, array given, called in /var/www/html/ksitmCareers/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php on line 160
Please help
Thanks
Anes P A
Please or to participate in this conversation.