Answers.Body: <p>This was fixed but missed making into 5.63.1. See <a href="https://github.com/civicrm/civicrm-core/pull/26517#issuecomment-1636255789" rel="nofollow noreferrer">https://github.com/civicrm/civicrm-core/pull/26517#issuecomment-1636255789</a></p>
  <p>You can apply the patch there.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-07-22T15:13:36.647Z
Answers.Text: Aha! I was thinking that we fixed those in 5.63.1.
Answers.UserDisplayName: Lars SG
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-07-22T14:56:59.590Z
Answers.LastActivityDate: 2023-07-22T14:56:59.590Z
Answers.UserDisplayName: Demerit
Body: <p>How to fix Smarty in civicrm 5.63.1</p>
  <p>The error originates in the following include from sites/default/files/civicrm/templates_c/en_US/%%1D/1DB/1DB03A28%%CustomField.tpl.php</p>
  <p>Message TypeError: Cannot access offset of type string on string in include() (line 31 of .../sites/default/files/civicrm/templates_c/en_US/%%1D/1DB/1DB03A28%%CustomField.tpl.php)</p>
  <p>Then:
  #0... vendor/civicrm/civicrm-packages/Smarty/Smarty.class.php:include() line 1914.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-07-22T14:10:55.233Z
Comments.Text: Can you include steps to reproduce this?
Comments.UserDisplayName: Lars SG
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-07-22T14:29:02.183Z
Comments.Text: Yes please give context - what menu item are you clicking on that gives this error?
Comments.UserDisplayName: Coleman
Tags: <smarty>
Title: Smarty include getting illegal string on string error
ThreadText: # Smarty include getting illegal string on string error
  
  (Asked by: username_0 on 2023-07-22)
  
  How to fix Smarty in civicrm 5.63.1
  
  The error originates in the following include from sites/default/files/civicrm/templates\_c/en\_US/%%1D/1DB/1DB03A28%%CustomField.tpl.php
  
  Message TypeError: Cannot access offset of type string on string in include() (line 31 of .../sites/default/files/civicrm/templates\_c/en\_US/%%1D/1DB/1DB03A28%%CustomField.tpl.php)
  
  Then:
  #0... vendor/civicrm/civicrm-packages/Smarty/Smarty.class.php:include() line 1914.
  
  **Tags:** smarty
  
  > **Comments:**
  > **username_1**: Can you include steps to reproduce this?  
  > **username_2**: Yes please give context - what menu item are you clicking on that gives this error?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_3 on 2023-07-22. Score: 1
  
  This was fixed but missed making into 5.63.1. See <https://github.com/civicrm/civicrm-core/pull/26517#issuecomment-1636255789>
  
  You can apply the patch there.
  
  > **Comments:**
  > **username_1**: Aha! I was thinking that we fixed those in 5.63.1.  
  
  ---
  
  