Composer Error

Permalink
When I try to add a page via the composer, I get this MySQL error:

EXECUTE("select max(cDisplayOrder) from Pages where cParentID = LIMIT 1")

It seems the cParentID is empty, for some reason.

I tried:
- Adding other page types to composer.
- Changing the parent page of a page type.
- Flushing / disabling cache.

Any ideas?

A3020
 
ronyDdeveloper replied on at Permalink Best Answer Reply
ronyDdeveloper
Though it is a old post, but I thought I'd share the trick so others can get help. The error occurs because a single page called !drafts got deleted. You just need to go to dashboard, then single pages and add a page called "!drafts". Then clear your cache. It will solve the problem.

Rony
A3020 replied on at Permalink Reply
A3020
Cool, thanks!