Fatal Error editing and System message templates
Enviornment:
- WP 6.4.2
- php 8.1.27
- mariadb 10.11
- CiviCRM 5.69 and current master
Editing any system message template throws a fatal error:
2024-02-07 11:26:45-0500 [error]
$Fatal Error Details = array:3 [
"message" => "DB Error: no such field"
"code" => null
"exception" => Civi\Core\Exception\DBQueryException {#1847
#message: "DB Error: no such field"
#code: 0
#file: "/home/cividev/buildkit/build/wpcvmaster/web/wp-content/plugins/civicrm/civicrm/CRM/Core/Error.php"
#line: 971
#cause: DB_Error {#1854
+error_message_prefix: ""
+mode: 16
+level: 1024
+code: -19
+message: "DB Error: no such field"
+userinfo: """
SELECT id, rev_alias, rev_date, rev_user_id, language, notes\n
FROM civicrm_msg_template_revisions\n
WHERE msg_template_id = 9 AND git_hash IS NULL\n
ORDER BY rev_date DESC, rev_alias\n
[nativecode=1054 ** Unknown column 'language' in 'field list']
"""