solution: typo - Invalid root argument:

When I tried to install typo 5.4.3 today, I saw these error messages right after I finished the installation when I tried to change my password:

RuntimeError in Admin/dashboard#index

Showing app/views/admin/dashboard/_posts.html.erb where line #9 raised:

Invalid root argument: 
Extracted source (around line #9):

6:     <% else %>
7:       <% for post in @recent_posts -%>
8:         
  • 9: <%= link_to_permalink post, post.title %> (<%= link_to_permalink(post, post.published_comments.size) %>) 10:
  • 11: <% end %> 12: <% end %>

    here is how to fix this problem:

    1. goto http://example.com/admin/settings (replace example.com with your typo site domain)
    2. fill the right value to the form "Blog URL" (or leave it as it is)
    3. Update setting

    Now the problem should be solved!

    Post new comment

    The content of this field is kept private and will not be shown publicly.