Closed mro95 closed 6 years ago
Same here , i m on laravel 5.3
Hi folks,
Can you update the package with the last version (composer update
) and follow the README.md instructions, please?
In particular this section:
Add the Turbolinks middleware, to the
$middleware
array inapp/Http/Kernel.php
:'Frenzy\Turbolinks\Middleware\StackTurbolinks',
Have a good day, Tortue Torche
Make sure you do not use \Frenzy\Turbolinks\Middleware\StackTurbolinks::class
in Kernel.php/$middleware. You must use 'Frenzy\Turbolinks\Middleware\StackTurbolinks'
as a string in that array.
Why? Take a look at TurbolinksServiceProvider::boot and in specific the bind call there. The class does not exists, it's bound to Helthe\Component\Turbolinks\StackTurbolinks.
I'm going to close this issue, feel free to reopen it if this bug still occurs 😄
I get this error. I use Laravel 5.1 btw.