Re: Sidebar plugin help


#1

Guys,

I think this is a bug - can anyone else reproduce?

Create a simple plugin like mine below on Typo 4.0.3 and attempt to
publish it. That operation should fail, and an error will appear in the
production log indicating something similar to ‘unknown method each on
object nil’ (I don’t have the exact message here as its on my home
computer).

Adding a single setting to the controller allows it to work, ie

$ more gallerysb_controller.rb
class Plugins::Sidebars::GallerysbController < Sidebars::ComponentPlugin

setting :foo, ‘foopie’

display_name “Gallery”
description ‘gallery stuff’

def content
end
end

This problem occurs on OS X

Stephen.


#2

Can you publish the exact error log? Preferably when running in
development, for added info.

Regards,

Sean