Error when trying to edit any page

Hi C5,

When I try to put any page in EDIT mode, I get this error message:

An unexpected error occurred.
An exception occurred while executing 'insert into Pages (cID, siteTreeID, ptID, cParentID, uID, cInheritPermissionsFrom, cOverrideTemplatePermissions, cInheritPermissionsFromCID, cDisplayOrder, pkgID, cIsActive) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' with params ["217", null, "1", null, "1", "TEMPLATE", null, null, 0, 0, 1]: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'cParentID' cannot be null

There is a RETURN TO HOME button right after the error alert ...when I click on it, the page reloads with the same error, except with each subsequent click, the ["217',...] is increased by 1 - click 218, click 219, click 220.

I don't know exactly the sequence that brought it about, but I was TRYING to set up the multilingual and changed page types, templates... but no clue in what order.
Any insight would be appreciated.

View Replies: