Skip to content

[6.x] Fix debugbar helper binding#13873

Merged
jasonvarga merged 4 commits intostatamic:6.xfrom
martyf:fix/debugbar-references
Feb 10, 2026
Merged

[6.x] Fix debugbar helper binding#13873
jasonvarga merged 4 commits intostatamic:6.xfrom
martyf:fix/debugbar-references

Conversation

@martyf
Copy link
Contributor

@martyf martyf commented Feb 10, 2026

This PR resolves #13872.

I'm not 100% sure of the implications for those who have v3 of the debugbar installed though.

The other change made is that if the debugbar is disabled, the addToDebugBar method will not attempt to load it too.

@martyf martyf changed the title Change helper to use Fruitcake for debugbar [6.x] Change helper to use Fruitcake for debugbar Feb 10, 2026
@jasonvarga
Copy link
Member

I'm not 100% sure of the implications for those who have v3 of the debugbar installed though.

This change made the reverse situation happen. If you have v3 installed you'd get that setData error.

I changed the helper so it checks the debugbar container alias which would cover both versions.

@jasonvarga jasonvarga changed the title [6.x] Change helper to use Fruitcake for debugbar [6.x] Change debugbar helper binding Feb 10, 2026
@jasonvarga jasonvarga changed the title [6.x] Change debugbar helper binding [6.x] Fix debugbar helper binding Feb 10, 2026
@jasonvarga jasonvarga merged commit 266520a into statamic:6.x Feb 10, 2026
13 checks passed
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 this pull request may close these issues.

Debugbar is not correctly resolved with some add ons installed

2 participants