1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'Closed Suggestions' started by Rigel Kentaurus, Oct 28, 2011.

  1. Rigel Kentaurus

    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 :)
     

Share This Page