Answers.Body: <p>Switching back to PHP 7.4 fixed it.
  Having said that I have another site where it is working with PHP 8</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-04-04T04:02:20.457Z
Answers.LastActivityDate: 2023-04-04T04:02:20.457Z
Answers.UserDisplayName: LesleyJill
Answers.Body: <p>I have the same error on civicrm 5.70 in contribution page.
  Warning: Undefined array key &quot;buildRecurBlock&quot; in C:\xampp\htdocs\PQCRM\wp-content\uploads\civicrm\templates_c\en_US%%60\60A\60A6E1C6%%Payment.tpl.php on line 5</p>
  <p>Warning: Undefined array key &quot;buildRecurBlock&quot; in C:\xampp\htdocs\PQCRM\wp-content\uploads\civicrm\templates_c\en_US%%6F\6F7\6F7BB438%%Contribution.tpl.php on line 125.</p>
  <p><a href="https://i.sstatic.net/ntmAA.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/ntmAA.jpg" alt="enter image description here" /></a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-02-17T15:43:16.930Z
Answers.Text: This does not really answer the question. If you have a different question, you can ask it by clicking [Ask Question](https://civicrm.stackexchange.com/questions/ask). To get notified when this question gets new answers, you can [follow this question](https://meta.stackexchange.com/q/345661). Once you have enough [reputation](https://civicrm.stackexchange.com/help/whats-reputation), you can also [add a bounty](https://civicrm.stackexchange.com/help/privileges/set-bounties) to draw more attention to this question. - [From Review](/review/late-answers/14101)
Answers.UserDisplayName: William Mortada
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-02-12T06:15:15.823Z
Answers.LastActivityDate: 2024-02-12T06:15:15.823Z
Answers.UserDisplayName: vishnu md
Body: <p>wp 6.1 civicrm 5.59.3 php 8</p>
  <p>also error message &quot;Warning: Undefined array key &quot;buildRecurBlock&quot; in /home/customer/www/4nature.org/public_html/wp-content/uploads/civicrm/templates_c/en_US/%%60/60A/60A6E1C6%%Payment.tpl.php on line 5&quot;</p>
  <p>&quot;additional details&quot; accordion expands for existing contributions but not for new contribution.
  have cleared cache and templates_c</p>
  <p>screen changes slightly in that line appears under &quot;additional details&quot; but no fields
  <a href="https://i.sstatic.net/w332r.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/w332r.png" alt="enter image description here" /></a></p>
  
Tags: <civicontribute>
Title: additional details accordion doesnt expand for new contribution
ThreadText: # additional details accordion doesnt expand for new contribution
  
  (Asked by: username_0 on 2023-04-04)
  
  wp 6.1 civicrm 5.59.3 php 8
  
  also error message "Warning: Undefined array key "buildRecurBlock" in /home/customer/www/4nature.org/public\_html/wp-content/uploads/civicrm/templates\_c/en\_US/%%60/60A/60A6E1C6%%Payment.tpl.php on line 5"
  
  "additional details" accordion expands for existing contributions but not for new contribution.
  have cleared cache and templates\_c
  
  screen changes slightly in that line appears under "additional details" but no fields
  [![enter image description here](https://i.sstatic.net/w332r.png)](https://i.sstatic.net/w332r.png)
  
  **Tags:** civicontribute
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_0 on 2023-04-04. Score: 1
  
  Switching back to PHP 7.4 fixed it.
  Having said that I have another site where it is working with PHP 8
  
  
  ---
  
  ### Answer by username_1 on 2024-02-12. Score: 0
  
  I have the same error on civicrm 5.70 in contribution page.
  Warning: Undefined array key "buildRecurBlock" in C:\xampp\htdocs\PQCRM\wp-content\uploads\civicrm\templates\_c\en\_US%%60\60A\60A6E1C6%%Payment.tpl.php on line 5
  
  Warning: Undefined array key "buildRecurBlock" in C:\xampp\htdocs\PQCRM\wp-content\uploads\civicrm\templates\_c\en\_US%%6F\6F7\6F7BB438%%Contribution.tpl.php on line 125.
  
  [![enter image description here](https://i.sstatic.net/ntmAA.jpg)](https://i.sstatic.net/ntmAA.jpg)
  
  > **Comments:**
  > **username_2**: This does not really answer the question. If you have a different question, you can ask it by clicking [Ask Question](https://civicrm.stackexchange.com/questions/ask). To get notified when this question gets new answers, you can [follow this question](https://meta.stackexchange.com/q/345661). Once you have enough [reputation](https://civicrm.stackexchange.com/help/whats-reputation), you can also [add a bounty](https://civicrm.stackexchange.com/help/privileges/set-bounties) to draw more attention to this question. - [From Review](/review/late-answers/14101)  
  
  ---
  
  