Lack of interest Improve the error message when a controller is not XenForo_ControllerPublic_Abstract

Rigel Kentaurus

Well-known member
I just spend some 30 minutes debugging this :(

The message I had was about actionIndex() not being found in the controller ...
First I checked the function name, of course
Checked for static (not that it matters)
Checked for class name, file name ...

Took me a while, and some debugging to realize that it was because the class does not implement XenForo_ControllerPublic_Abstract, if the exception thrown could have a more clear error message that would be awesome :)