bnomei / kirby3-redirects

Setup HTTP Status Code Redirects from within the Kirby Panel
https://forum.getkirby.com/t/kirby3-redirects-setup-http-status-code-redirects-form-within-the-panel/23581
MIT License
22 stars 2 forks source link

Error on plugin installation #14

Closed DominiqueVial closed 1 year ago

DominiqueVial commented 2 years ago

After I installed the plugin, an error occured. Class "Bnomei\Redirects" not found on /site/plugins/kirby3-redirects/index.php29

No data have been added to site.txt. Removing plugin make the website work again.

Any idea?

Notes

Capture d’écran 2021-11-30 à 06 44 07

bnomei commented 2 years ago

i double checked how the classes are loaded. think its done properly. what is you local devenviroment (osx valet, MAMP, ...)? or does it happen on a production LAMP stack as well?

bnomei commented 2 years ago

the route:before should always be triggered after all plugins are loaded.