Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

SS_DAG_CyclicException - DAG has cyclic requirements

Go to End

3 Posts   838 Views


Community Member, 48 Posts

28 August 2012 at 9:27am

Edited: 28/08/2012 10:15am

I have just upgraded a couple of sites from an earlier release of SS3 to the 3.0 stable build (CMS & Sapphire). Now, when I try to dev/build I am getting the following error (the site was working fine pre dev/build but is now showing this error everywhere):

PHP Fatal error:  Uncaught exception 'SS_DAG_CyclicException' with message 'DAG has cyclic requirements' in /Users/fraser/Documents/Work/HallPass/sapphire/core/DAG.php:73
Stack trace:
#0 /Users/fraser/Documents/Work/HallPass/sapphire/core/manifest/ConfigManifest.php(272): SS_DAG->sort()
#1 /Users/fraser/Documents/Work/HallPass/sapphire/core/manifest/ConfigManifest.php(144): SS_ConfigManifest->sortYamlFragments()
#2 /Users/fraser/Documents/Work/HallPass/sapphire/core/manifest/ConfigManifest.php(75): SS_ConfigManifest->regenerate(false)
#3 /Users/fraser/Documents/Work/HallPass/sapphire/core/Core.php(275): SS_ConfigManifest->__construct('/Users/fraser/D...', false, false)
#4 /Users/fraser/Documents/Work/HallPass/sapphire/main.php(62): require_once('/Users/fraser/D...')
#5 {main}
  thrown in /Users/fraser/Documents/Work/HallPass/sapphire/core/DAG.php on line 73

Everything else works fine however, it's just when I do anything in /dev. I have made some changes and need to regenerate the manifest on these sites.

UPDATE: I have also tried a clean install of SS3 and am getting the same issue.

Any ideas?


Community Member, 48 Posts

28 August 2012 at 10:36am


I have just tried updating a 3rd site and am now getting the same error on this too.


Forum Moderator, 5523 Posts

30 August 2012 at 8:21pm

For everyone elses reference - the ticket for this issue (solved for the upcoming 3.0.2) is at with explaination.