Trying to create my first SS plugin - A competition system.
Followed the doku for debugging but can't seem to debug my subclasses/functions
I am going to http://localhost:8888/mysilverstripesite/CompetitionPage_Controller/TestFunction and getting the error (I get this same error for any page controllers)
FATAL ERROR: Missing argument 1 for ContentController::__construct(), called in /Applications/MAMP/localhost/tearaway_ss/sapphire/core/control/Director.php on line 167 and defined
At line 23 in /Applications/MAMP/localhost/tearaway_ss/sapphire/core/control/ContentController.php
line 167 of Director.php
line 67 of Director.php
line 104 of main.php
Debug (Debug::showError() in line 149 of Debug.php)
Am I doing something wrong?