Site Error on all but Home page
Permalink
I have been working on this site:
http://www.luvmejewelry.com
I am currently getting this error on all pages except the home page:
Fatal error: Call to a member function getBlockTypeHandle() on a non-object in /home/luvme/public_html/concrete/libraries/block_view_template.php on line 41
This happened once before but it self corrected. Does anyone know what is going on and how I can fix it? Thanks in advance.
http://www.luvmejewelry.com
I am currently getting this error on all pages except the home page:
Fatal error: Call to a member function getBlockTypeHandle() on a non-object in /home/luvme/public_html/concrete/libraries/block_view_template.php on line 41
This happened once before but it self corrected. Does anyone know what is going on and how I can fix it? Thanks in advance.
Thanks for the quick response. I will work through your suggestions and let you know.
I cant say for sure that it is the exact problem that I have encountered, but it is the same error.
That did it. Thank you so much!
Hey Ekko!
Good suggestions! I'm actually having the same problem, but I think it's with the ecommerce plugin and I think the big problem is with the product block type which doesn't appear in the dashboard > stack & blocks you suggested. Any other tips? I even tried repairing the db through CPanel. :-S Sorry, had to ask!
Good suggestions! I'm actually having the same problem, but I think it's with the ecommerce plugin and I think the big problem is with the product block type which doesn't appear in the dashboard > stack & blocks you suggested. Any other tips? I even tried repairing the db through CPanel. :-S Sorry, had to ask!
Nevermind! :) I got that answer!
Hello.
After I run in "Automated Jobs" "Remove old pages" I got the same fatal error as you guys did...
.
Are there any solutions for this?
I already try to refresh blocks and cleared cache but nothing works. the only untouched site is Home.
Thanx.
After I run in "Automated Jobs" "Remove old pages" I got the same fatal error as you guys did...
Fatal error: Call to a member function getBlockTypeHandle() on a non-object in /home/requie/public_html/concrete/core/libraries/block_view_template.php on line 41
Are there any solutions for this?
I already try to refresh blocks and cleared cache but nothing works. the only untouched site is Home.
Thanx.
There are a few ways to deal with it, starting with,,,
Refresh all the blocks, by going to dashboard --> stacks & blocks--> block types click on each block, and refresh it. Refresh your site cache, page, and browser to be sure that this has worked.
Use repair database tables function in cpanel
Roll back the versions till the pasted block is no longer part of the page. Sadly this only seems to really take effect when outright deleting not just rolling back. Again clear all caches
Theres a few more like deleting the offending block itself, if it was slideshow than delete slideshow block, and reupload, but I think one of the above should do it. The big trick is thinking back to which block was pasted, or possibly even part of a deleted stack, although that was the best guess of the site owner with the problem as he swore that he never used a clipboard. I have tried to reproduce the problem with stacks, and it never happened for me, so I think it had more to do with the theme they were using not being compliant as it could have been with stacks or them forgetting they used a clipboard.
On a side note when using the clipboard you can quickly put it in edit mode, and than press save to make it its own instance. Works on most blocks, but not all.