Skip to content

Instantly share code, notes, and snippets.

@svandragt
Last active August 29, 2015 13:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save svandragt/a2a6dfae29974407a758 to your computer and use it in GitHub Desktop.
Save svandragt/a2a6dfae29974407a758 to your computer and use it in GitHub Desktop.
Controller action problem
Trace (SilverStripe 3.0.8)
popCurrent called on ModelAsController controller, but it wasn't at the top of the stack
Controller.php:447
Controller->popCurrent()
ModelAsController.php:77
ModelAsController->handleRequest(SS_HTTPRequest,DataModel)
Director.php:296
Director::handleRequest(SS_HTTPRequest,Session,DataModel)
Director.php:119
Director::direct(/courses/finder/course/525/2d-and-3d-computer-aided-draughting-and-design/rubbish/morerubbish,DataModel)
main.php:187
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment