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

[ExceptionRender] - Not showing stack trace #65

Closed
cnizzardini opened this issue Jun 25, 2021 · 0 comments
Closed

[ExceptionRender] - Not showing stack trace #65

cnizzardini opened this issue Jun 25, 2021 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@cnizzardini
Copy link
Member

What Happened
RunTimeException was thrown and cake debug is not showing stack trace

Notice (8): Undefined variable: trace [CORE/templates/element/exception_stack_trace_nav.php, line 21]
Warning (2): Invalid argument supplied for foreach() [CORE/templates/element/exception_stack_trace_nav.php, line 21]

Expected Behavior
Shows stack trace

Steps to Reproduce
See steps in #64

Potential fix in MixerApiExceptionRenderer::debugViewVars

        if (!Configure::read('debug')) {
            return $viewVars;
        }

Version and Platform (please complete the following information):

  • OS/Platform: Alpine/Docker
  • CakePHP: 4.2.5
  • MixerApi Version: 0.2.9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant