Thanks for the report, @Don and @RBoy!
The fix is here. Once merged the error should go away.
https://github.com/discourse/discourse/pull/26206