Session error after upgrading to laravel 5.4

After upgrading from laravel 5.3 to 5.4, I encountered a vendor error. Error:

Symfony \ Component \ Debug \ Exception \ FatalThrowableError: calling the undefined method Illuminate \ Session \ Store :: set () in /var/www/ostadbank.com/vendor/laravel/framework/src/Illuminate/Support/Manager.php:137

But when I get to my error:

fatal error exception in Manager.php line 137: calling the undefined method Illuminate \ session \ store :: set ()

I go to manager.php 137 page and I see the following line:

public function __call($method, $parameters) { return $this->driver()->$method(...$parameters); }

I'm not sure where to start changing.

See screenshots below:

enter image description here

enter image description here

+4
source share
1 answer

, : https://laravel.com/docs/5.4/upgrade

->set() ->put(). , Laravel set, Laravel. .

+10

Source: https://habr.com/ru/post/1669214/


All Articles