![laravel - LogicException Unable to prepare route [api/user] for serialization. Uses Closure - Stack Overflow laravel - LogicException Unable to prepare route [api/user] for serialization. Uses Closure - Stack Overflow](https://i.stack.imgur.com/OVywr.png)
laravel - LogicException Unable to prepare route [api/user] for serialization. Uses Closure - Stack Overflow
![When I use the route cache, the prefix route binding parameters will report an error, so I trace the source code and modify it here is no problem · Issue #32127 · When I use the route cache, the prefix route binding parameters will report an error, so I trace the source code and modify it here is no problem · Issue #32127 ·](https://user-images.githubusercontent.com/20275621/77682155-6dd8e380-6fd1-11ea-9b93-805d5cd8502e.png)
When I use the route cache, the prefix route binding parameters will report an error, so I trace the source code and modify it here is no problem · Issue #32127 ·
![Enlightn on Twitter: "I'll share 100 Laravel tips on performance, security and reliability over the next 100 days! Simply follow this thread 👇 to get them daily. 🔥 Laravel Tip #01: Consider Enlightn on Twitter: "I'll share 100 Laravel tips on performance, security and reliability over the next 100 days! Simply follow this thread 👇 to get them daily. 🔥 Laravel Tip #01: Consider](https://pbs.twimg.com/media/EtKCZLIVoAAS9m_.jpg:large)