This error suggests you are using an old version of Discourse core. If you update to the latest stable, beta or tests-passed version of Discourse the problem should be resolved.
I’m not sure how updating works with the Bitnami image. As @Alexander mentioned, we do not recommend or support the Bitnami image. For the best experience, we recommend the Standard Install