Need help with fatal error
Permalink 1 user found helpful
I just started getting the following fatal errors:
Fatal error: Call to a member function getCollectionID() on a non-object in /home2/readyto2/public_html/packages/blog/models/blog_post.php on line 280
and
Call to a member function getTimestampFormat() on a non-object in /home2/readyto2/public_html/packages/blog/models/blog_post.php on line 301
The first when I attempt to use the Blog addon All Posts/Drafts tag.
The second when I click on the link to any blog entry.
Fatal error: Call to a member function getCollectionID() on a non-object in /home2/readyto2/public_html/packages/blog/models/blog_post.php on line 280
and
Call to a member function getTimestampFormat() on a non-object in /home2/readyto2/public_html/packages/blog/models/blog_post.php on line 301
The first when I attempt to use the Blog addon All Posts/Drafts tag.
The second when I click on the link to any blog entry.
I should mention, james, to fix it for now all you need to do is comment out that function in the blog_post.php and then comment out the call for that function in your packages/blog/blocks/blog_list/view.php file.
Thanks,
I actually ended up removing the blog page and then replacing it to remove the errors. Hopefully it doesn't happen again.
I actually ended up removing the blog page and then replacing it to remove the errors. Hopefully it doesn't happen again.
I can confirm this bug in the Blog Addon package -http://www.concrete5.org/marketplace/addons/blog/...
Has this been resolved?
I am also having the same problem. Error displays on this page within installationhttp://example.com/index.php/dashboard/blog/posts/...
My blog is visible on the front-end, but I cannot manage posts from the dashboard.
Error is:
Fatal error: Call to a member function getCollectionID() on a non-object in /packages/blog/models/blog_post.php on line 280
I am also having the same problem. Error displays on this page within installationhttp://example.com/index.php/dashboard/blog/posts/...
My blog is visible on the front-end, but I cannot manage posts from the dashboard.
Error is:
Fatal error: Call to a member function getCollectionID() on a non-object in /packages/blog/models/blog_post.php on line 280
you might try doing a support request here:
http://www.concrete5.org/marketplace/addons/blog/support_and_featur...
(each addon has its own support page)
http://www.concrete5.org/marketplace/addons/blog/support_and_featur...
(each addon has its own support page)
I just downloaded the package on the 16th.
I've used a version I downloaded a few months earlier with no problem on a different site. It looks like the blog_post.php file has changed quite a bit between the two versions.