Can't edit main post after recent Discourse update


Discourse Version: 2.7.0.beta6

Plugin Commit: 6011650

Other Plugins

Steps to Reproduce

For some reason the recent update in Discourse seems to have broken the post update mecanism but the issue seems to lie our discourse-multilingual plugin

Problematic behavior:

  • create a topic with a language tag
  • click edit on the first post
  • actually edit the topic
  • click Save
  • popup shows up with “500 Internal Server Error”



I went to and found the corresponding stacktrace:

ArgumentError (wrong number of arguments (given 3, expected 2))
plugins/discourse-multilingual/plugin.rb:359:in `block (2 levels) in activate!'
lib/post_revisor.rb:469:in `block (2 levels) in update_topic'
lib/post_revisor.rb:467:in `each'
lib/post_revisor.rb:467:in `block in update_topic'
activerecord ( lib/active_record/connection_adapters/abstract/database_statements.rb:278:in `transaction'
activerecord ( lib/active_record/transactions.rb:212:in `transaction'
lib/post_revisor.rb:466:in `update_topic'
lib/post_revisor.rb:367:in `revise'
lib/post_revisor.rb:271:in `revise_post'
lib/post_revisor.rb:185:in `block in revise!'

So the issue seems to lie in this piece of code expecting 3 args instead of 2 (but i’m not super familiar with Ruby) : discourse-multilingual/plugin.rb at master · paviliondev/discourse-multilingual · GitHub

Thank you for your work !


Bump :slight_smile:

I am also having this issues (and reported it in another topic, but it appears to be the same issue).

1 Like

This has been resolved. See the latest on


That’s so exciting! Thanks for working it out!

Seems to be working on our install :slight_smile:

1 Like

Fixed on my side too, thank you!

1 Like