different error for nop public parent
do still display publish button if not published successfully
increase queries for edit mode
Merge pull request #2831 from digi604/fix-2821

Fix #2821 (pending pages no error messages)