Answer the question
In order to leave comments, you need to log in
After upgrading to laravel 5.2 Class cookie does not exist?
In general, I updated according to the guide to 5.2 and now I get an error
ReflectionException in Container.php line 734:
Class cookie does not exist
Answer the question
In order to leave comments, you need to log in
Оказывается необходимо было обновить структуру файлов конфигов всех и app/http/Kernel.php . Также вставил дефолтный набор миддлеваров из репозитория лары в config/app.php (Собственно вот это и решило данную проблему).
Are you sure you have the Cookie class connected in your controller?
Since version 5.1 this is a mandatory condition.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question