Fatal error: Call to a member function . . .
Running 5.5.1. - Just ran a sitemap generation, index search and remove all except 10 most recent vers. Then lost two of the pages to the above error.
I've cleared the cache, still have dashboard functionality but don't understand line 41?
Any help would be appreciated . . .
I replaced the template left_sidebar.php file with the code from the full page type but nothing.
Could it be rouge code in the page type default page?
Fatal error: Call to a member function getBlockTypeHandle() on a non-object in /concrete/libraries/block_view_template.php on line 41
I checked the sitemap and my dashboard is not in the trash, all looks to be as it should in the sitemap.
UPDATE: I cleared my cache and it fixed the problem, but I am still curious about any other solution that be available :)
Fatal error: Call to a member function getBlockTypeHandle() on a non-object in /home/chesterh/public_html/concrete/libraries/block_view_template.php on line 41
can any one help pleeeeease.
I was replacing some aliased blocks on a Page Type with Stacks. My site has 3 page types. The first two worked without a hitch. When I deleted the content of the right column on the 3rd page type (before adding the Right Column stack that worked on other pages) it broke.
I think it has something to do with the blocks that were deleted, as it broke before I could add the stack. Now, all pages with that Page Type are broken, showing:
Fatal error: Call to a member function getBlockTypeHandle() on a non-object in /home/earthlea/public_html/updates/concrete18.104.22.168/concrete/libraries/block_view_template.php on line 41
I tried changing their page types to something else, but that doesn't work.
I think there is a block attached to those pages in the database that maybe doesn't exist, although I'm not sure in the DB where to look.
I tried editing the core engine as mentioned here:
Then refreshed all database tables - no luck.
Any more ideas?
BTW, thanks Jordan for jumping in. Every little bit helps. :)
** EDIT: I found all my pages in the Pages table, but I don't see a Pages_Blocks table. Where are blocks ON a page stored? I want to see all the blocks that are on these broken pages and try to remove them, hopefully removing the broken calls to getBlockTypeHandle(). Ehhh? :)
I've done this a few times.
I have also tried deleting and re-installing the page type in question (after changing all page types of the broken pages to something else in the interim).
No luck. Thanks though! :)
I duplicated the page type handle, created a new page type, then deleted and recreated every page with the design of the new, duplicated page type.
It appears to me that the old Page Type's default blocks/ layout was corrupted with an invalid or nonexistent block or something. New pages created with that 'corrupted' page type throw the same Fatal Error.
C5, what do I need to do to open up a bug report? Do you need my database to look into things?
Click the green "+" button near the top-right, and add a comment about your specific solution. I believe there are many different errors that all give this same message, so the more details about your specific problem, the better.
Thanks! I posted in that thread.
Hope you're enjoying the weather - the sun is coming out in Portlandia! ;)
My question is: can I reinstall the C5 blog? I'm not sure where to find it at this point. Thank you!
Fatal error: Call to a member function getBlockTypeHandle() on a non-object in /home/chesterh/public_html/updates/concrete22.214.171.124/concrete/libraries/block_view_template.php on line 41
Hope someone can help me with a solution