there is no permission with id `12`

Laravel 本地环境添加菜单之后, 线上报错, 线上线上用同一个数据库, 原因是缓存问题,

解决方法:

php artisan cache:clear

如果缓存有重要数据的, 那就要清除对应的缓存,没有的话就执行上面那个就行

原文地址:https://www.cnblogs.com/Skrillex/p/11249420.html