Skip to content

Conversation

butschster
Copy link
Member

When XHPROF is configured without XHPROF_FLAGS_CPU (common in DDEV setups), Buggregator crashes with:

ErrorException: Undefined array key "cpu" in CalculateDiffsBetweenEdges.php at line 23

This happens because the code assumes CPU metrics will always be present in profile data, but many environments disable CPU profiling by default for performance reasons.

@butschster butschster added this to the 1.0 milestone Jul 19, 2025
@butschster butschster self-assigned this Jul 19, 2025
@butschster butschster added bug Something isn't working module [Profiler] labels Jul 19, 2025
@butschster butschster moved this to Done in Buggregator Jul 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working module [Profiler]
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant