0

I am using Laravel 5.6 and I am getting:

Call to undefined method Illuminate\Session\Store::getToken() after upgrading composer.json

Marcin Nabiałek
  • 109,655
  • 42
  • 258
  • 291

1 Answers1

2

The change was made in this commit https://github.com/laravel/framework/commit/66976ba3f559ee6ede4cc865ea995996cd42ee1b

In upgrade guide (for Laravel 5.4) you can read:

All calls to the ->getToken() method should be changed to ->token().

So this can be easily fix according to above info

Marcin Nabiałek
  • 109,655
  • 42
  • 258
  • 291