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, biapar, Willr, Ingo, swaiba, simon_w

3.1.2 - Sync Files Validation Error


Reply

2 Posts   287 Views

Avatar
socks

11 December 2013 at 6:24pm Community Member, 190 Posts

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

12 December 2013 at 4:57pm Community Member, 190 Posts

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.