Fatal error: Call to a member function get_parent() on a non-object in /home/m6digita/public_html/modules/CMSContentManager/lib/class.ContentListBuilder.php on line 452
It looks like when the page was deleted, the parent page wasn't deleted out of the cms_userprefs table so when the list is reloaded after deleting it it doesn't exist and $parent is empty.
To duplicate, I was deleting a page that had one child page. I selected the Parent page and Deleted it. It prompted me to delete the parent and the child page, I confirmed and hit submit. The pages did delete but then I couldn't get back into the CMSContentManager without that fatal error.
To duplicate the error, you must have the pages expanded before deleting the parent.
Line 452
$parent = $node->get_parent();
Line 453
$parent_id = $parent->get_tag('id');
[fixed] Fatal Error after deleting pages
Forum rules
Only administrators can post or move items here.
Only administrators can post or move items here.
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: Fatal Error after deleting pages
fixed in svn, thanks.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.