Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: Route [statamic.cp.redirect.index] not defined. #94

Open
Hesesses opened this issue Aug 26, 2022 · 1 comment
Open

ERROR: Route [statamic.cp.redirect.index] not defined. #94

Hesesses opened this issue Aug 26, 2022 · 1 comment

Comments

@Hesesses
Copy link

Hello,

I updated statamic and the plugin to latest version and getting an error after logging in to statamic cp

ERROR: Route [statamic.cp.redirect.index] not defined. (View: /vendor/statamic/cms/resources/views/layout.blade.php) {"view":{"view":"/vendor/laravel/framework/src/Illuminate/Routing/UrlGenerator.php","data":[]},"userId":"43e0d910-4436-404a-aaf9-d9e1c09a64eb","exception":"[object] (Facade\\Ignition\\Exceptions\\ViewException(code: 0): Route [statamic.cp.redirect.index] not defined. (View: /vendor/statamic/cms/resources/views/layout.blade.php) at /vendor/laravel/framework/src/Illuminate/Routing/UrlGenerator.php:444)
[stacktrace]
#0 /vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(739): Illuminate\\Routing\\UrlGenerator->route()
#1 /vendor/statamic/cms/src/Statamic.php(169): route()
#2 /vendor/statamic/cms/src/helpers.php(9): Statamic\\Statamic::cpRoute()
#3 /vendor/rias/statamic-redirect/src/RedirectServiceProvider.php(113): cp_route()
#4 /vendor/statamic/cms/src/CP/Navigation/Nav.php(135): Rias\\StatamicRedirect\\RedirectServiceProvider->Rias\\StatamicRedirect\\{closure}()
#5 /vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(245): Statamic\\CP\\Navigation\\Nav->Statamic\\CP\\Navigation\\{closure}()
#6 /vendor/statamic/cms/src/CP/Navigation/Nav.php(136): Illuminate\\Support\\Collection->each()
#7 /vendor/statamic/cms/src/CP/Navigation/Nav.php(105): Statamic\\CP\\Navigation\\Nav->buildExtensions()
#8 /vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(261): Statamic\\CP\\Navigation\\Nav->build()
...

Any ideas?

@riasvdv
Copy link
Owner

riasvdv commented Aug 27, 2022

Do you have route caching? Try running php artisan route:clear and see if it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants