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.
I have a problem with control children
when called control children, sapphire throws an error:
Error at \sapphire\core\model\Versioned.php line 853: Versioned::get_version: Couldn't get SiteTree.1
Pages seam to be ok in Admin...
How could I trace this problem?
Tried to create a new ListPage with new children doesn't help....
I had a similar problem. Ran /dev/build/?flush=1 and ran the following mysql query REPAIR TABLE SiteTree using PHPMyAdmin. Not sure what fixed it but i suspect it was a corrupt SiteTree table.
Alternate solution, from: http://silverstripe.org/releases-and-announcements/show/13992
"I have just had this problem. I found the cookie was the problem. Clear your cookies and you should be able to re-login using the same browser"
I had this same problem - I found I had links to pages that weren't there any more/had their page type changed slightly. Possibly not the best solution but I just went through and updated the links... repairing and clearing cache didn't work for me...