adrianbj / TracyDebugger

The ultimate debugging and development tool for ProcessWire
https://adrianbj.github.io/TracyDebugger/
GNU General Public License v2.0
87 stars 13 forks source link

Error on < PW 3.0.137 #91

Closed Toutouwai closed 6 months ago

Toutouwai commented 6 months ago

The module requirements say ProcessWire>=2.7.2 but I got fatal error: "Call to undefined method ProcessWire\Debug::backtrace()" as this was only introduced in PW 3.0.137 https://processwire.com/blog/posts/pw-3.0.137/

adrianbj commented 6 months ago

Thanks @Toutouwai - I accepted a PR that started using Debug::backtrace() and didn't think about that limitation. Should be fixed in the latest version.

Toutouwai commented 6 months ago

Thanks for the prompt response! There's another usage of the method that needs a check here: https://github.com/adrianbj/TracyDebugger/blob/bf9d0b2748147cd4305c7d63e0a8734360f475d6/TracyDebugger.module.php#L1356

adrianbj commented 6 months ago

Sorry - that was from a different PR :)

Should be good now.

Toutouwai commented 6 months ago

Perfect, thanks!