Discourse layouts plugin is broken

Hey there :slight_smile: The layouts plugin isn’t broken. You’ll get this error if you’re trying to add a widget and you don’t pass the right number arguments to the add_widget method.

What widget(s) / versions of widgets are you trying to use with the layouts plugin? (maybe just paste the list of plugins you’re using here)

Additionally, I’ve made a small change to the layouts plugin to prevent the passing of incorrect arguments from throwing an exception like this.