No Code Attached Yet
avatar morefriendm
morefriendm
12 May 2022

I have updated my website to Joomla 4.13, and I'm using Postman to get data via Joomla 4 webservices. I have turned on the Debug. Now I'm getting a response to the Postman "Session must be started before using stack data in the debug bar" and it turns out /libraries/vendor/maximebf/debugbar/src/DebugBar/DebugBar.php (line 447) throw new DebugBarException("Session must be started before using stack data in the debug bar"); is executing. Can you please help me? Thanks

avatar morefriendm morefriendm - open - 12 May 2022
avatar joomla-cms-bot joomla-cms-bot - change - 12 May 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 12 May 2022
avatar chmst
chmst - comment - 12 May 2022

Isn't this resolved with #37488?

avatar morefriendm
morefriendm - comment - 13 May 2022

Thanks.
Unfortunately, it did not fix the issue for me.
My environment.
Joomla 4.1.3 on PHP 8.1.5
Enable debugging in the global Joomla configuration
Set error reporting to maximum in the global Joomla configuration
Debug plugin is enabled
It is throwing the debug bar exception "Session must be started before using stack data in the debug bar" to GET request in the Postman. Debug bar working fine on the website.

avatar alikon
alikon - comment - 13 May 2022

which endpoint are you calling via postman ?

avatar stell
stell - comment - 14 May 2022

Same here when calling /api/index.php/v1/content/articles. Other endpoints also collide with session when debugging is on.
https://jsfiddle.net/fLaq7wnx/
Joomla 4.1.3

avatar morefriendm
morefriendm - comment - 15 May 2022

Yes, same endpoint and same response. Also, other endpoints crashing with session when debugging is on.

avatar Fedik
Fedik - comment - 15 May 2022

For now disable system/debug plugin.
I will do PR for that issue.

avatar Fedik Fedik - change - 15 May 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-05-15 09:25:12
Closed_By Fedik
avatar Fedik Fedik - close - 15 May 2022
avatar Fedik
Fedik - comment - 15 May 2022

please test #37797

Add a Comment

Login with GitHub to post a comment