Replacing page versions that were removed
Permalink
I removed some old sub-page versions and now only the home page can be viewed. I refreshed each block type and cleared cache, but still nothing. I have a back-up db from last month, but I'd prefer to try and retrieve these page versions before resorting to database restoration. My current C5 version is # concrete5 Version 5.5.2.1. Here is the error message displayed when a someone tries to view any page but home:
“Fatal error: Call to a member function getBlockTypeHandle() on a non-object in /home6/yogacent/public_html/updates/concrete5.5.2.1/concrete/libraries/block_view_template.php on line 41”
I have already tried the following:
- refreshed each block type
- cleared cache multiple times
- checked the trash in the full-sitemap, but did not find anything useful
Thank you for replying. Your suggestion sounded promising. I found many pages in the trash folder, but none were the ones I was hoping to retrieve. I've always been able to see the names of the sub-pages within the full site-map listing, but when I try to view or visit those pages, I get this error message:
Fatal error: Call to a member function getBlockTypeHandle() on a non-object in /home6/yogacent/public_html/updates/concrete5.5.2.1/concrete/libraries/block_view_template.php on line 41
I can see a list of the old (deleted) versions for each of the malfunctioning pages when I go to my Full Site-Map and select 'Versions'. (The names of the pages are still listed in the site-map tree.) However, if I select one of those old/deleted versions to view, all I get is a blank page with that fatal error message copied above. No content is visible.
I'm wondering if my solution lies with somehow getting those old/deleted versions back onto the list that is viewable in Edit mode. This seems to be where my troubles started -- after I removed old versions to speed up the site. If I can place those old versions back onto the original list, could it be possible that all the necessary info/data/attributes/etc. can be referenced again and bring my sub-pages back to life?
All thoughts and suggestions are welcome!
Thanks,
evavra
“Fatal error: Call to a member function getBlockTypeHandle() on a non-object in /home6/yogacent/public_html/updates/concrete5.5.2.1/concrete/libraries/block_view_template.php on line 41”
I have already tried the following:
- refreshed each block type
- cleared cache multiple times
- checked the trash in the full-sitemap, but did not find anything useful
Thank you for replying. Your suggestion sounded promising. I found many pages in the trash folder, but none were the ones I was hoping to retrieve. I've always been able to see the names of the sub-pages within the full site-map listing, but when I try to view or visit those pages, I get this error message:
Fatal error: Call to a member function getBlockTypeHandle() on a non-object in /home6/yogacent/public_html/updates/concrete5.5.2.1/concrete/libraries/block_view_template.php on line 41
I can see a list of the old (deleted) versions for each of the malfunctioning pages when I go to my Full Site-Map and select 'Versions'. (The names of the pages are still listed in the site-map tree.) However, if I select one of those old/deleted versions to view, all I get is a blank page with that fatal error message copied above. No content is visible.
I'm wondering if my solution lies with somehow getting those old/deleted versions back onto the list that is viewable in Edit mode. This seems to be where my troubles started -- after I removed old versions to speed up the site. If I can place those old versions back onto the original list, could it be possible that all the necessary info/data/attributes/etc. can be referenced again and bring my sub-pages back to life?
All thoughts and suggestions are welcome!
Thanks,
evavra