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

Call to undefined function DebugKit\env() in ToolbarService #961

Closed
BGehrels opened this issue Sep 21, 2023 · 3 comments · Fixed by #962
Closed

Call to undefined function DebugKit\env() in ToolbarService #961

BGehrels opened this issue Sep 21, 2023 · 3 comments · Fixed by #962
Milestone

Comments

@BGehrels
Copy link

Since the env-function has been removed from the global namespace with Cake 5, DebugKit should explicitly import it.

@LordSimal
Copy link
Contributor

I am unable to reproduce your problem.

@LordSimal
Copy link
Contributor

LordSimal commented Sep 21, 2023

I guess this can happen if one doesn't opt into the global functions

@ADmad
Copy link
Member

ADmad commented Sep 21, 2023

@BGehrels Can you make a PR to add required use statement for the function?

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

Successfully merging a pull request may close this issue.

4 participants