Custom Wizard Plugin 🧙

I created a Custom Wizard and made several submissions as tests, and I can’t delete them manually. According to what I read in another thread, the only way is via Rails, but I can’t figure out which commands to use, ChatGPT fails a lot here.

1 Like

Hi :slight_smile:
It looks like a very recent update to Discourse Core (over the June 6–7 weekend) has introduced a breaking architectural change that causes the discourse-custom-wizard plugin to crash the entire application boot cycle.

Even attempting to visit /safe-mode fails with a global 500 error because the crash occurs during initialization middleware registration.

Here is the exact fatal error trace pulled from Logster:

ActionView::Template::Error (undefined method 'admin_stylesheets' for class DiscoursePluginRegistry)
lib/stylesheet/manager/builder.rb:199:in `Stylesheets::Manager::Builder#plugins_digest'

It appears that during the asset/stylesheet compilation phase (plugins_digest), core Discourse is invoking an admin_stylesheets method on the DiscoursePluginRegistry which is throwing an undefined method exception, likely due to a mismatch with how the custom wizard registers or extends administrative styles.

Disabling the plugin in app.yml and running a complete container rebuild allows the forum to boot normally, confirming the crash is isolated to the wizard’s integration hooks.

Could you please look into updating the registry/stylesheet hooks for compatibility with current core changes?

Thanks!

1 Like

I can confirm the same error as well. Unfortunately, I had to suspend the plugin for the time being.

Thanks for the support.

Hey folks! Thanks to the various people who reached out to me through various media about this issue. It’s fixed and the plugin is working again.

4 Likes