ApplicationController error: wrong argument type Class

  • Used Zammad version: 3.3.0
  • Used Zammad installation source: source
  • Operating system: MacOS
  • Browser + version: Chrome 79

Expected behavior:

  • Startup and let me setup Zammad

Actual behavior:

Steps to reproduce the behavior:

  • Setup local environment with a dockerized MySQL.
  • Execute env RAILS_ENV=local bundle exec rails s
  • Open http://localhost:3000/
    *Sometimes it happens when changing from one environment to another. For example, I startup pointing to development, it works, I change the RAILS_ENV to stage, and stops working even for development.

I found the solution. The problem was I added a helper as a class instead of as a module. I don´t know why it failed from time to time, and not always. I don´t know why ApplicationController was failing either.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.