Forum: Typo after Typo 6.0.4 upgrade - can't activate any sidebars

Posted by Chris Dagdigian (Guest)
on 2011-07-06 14:57
(Received via mailing list)
Hi folks,

Followed the upgrade instructions a while back but experienced a really
odd case not covered by the upgrade warnings. I have an empty sidebar
and I can't add anything, including the standard built-in elements.

The site is http://gridengine.info

The error when I try to add a simple sidebar like "Categories" appears
to be this:

>
> NoMethodError (undefined method `inject' for nil:NilClass):
>   app/controllers/admin/sidebar_controller.rb:26:in `set_active'
>

The symptom in the admin interface is the "spinning" icon hanging
forever. Basically the blog engine is up but I can't add anything to the
sidebar.

Any tips/tricks would be appreciated.

Regards,
Chris
Posted by Matijs van Zuijlen (mvz)
on 2011-07-18 11:33
(Received via mailing list)
Hi Chris,

I just realized I committed a change this weekend that might fix your
issue. The rest of the code is a bit in flux right now, so you may not
want to switch to git master for your production blog :-). However, you
might try applying the patch from this commit:


https://github.com/fdv/typo/commit/ce2e5ac880f09f7...

Regards,
Matijs.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.