Getting the NoMethodError error when editing the topic due to my plugin

Thankyou for detailed explanation
You are correct, passing the block ( even something like logging hello world ), didnt throw the error when updating the topic.