Deployment of laravel voyager

btlim-lim

Feb 24th, 2020 01:01 PM

when we deploy our laravel voyager on our new server, all the routes have issues of connecting. Eg. when we click for the user profile, an error message is show: Route [voyager.users.edit] not defined. (View: C:\xampp\smartparking\vendor\tcg\voyager\resources\views\profile.blade.php) Previous exceptions

Route [voyager.users.edit] not defined. (0)

Can I know what is happening?

bobbyiliev

Jun 1st, 2022 12:30 AM

Hi there,

I am just following up on some of the old questions on the site.

I believe that you need to run the following to get rid of the error:

php artisan voyager:install

Also you might have to run this one too if the above does not help:

php artisan optimize:clear

Best,

Bobby

bobbyiliev

Jun 1st, 2022 12:36 AM

Hi there,

I am just following up on some of the old questions on the site.

I believe that you need to run the following to get rid of the error:

php artisan voyager:install

Also you might have to run this one too if the above does not help:

php artisan optimize:clear

Best,

Bobby