Issue #24528:display database error when thawItemsite fails

Please use `ErrorReporter::error()`