#supportforum Any doubts or questions on how to use Decidim? Check them with the Community!
Error creating a proposal
Hello to all,
I have a problem that happens when I open a proposal I just created. Once you have created a page of proposals (still empty, but if there are proposals inside it does not change the situation), the following error appears:
NoMethodError in Decidim :: Proposals :: Proposals # index
Showing /home/decidim/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/decidim-proposals-0.18.0/app/views/decidim/proposals/proposals/_filters.html.erb where line # 15 raised:
undefined method `polymorphic? ' for #
Extracted source (around line # 4):
def build_join_constraint (table, foreign_table)
>>> if polymorphic?
super (table, foreign_table)
.and (foreign_table [foreign_type] .eq (klass.name))
Trace of template inclusion: /home/decidim/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/decidim-proposals-0.18.0/app/views/decidim/proposals/proposals/_filters_small_view .html.erb, /home/decidim/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/decidim-proposals-0.18.0/app/views/decidim/proposals/proposals/index .html.erb
Rails.root: / home / decidim / decidim-app
To be clear, this error appears as soon as I open the URL:
Thanks for the support
Report inappropriate content
Is this content inappropriate?