I noticed the method had been recently renamed here: DEV: Rename with_secure_uploads? to should_secure_uploads? on Post by martin-brennan · Pull Request #26549 · discourse/discourse · GitHub.
Did you upgrade from the admin panel?
Not an expert here. I wonder if that change requires rebuilding Discourse from the command line so everything is correctly loaded (?). ![]()