Route not defined (environment problem)

Posted 3 years ago by SergioGregorutti

Hi all,

Im dealing with a weird problem. Im getting on my local environment (Homestead - Mac OS) this error:

ErrorException in UrlGenerator.php line 278:
Route [homepage] not defined. (View: /home/vagrant/Code/argemundo/resources/views/partials/header.blade.php) (View: /home/vagrant/Code/argemundo/resources/views/partials/header.blade.php) (View: /home/vagrant/Code/argemundo/resources/views/partials/header.blade.php)

The route is already defined and the same code is working on another local environment (Homestead - Linux) and on a stage server (Laravel Forge). That is why I think that is an environment problem.

I tried restoring the vagrant machine but issue still persist.

Any ideas of what is happening?

Thanks!

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.