I try to redirect from one page to another and I get a Php-Notice about a missing model parameter
[Notice] Undefined variable: model
POST /home/UserDataForm
Line 145 in /srv/htdocs/framework/control/Director.php
I tried to add something like
$model = new Page();
but then, it outputs a blank screen.
I know, this is a Notice and almost invisible on production but it keeps me in Dev-Mode from having a clean output.
Is there another way to redirect a user from A to B?
Thank you very much in advance.
Best regards
Stefan