Body: <p>Drupal 9.5.1 CiviCRM 5.68</p>
  <p>I am preparing an event. There is a Smarty error which appears in the participant's confirmation email. I am not capable of correcting it. Is there some way I can suppress this error message?</p>
  <p>Warning: Undefined array key &quot;conference_sessions&quot; in /home/amfamproject/www/friends/vendor/civicrm/civicrm-packages/Smarty/Smarty.class.php(2018) : eval()'d code on line 85
  &lt;-- Comment out this section End of Comment out --&gt;</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-04-14T22:15:56.743Z
Comments.Text: Line 85 is commented out: 'code block' 
  84  /** 85  * The directory where config files are located.
  86   *
  87  * @var string
  88  * /
  89    var sconfig_dir = 'configs';
  90
Comments.UserDisplayName: TomMcDonough
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-04-15T04:36:41.040Z
Comments.Text: can you paste the full email template for event registration?
Comments.UserDisplayName: jitendra - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-04-16T13:06:41.900Z
Comments.Text: I'm using the default template provided by civiEvent. The message is:   Thanks for registering for Orestes Brownson and The Future of American Constitutionalism.
  
  We look forward to seeing you on June 20 at 4:30pm at the Capitol Visitor Center Room HVC-201AB.
  
  If you have any questions, please contact us at obsymposium@amfamproject.org
Comments.UserDisplayName: TomMcDonough
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-04-25T07:43:06.437Z
Comments.Text: I got a similar error on contribution_invoice template and it was fixed by the upgrade to civicrm 5.72.1. Can you try upgrading in case it fixes for you too?
Comments.UserDisplayName: jitendra - fuzion
Tags: <civievent><smarty>
Title: Smarty issue with "conference_sessions" in confirmation email of event registration
ThreadText: # Smarty issue with "conference_sessions" in confirmation email of event registration
  
  (Asked by: username_0 on 2024-04-12)
  
  Drupal 9.5.1 CiviCRM 5.68
  
  I am preparing an event. There is a Smarty error which appears in the participant's confirmation email. I am not capable of correcting it. Is there some way I can suppress this error message?
  
  Warning: Undefined array key "conference\_sessions" in /home/amfamproject/www/friends/vendor/civicrm/civicrm-packages/Smarty/Smarty.class.php(2018) : eval()'d code on line 85
  <-- Comment out this section End of Comment out -->
  
  **Tags:** civievent, smarty
  
  > **Comments:**
  > **username_0**: Line 85 is commented out: 'code block'  84  /** 85  * The directory where config files are located. 86   * 87  * @var string 88  * / 89    var sconfig_dir = 'configs'; 90  
  > **username_1**: can you paste the full email template for event registration?  
  > **username_0**: I'm using the default template provided by civiEvent. The message is:   Thanks for registering for Orestes Brownson and The Future of American Constitutionalism.  We look forward to seeing you on June 20 at 4:30pm at the Capitol Visitor Center Room HVC-201AB.  If you have any questions, please contact us at obsymposium@amfamproject.org  
  > **username_1**: I got a similar error on contribution_invoice template and it was fixed by the upgrade to civicrm 5.72.1. Can you try upgrading in case it fixes for you too?  
  
  ---
  
  ## 0 answers
  
  