Strict standards: Non-static method Router::run() should not be called statically, assuming $this from incompatible context in C:\wamp\www\megastore\site\plugins\megastore\routes.php on line 58
Fatal error: Call to undefined method Kirby::filterer() in C:\wamp\www\megastore\kirby\toolkit\lib\router.php on line 239
Is it not possible to run a route from another route this way? I could get around it by create a function or class but the less code the better I think.
The router::run is not supposed to work like this?
From what I understand you need to register the routes and then run the router and then call the route… You can register the routes in the constructor as well.