![php - Laravel 7: Unable to prepare route [api/user] for serialization. Uses Closure. (LogicException) - Stack Overflow php - Laravel 7: Unable to prepare route [api/user] for serialization. Uses Closure. (LogicException) - Stack Overflow](https://i.stack.imgur.com/k08pt.png)
php - Laravel 7: Unable to prepare route [api/user] for serialization. Uses Closure. (LogicException) - Stack Overflow
![route:cache on PHP 7.4 Erroneous data format for unserializing · laravel/framework · Discussion #31056 · GitHub route:cache on PHP 7.4 Erroneous data format for unserializing · laravel/framework · Discussion #31056 · GitHub](https://user-images.githubusercontent.com/18327485/72238955-a75b9e80-35df-11ea-854d-3caf2f9ccb6d.png)
route:cache on PHP 7.4 Erroneous data format for unserializing · laravel/framework · Discussion #31056 · GitHub
![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)