Fatal error: Call to a member function . . .
Permalink
Fatal error: Call to a member function getBlockTypeHandle() on a non-object in /home/sites/backtothefutureantiques.co.uk/public_html/concrete/libraries/block_view_template.php on line 41
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 . . .
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 . . .
Same exact problem is happening with me- out of nowhere. I installed a theme, added a few minor add-ons, then when I went into page defaults, I get this error. I stripped out the add-ons and the theme, but the error is still there. It would be nice to know that I don't have to re-install from scratch to fix this.
I have not had this problem myself but have heard from someone else who did have this issue and said it was caused by their dashboard somehow getting moved to the trash (but they don't know how this happened as they didn't do it themselves)... they were able to visit the dashboard sitemap page and move the dashboard section out of the trash back into the site under the home page and that solved their problem.
I too am having this error on one specific page,http://lifedesignscoach.com/index.php/testimonies/.... I have not changed the page in a long time, and it was working fine, but I returned to it today to get this lovely error message.
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 /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 :)
everytime I clear cache or run automated jobs I get this error…
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.
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 am getting the same error when I try to send a private message.
Same error to me please help
*Bump*
Same issue.
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:
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:
http://www.concrete5.org/developers/bugs/5-5-0/clipboard-and-page-t...
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? :)
Same issue.
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/concrete5.5.2.1/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:
http://www.concrete5.org/developers/bugs/5-5-0/clipboard-and-page-t...
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? :)
Clear your cache
Haha. Thanks dude.
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! :)
Joel
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! :)
Joel
So, I figured out a "work around".
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.
Pages work.
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?
Best,
Joel
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.
Pages work.
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?
Best,
Joel
Please go here:
http://www.concrete5.org/developers/bugs/5-5-2-1/fatal-error-call-t...
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.
http://www.concrete5.org/developers/bugs/5-5-2-1/fatal-error-call-t...
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.
Hey Jordan,
Thanks! I posted in that thread.
Hope you're enjoying the weather - the sun is coming out in Portlandia! ;)
Best,
Joel
Thanks! I posted in that thread.
Hope you're enjoying the weather - the sun is coming out in Portlandia! ;)
Best,
Joel
Heh, I actually don't live in Portland anymore -- I'm in the midwest now. I really do miss a lot of things about Portland though (especially the temperate climate), but I'm doing well here so I'll be okay. Drink a delicious IPA and eat a Voodoo donut for me.
Enjoying a cup of Stumptown next to Kenny & Zukes as we speak. ;)
Joel
Joel
I am receiving this same error, but I'm pretty sure why: When I installed C5 the Blog came as a default, but I didn't want it so I moved it to the trash after trying a few test posts. Now I want it back so I moved it out of the trash under Home. Now it's on the site map again as a page, but I get the error because I'm sure some data / content link is broken. I cleared the cache but the error is still there.
My question is: can I reinstall the C5 blog? I'm not sure where to find it at this point. Thank you!
My question is: can I reinstall the C5 blog? I'm not sure where to find it at this point. Thank you!
Everytime I clear the cache I get this error…
Fatal error: Call to a member function getBlockTypeHandle() on a non-object in /home/chesterh/public_html/updates/concrete5.5.2.1/concrete/libraries/block_view_template.php on line 41
Hope someone can help me with a solution
Fatal error: Call to a member function getBlockTypeHandle() on a non-object in /home/chesterh/public_html/updates/concrete5.5.2.1/concrete/libraries/block_view_template.php on line 41
Hope someone can help me with a solution
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?