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

Error when XHPROF_FLAGS_CPU is removed from xhprof_enable configuration #230

Open
butschster opened this issue Jul 28, 2024 · 0 comments
Open
Assignees
Labels
bug Something isn't working enhancement New feature or request module [Profiler]
Milestone

Comments

@butschster
Copy link
Member

Description

When configuring xhprof_enable with only XHPROF_FLAGS_MEMORY and omitting XHPROF_FLAGS_CPU, the application throws an error.

Error Message

{"message":"Undefined array key \"cpu\"","code":500}

Expected Behavior

The application should handle the absence of XHPROF_FLAGS_CPU without crashing, or provide a clear error message indicating the requirement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request module [Profiler]
Projects
Status: No status
Development

No branches or pull requests

1 participant