Fatal Error on blog pages
Permalink
Can anyone please tell me why I can open the blog list page, but when I go to specific blog pages I get the following Fatal Error message and how I can put it right, thanks?
Fatal error: Call to a member function getBlockTypeHandle() on a non-object in /homepages/10/d418847513/htdocs/c5/concrete/libraries/block_view_template.php on line 41
I have currently hidden it from the main website navigation until I get it sorted, but here's a link to see what I get:http://www.getthebigidea.co.uk/index.php?cID=124...
Fatal error: Call to a member function getBlockTypeHandle() on a non-object in /homepages/10/d418847513/htdocs/c5/concrete/libraries/block_view_template.php on line 41
I have currently hidden it from the main website navigation until I get it sorted, but here's a link to see what I get:http://www.getthebigidea.co.uk/index.php?cID=124...
Btw, I'm not a code writer, but I am confident enough to change code and upload it, if you can tell me what to write and where to put it. Thanks guys
I've also got a page that is giving me this error. Have you figured it out? Unfortunately, mine is a link from a button that's embedded in my theme, not just a normal page I can recreate.
Hi, thanks for the reply and sorry for the delay. No regretfully I haven't managed to fix this yet and no idea how to yet? But I'm sure hopefully one of my fellow C5'ers will come to the rescue soon.
Best of luck with your issue.
Best of luck with your issue.
If anyone has had a similar experience or can shed any light on this, I'd appreciate your help please, as I'm really stuck for ideas on how to resolve this.
Thanks guys
Thanks guys
Hi There,
Just a heads up the page you linked to goes to a 404 not found.
Just a heads up the page you linked to goes to a 404 not found.
Sorry I deleted the last page link above in and attempt to start again.
Basically it seems that if I create a sub page from the blog list pagehttp://www.getthebigidea.co.uk/index.php/blog/... I get the Fatal Error mentioned above (see "test new4" and "blog test3" links on this page), but if I create a sub page from the sites home page and use a "blog Entry" page type, then manually drag and drop it into and under the blog in the sitemap it works (see "test new" link on thehttp://www.getthebigidea.co.uk/index.php/blog/... page).
It's probably me that's setting offending the pages up wrong, but I can't figure out what it I'm doing wrong, as I'm doing nothing different on all 3 test pages, apart from where I'm setting up the sub page from????
Basically it seems that if I create a sub page from the blog list pagehttp://www.getthebigidea.co.uk/index.php/blog/... I get the Fatal Error mentioned above (see "test new4" and "blog test3" links on this page), but if I create a sub page from the sites home page and use a "blog Entry" page type, then manually drag and drop it into and under the blog in the sitemap it works (see "test new" link on thehttp://www.getthebigidea.co.uk/index.php/blog/... page).
It's probably me that's setting offending the pages up wrong, but I can't figure out what it I'm doing wrong, as I'm doing nothing different on all 3 test pages, apart from where I'm setting up the sub page from????
Hi, Have you tried writing a blog post from composer, if yes did that error out too?
Yes, as soon as I go to publish it, it goes straight to the above error page.
But if I create the same page outside of the blog, say from the homepage/add sub page and then manually drag and drop the page on the sitemap into the blog it works - weird or what?
But if I create the same page outside of the blog, say from the homepage/add sub page and then manually drag and drop the page on the sitemap into the blog it works - weird or what?
That is certainly strange, have you had a look at the blog_entry.php page and compared it to the blog_entry.php page from the Greek Yogurt theme, it will probably have some different markup, but the PHP should be similar, something might jump out at you there.
Yeah, I'm stumped by it. I'm just hoping the Sebastien the theme developer can come up with a solution.
Meantime I'll have a look at what you suggest and let you know.
Meantime I'll have a look at what you suggest and let you know.
One further update, when I go into the Dashboard/Page Types/Blog_Entry/Defaults I get the same error.
This sounds screwed up!
This sounds screwed up!
Same error here, on blog entries. Anyone get luck?
Thought the following screengrabs (attached) of the blog composer for the pages that have the fatal error and the one that doesn't might be useful to see.
The one created as a sub-page of the blog has the above fatal error and the other one that works is created from a sub-page of the homepage using a blog entry page type and manually dragged into the blog via the sitemap. I note that in one that's working you can NOT add content (accept by visiting the page and manually adding text to a block) and the this and the thumbnails and header pics blocks in the composer are apparently missing and yet they are both using the same blog entry page type.
Also I get the same error when when I the default page in the dashboard/Page Type/default
I can't figure a way of making it work properly, can anyone help please? Or is it screwed and do I now have to delete it and download a new blog add-on from the marketplace?
Thanks
The one created as a sub-page of the blog has the above fatal error and the other one that works is created from a sub-page of the homepage using a blog entry page type and manually dragged into the blog via the sitemap. I note that in one that's working you can NOT add content (accept by visiting the page and manually adding text to a block) and the this and the thumbnails and header pics blocks in the composer are apparently missing and yet they are both using the same blog entry page type.
Also I get the same error when when I the default page in the dashboard/Page Type/default
I can't figure a way of making it work properly, can anyone help please? Or is it screwed and do I now have to delete it and download a new blog add-on from the marketplace?
Thanks
Thanks for share the images.
So, here i tried to create another blog entry and the same happens (fatal error).
So i did the same and create a blank page. Seems to work fine, but i didnt test the blocks yet. And I think the the problem is on the blocks.
But the strange thing is the error is something about "member function" getAttributeKeyID().
What the hack is that?
And how this can happen? I just created a few entries, 4 or 5, with html blocks (with JWPlayer), and the AutoNav Block also.
The question is... can I delete the site and reinstall it? the data is stored on SQL tables, or I will lose my entries?
So, here i tried to create another blog entry and the same happens (fatal error).
So i did the same and create a blank page. Seems to work fine, but i didnt test the blocks yet. And I think the the problem is on the blocks.
But the strange thing is the error is something about "member function" getAttributeKeyID().
What the hack is that?
And how this can happen? I just created a few entries, 4 or 5, with html blocks (with JWPlayer), and the AutoNav Block also.
The question is... can I delete the site and reinstall it? the data is stored on SQL tables, or I will lose my entries?
@jtarallo. Sorry the answer to that question is beyond me. Hopefully another C5 developer on the forum can help us both. Please let me know if you get a solution.
David
David
Sure, same here.
thanks!
Tarallo.
thanks!
Tarallo.
Hello Everyone,
There has been some issues with the clipboard and and error like this. Does this ring a bell to anyone? If so post what you can think of and we'll get to the bottom of it.
Best Wishes,
Mike
There has been some issues with the clipboard and and error like this. Does this ring a bell to anyone? If so post what you can think of and we'll get to the bottom of it.
Best Wishes,
Mike
Hi Mike, thanks for your input, but your question means nothing to me. However your help would be greatly appreciated please, as I have already lost a load of info on the blog and a blog is invaluable for marketing your website and get people talking about your business.
Thanks again and I look forward to hearing what you think I can do to resolve this?
Regards
David
Thanks again and I look forward to hearing what you think I can do to resolve this?
Regards
David
Attached are screengrabs of the blog_entry.php page if that helps????
Can you update your site to the newest version? It's possible that the problem you're seeing has been fixed by our new updated class abstraction model.
Best wishes,
Korvin
Best wishes,
Korvin
Hello @thebigideasman,
If you can private message me an FTP login and a dashboard login I can go in and take a look.
Best Wishes,
MIke
If you can private message me an FTP login and a dashboard login I can go in and take a look.
Best Wishes,
MIke
Thanks Mike @mkly will do.
@Korvin I have now upgraded my C5 to the newest version and it's made NO difference, thanks for the suggestion anyway.
@Korvin I have now upgraded my C5 to the newest version and it's made NO difference, thanks for the suggestion anyway.
Ok @thebigideasman,
I took the info you sent me and ran the correct script. It looks like that page is back and running.
If anyone else is experiencing this issue, reply here and I'll will help get you sorted out.
Best Wishes,
Mike
I took the info you sent me and ran the correct script. It looks like that page is back and running.
If anyone else is experiencing this issue, reply here and I'll will help get you sorted out.
Best Wishes,
Mike
Thanks Mike, you're the best. I couldn't ask for more.
hey Mike. How can I run this script? My site is happening the same.
thanks,
Jose.
thanks,
Jose.
Hello Jose,
Send me a private message and I'll send you the package with instructions on what to do.
Best Wishes,
Mike
Send me a private message and I'll send you the package with instructions on what to do.
Best Wishes,
Mike