Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Route closure #2

Closed
fridzema opened this issue Mar 7, 2019 · 2 comments
Closed

Route closure #2

fridzema opened this issue Mar 7, 2019 · 2 comments

Comments

@fridzema
Copy link

fridzema commented Mar 7, 2019

LogicException : Unable to prepare route [maileclipse] for serialization. Uses Closure.

I think no further explanation is needed;)

@Qoraiche
Copy link
Owner

Qoraiche commented Mar 7, 2019

Thanks for reporting this,

This error happens because PHP is not able to serialize Closures (when using route:cache command in laravel). in the next update, I will replace the route closure to a controller based route.

Route::get('/', function(){

@Qoraiche
Copy link
Owner

Qoraiche commented Mar 7, 2019

route closure replaced with controller-based route (check out commit 590a07d)

@Qoraiche Qoraiche closed this as completed Mar 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants