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...

thebigideasman
 
thebigideasman replied on at Permalink Reply
thebigideasman
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
jodzeee replied on at Permalink Reply
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.
thebigideasman replied on at Permalink Reply
thebigideasman
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.
thebigideasman replied on at Permalink Reply
thebigideasman
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
VidalThemes replied on at Permalink Reply
VidalThemes
Hi There,

Just a heads up the page you linked to goes to a 404 not found.
thebigideasman replied on at Permalink Reply
thebigideasman
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????
VidalThemes replied on at Permalink Reply
VidalThemes
Hi, Have you tried writing a blog post from composer, if yes did that error out too?
thebigideasman replied on at Permalink Reply
thebigideasman
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?
VidalThemes replied on at Permalink Reply
VidalThemes
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.
thebigideasman replied on at Permalink Reply
thebigideasman
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.
thebigideasman replied on at Permalink Reply
thebigideasman
One further update, when I go into the Dashboard/Page Types/Blog_Entry/Defaults I get the same error.

This sounds screwed up!
jtarallo replied on at Permalink Reply
Same error here, on blog entries. Anyone get luck?
thebigideasman replied on at Permalink Reply 2 Attachments
thebigideasman
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
jtarallo replied on at Permalink Reply
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?
thebigideasman replied on at Permalink Reply
thebigideasman
@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
jtarallo replied on at Permalink Reply
Sure, same here.
thanks!

Tarallo.
mkly replied on at Permalink Reply
mkly
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
thebigideasman replied on at Permalink Reply
thebigideasman
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
thebigideasman replied on at Permalink Reply 2 Attachments
thebigideasman
Attached are screengrabs of the blog_entry.php page if that helps????
Korvin replied on at Permalink Reply
Korvin
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
mkly replied on at Permalink Reply
mkly
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
thebigideasman replied on at Permalink Reply
thebigideasman
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.
mkly replied on at Permalink Best Answer Reply
mkly
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
thebigideasman replied on at Permalink Reply
thebigideasman
Thanks Mike, you're the best. I couldn't ask for more.
jtarallo replied on at Permalink Reply
hey Mike. How can I run this script? My site is happening the same.

thanks,
Jose.
mkly replied on at Permalink Reply
mkly
Hello Jose,
Send me a private message and I'll send you the package with instructions on what to do.

Best Wishes,
Mike