chinleung / laravel-multilingual-routes

A package to handle multilingual routes in your Laravel application.
https://github.com/chinleung/laravel-multilingual-routes-demo
MIT License
395 stars 25 forks source link

InvalidArgumentException Attribute [multilingual] does not exist. #65

Closed MatejMozola closed 2 years ago

MatejMozola commented 2 years ago

Hi, just uploaded on server, worked fine on local environment. Can anyone guess what might be the problem?

chinleung commented 2 years ago

Hi, just uploaded on server, worked fine on local environment. Can anyone guess what might be the problem?

Hey @MatejMozola,

It's hard to help without more information. The method is added via the service provider MultilingualRoutesServiceProvider.php.

Is the service provider loaded on your server?

MatejMozola commented 2 years ago

Finally solved the problem, yes I uploaded all new or edited files but problem was I didnt upload /bootstrap/cache/routes-v7.php file. Thank you for a great package and keep up the good work.