Back to ProBlog Support

p.mietlicki
p.mietlicki

The last update does not solve 2 of the errors I mentioned before .

ERROR 1

'Bloglist' does not contain a method 'blogPosts' (inside the default.html for the bloglist component). Could you please change the line N°5 From :

 {% for post in __SELF__.blogPosts %}

To :

 {% for post in blogPosts %}

ERROR 2

The proBlog Post component shows a 404 error, no post is displayed anymore. I had to change 'Post.php' by adding a class variable named post ($this->post). Could you change 'Post.php' From :

class Post extends ComponentBase
{
    public function componentDetails()

To :

class Post extends ComponentBase
{
    public $post;
    public function componentDetails()

I tried to add the bloglist component on the page that displays a blog post but it did not change anything. So I think everyone is having the same problems.

Regards, Pascal

Last updated

p.mietlicki
p.mietlicki

ERROR 3

The category under the proBlog list component will work only the first time, you click on it.

First time, it would be the good link : http://pascal-mietlicki.fr/blog/category/work/ But inside this new page, the bad link would be : http://pascal-mietlicki.fr/blog/category/work/category/work

I had to change From :

<a href="{{ post.parent|page() }}/category/{{category_slug}}/">{{ category_name }}</a>

To :

<a href="{{ blogCategoryPage|page({'filter': category_slug, 'slug': null }) }}/">{{ category_name }}</a>

I changed it by including the default partial and rewrite it.

Regards, Pascal

Last updated

markandmedia
markandmedia

Thank you... It solved my problem!

t.usami10584
t.usami10584

Thanks... this is very very helpful and saved my blog from error...

joelesvensson
joelesvensson

I also have this error. Will this get fixed soon? EDIT: seems like it is fixed in 3.2.3

Last updated

1-5 of 5