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

Undefined variable: fail (in Demo) #74

Closed
whoami15 opened this issue Jul 29, 2020 · 3 comments
Closed

Undefined variable: fail (in Demo) #74

whoami15 opened this issue Jul 29, 2020 · 3 comments

Comments

@whoami15
Copy link

There's an error in Error 500 page
Link

Undefined variable: fail

Code:

Route::get('500', function () {

    // Force debug mode for this endpoint in the demo environment

    if (App::environment('demo')) {

        Config::set('app.debug', true);

    }

    echo $fail;

});
@Juhlinus
Copy link
Contributor

There's an error in Error 500 page
Link

Undefined variable: fail

Code:

Route::get('500', function () {

    // Force debug mode for this endpoint in the demo environment

    if (App::environment('demo')) {

        Config::set('app.debug', true);

    }

    echo $fail;

});

Hello @whoami15 !

That is correct! That is the intended result, in order to show what a 500 error looks like.

@reinink
Copy link
Member

reinink commented Jul 29, 2020

Screen Shot 2020-07-29 at 9 48 58 AM

Added (73d294f) a little note to the dashboard to make this a little more clear. 👌

@whoami15
Copy link
Author

Screen Shot 2020-07-29 at 9 48 58 AM

Added (73d294f) a little note to the dashboard to make this a little more clear. 👌

Thank you Jonathan 👍

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

3 participants