Answers.Body: <p>I was able to restore values in <code>civicrm_msg_template</code> from a backup which seems to have allowed me to roll back to 5.69.4.</p>
  <p>Will check out <a href="https://github.com/civicrm/civicrm-core/pull/29428" rel="nofollow noreferrer">github.com/civicrm/civicrm-core/pull/29428</a> for <a href="https://lab.civicrm.org/dev/core/-/issues/5006" rel="nofollow noreferrer">https://lab.civicrm.org/dev/core/-/issues/5006</a> as per <a href="https://civicrm.stackexchange.com/users/181/demerit">Demerit</a>'s comment.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-02-21T06:40:40.367Z
Answers.LastActivityDate: 2024-02-21T06:40:40.367Z
Answers.UserDisplayName: Sophie Miron
Body: <p>I'm still using smarty 2, PHP 7.4, drupal 7.99
  (note: I have a test site for php 8 and smarty 3 and there are problems with both)</p>
  <p>After upgrading from civicrm 5.69.4 to 5.70.0 getting the following error on event registration:</p>
  <blockquote>
  <p>Message was not parsed due to invalid smarty syntax : Smarty error: [in evaluated template line 476]: syntax error: invalid attribute name: '=' (Smarty_Compiler.class.php, line 1549)</p>
  </blockquote>
  <p>I tried rolling back the code and that doesn't fix it, which would imply a database change, but I don't see any db sql in the incremental files.</p>
  <p>FWIW, the registration goes through but the confirmation email is not generated.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-02-21T03:38:47.273Z
Comments.Text: Are you able to review this PR and leave a comment there https://github.com/civicrm/civicrm-core/pull/29428
Comments.UserDisplayName: Demerit
Tags: <upgrade><smarty><drupal-7><smarty3>
Title: Smarty error after upgrading civicrm from 5.69.4 to 5.70.0
ThreadText: # Smarty error after upgrading civicrm from 5.69.4 to 5.70.0
  
  (Asked by: username_0 on 2024-02-21)
  
  I'm still using smarty 2, PHP 7.4, drupal 7.99
  (note: I have a test site for php 8 and smarty 3 and there are problems with both)
  
  After upgrading from civicrm 5.69.4 to 5.70.0 getting the following error on event registration:
  
  > Message was not parsed due to invalid smarty syntax : Smarty error: [in evaluated template line 476]: syntax error: invalid attribute name: '=' (Smarty\_Compiler.class.php, line 1549)
  
  I tried rolling back the code and that doesn't fix it, which would imply a database change, but I don't see any db sql in the incremental files.
  
  FWIW, the registration goes through but the confirmation email is not generated.
  
  **Tags:** upgrade, smarty, drupal-7, smarty3
  
  > **Comments:**
  > **username_1**: Are you able to review this PR and leave a comment there https://github.com/civicrm/civicrm-core/pull/29428  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2024-02-21. Score: 1
  
  I was able to restore values in `civicrm_msg_template` from a backup which seems to have allowed me to roll back to 5.69.4.
  
  Will check out [github.com/civicrm/civicrm-core/pull/29428](https://github.com/civicrm/civicrm-core/pull/29428) for <https://lab.civicrm.org/dev/core/-/issues/5006> as per [username_1](https://civicrm.stackexchange.com/users/181/demerit)'s comment.
  
  
  ---
  
  