-
Notifications
You must be signed in to change notification settings - Fork 12
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
set404 loading blank page #23
Comments
What version of EE? What if you make a route that only does set404, does that work? |
EE v2.10.1 I added the following and I get the same blank page: 'test/:any' => function($router) {
$router->set404();
} |
Just tested on EE 2.10.1 and it works as expected. There might be a plugin in your 404 template causing a WSOD. Try setting $debug = 1 in your index.php and see if you can spot any PHP errors. |
Thanks for loading that into 2.10.1 and giving it a try. I set $debug = 1 and I don't see any errors. The 404 page also works in EE templates when I call I replaced the content in my 404 template with just plain text and gave it another try, but got the same result. I tried setting Display Output Profiler and Display Template Debugging to Yes to see if that gave any hints:
That looks really similar to Issue #2 |
I'm having an issue trying to call set404. It's just loading a blank page rather than the 404 page set in the global template preferences. Any ideas? Here's what I'm working with:
The text was updated successfully, but these errors were encountered: