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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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

3.1.2 - Sync Files Validation Error


Go to End


2 Posts   1591 Views

Avatar
socks

Community Member, 191 Posts

11 December 2013 at 6:24pm

SS 3.1.2

When I click the "Sync Files" button in the Files section, i get:

"Validation error: Validation error writing a Page object: Page type "Page" not allowed as child of this parent page. Object not written."

I tried removing all files from the assets folder, but still receive the error.

Any Ideas?

Avatar
socks

Community Member, 191 Posts

12 December 2013 at 4:57pm

Solved

Found a Page page-type that was a child where it's parent had $allowed_children declared. As well as two obsolete page-types, so those pages just needed to be published using different a page-type.