Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation crashes SS 4-alpha5 #6700

Closed
filiplikavcan opened this issue Mar 14, 2017 · 1 comment
Closed

Installation crashes SS 4-alpha5 #6700

filiplikavcan opened this issue Mar 14, 2017 · 1 comment

Comments

@filiplikavcan
Copy link

filiplikavcan commented Mar 14, 2017

Fatal error: Uncaught exception 'MJS\TopSort\CircularDependencyException' with message 'Circular dependency found: modelascontrollerroutes->mysite->modelascontrollerroutes' in /project.dev/vendor/marcj/topsort/src/CircularDependencyException.php:34 Stack trace: #0 /project.dev/vendor/marcj/topsort/src/Implementations/BaseImplementation.php(57): MJS\TopSort\CircularDependencyException::create(Array) #1 /project.dev/vendor/marcj/topsort/src/Implementations/ArraySort.php(63): MJS\TopSort\Implementations\BaseImplementation->throwCircularExceptionIfNeeded(Object(stdClass), Array) #2 /project.dev/vendor/marcj/topsort/src/Implementations/ArraySort.php(75): MJS\TopSort\Implementations\ArraySort->visit(Object(stdClass), Array) #3 /project.dev/vendor/marcj/topsort/src/Implementations/ArraySort.php(75): MJS\TopSort\Implementations\ArraySort->visit(Object(stdClass), Array) #4 /project.dev/vendor/marcj/topsort/src/Implementation in /project.dev/vendor/marcj/topsort/src/CircularDependencyException.php on line 34

@kinglozzer
Copy link
Member

Thanks for reporting, this has already been resolved in #6684.

Please remove the before/after block in mysite/_config.yml, thanks!

ntd added a commit to ntd/silverstripe-autotoc that referenced this issue Dec 20, 2017
I got a circular dependency error. On silverstripe-framework#6700 [1],
kinglozzer suggested to remove before/after blocks from
`mysite/_config.yml` but I am still getting the same error, so I suppose
I need to remove those blocks from other YAML too.

[1] silverstripe/silverstripe-framework#6700
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants