Answers.Body: <p>See <a href="https://lab.civicrm.org/dev/core/-/issues/5506" rel="noreferrer">https://lab.civicrm.org/dev/core/-/issues/5506</a> and <a href="https://github.com/civicrm/civicrm-core/pull/31233" rel="noreferrer">https://github.com/civicrm/civicrm-core/pull/31233</a>. You can apply that patch, or you can try smarty4 which your civi system status messages should have a message about.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-10-06T14:43:07.160Z
Answers.Text: Thank you Dermerit.........much appreciated
Answers.UserDisplayName: peterb
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-10-06T12:32:39.387Z
Answers.LastActivityDate: 2024-10-06T12:32:39.387Z
Answers.UserDisplayName: Demerit
Body: <p>I have very recently updated CiviCRM from v5.76.1 to 5.78.0 and also updated PHP to the recommended v8.3</p>
  <p>Wordpress is up to date on version 6.6.2</p>
  <p>Since updating, the contribution tab on the contact record fails to populate, with message &quot;
  Network Error
  Unable to reach the server. Please refresh this page in your browser and try again.&quot;
  Refreshing the page fails to correct the problem</p>
  <p>When attempting to search in 'Find contributions', an error message appears saying &quot;  Sorry, due to an error, we are unable to fulfill your request at the moment. You may want to contact your administrator or service provider with more details about what action you were performing when this occurred.
  Syntax error in template &quot;file:/var/www/vhosts/bluestrust.org/httpdocs/wp-content/plugins/civicrm/civicrm/templates/CRM/Contribute/Page/ContributionTotals.tpl&quot; on line 19 &quot;{if $contributionSummary.cancel.amount nofilter}&quot; too many shorthand attributes&quot;</p>
  <p>Line 19 shows &quot; {if $contributionSummary.cancel.amount nofilter}
     {ts}Cancelled/Refunded{/ts} – {$contributionSummary.cancel.amount nofilter}
  {/if}&quot;</p>
  <p>I'm puzzled by such messages and wondering whether the updates I've performed have caused the issues.  Backdating PHP to v8.2 has not cured the problems.</p>
  <p>Has anyone else had such issues please?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-10-16T15:37:34.380Z
Comments.Text: I have exactly the same system and issue: > ContributionTotals.tpl" on line 19 "{if
  > $contributionSummary.cancel.amount nofilter}" too many shorthand
  > attributes I tried to change ContributionTotals.tpl as described in Demerit's links and I tried to change Smarty version, but I still get the error.
Comments.UserDisplayName: Fredatipik
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-10-16T16:14:17.680Z
Comments.Text: Maybe clear cache?
Comments.UserDisplayName: Demerit
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-10-17T17:24:53.557Z
Comments.Text: The problem went away after updating CiviCRM to v 5.78.1 [Later update now available to v 5.78.2]
Comments.UserDisplayName: peterb
Tags: <wordpress><contributions>
Title: Contributions not populating on Contact record tab
ThreadText: # Contributions not populating on Contact record tab
  
  (Asked by: username_0 on 2024-10-06)
  
  I have very recently updated CiviCRM from v5.76.1 to 5.78.0 and also updated PHP to the recommended v8.3
  
  Wordpress is up to date on version 6.6.2
  
  Since updating, the contribution tab on the contact record fails to populate, with message "
  Network Error
  Unable to reach the server. Please refresh this page in your browser and try again."
  Refreshing the page fails to correct the problem
  
  When attempting to search in 'Find contributions', an error message appears saying " Sorry, due to an error, we are unable to fulfill your request at the moment. You may want to contact your administrator or service provider with more details about what action you were performing when this occurred.
  Syntax error in template "file:/var/www/vhosts/bluestrust.org/httpdocs/wp-content/plugins/civicrm/civicrm/templates/CRM/Contribute/Page/ContributionTotals.tpl" on line 19 "{if $contributionSummary.cancel.amount nofilter}" too many shorthand attributes"
  
  Line 19 shows " {if $contributionSummary.cancel.amount nofilter}
    {ts}Cancelled/Refunded{/ts} – {$contributionSummary.cancel.amount nofilter}
  {/if}"
  
  I'm puzzled by such messages and wondering whether the updates I've performed have caused the issues. Backdating PHP to v8.2 has not cured the problems.
  
  Has anyone else had such issues please?
  
  **Tags:** wordpress, contributions
  
  > **Comments:**
  > **username_1**: I have exactly the same system and issue: > ContributionTotals.tpl" on line 19 "{if > $contributionSummary.cancel.amount nofilter}" too many shorthand > attributes I tried to change ContributionTotals.tpl as described in username_2's links and I tried to change Smarty version, but I still get the error.  
  > **username_2**: Maybe clear cache?  
  > **username_0**: The problem went away after updating CiviCRM to v 5.78.1 [Later update now available to v 5.78.2]  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2024-10-06. Score: 7
  
  See <https://lab.civicrm.org/dev/core/-/issues/5506> and <https://github.com/civicrm/civicrm-core/pull/31233>. You can apply that patch, or you can try smarty4 which your civi system status messages should have a message about.
  
  > **Comments:**
  > **username_0**: Thank you Dermerit.........much appreciated  
  
  ---
  
  