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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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   1044 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.