Answers.Body: <p>There has been ongoing work to fix the notices.  If you have debbuging on in CiviCRM, turn it off or turn off notice displays on screen for now until there is a fix for all the notices in tpls.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-12-06T06:17:11.550Z
Answers.Text: Thank you very much.
  Unfortunately, it is already turned off. (Administer > System Settings > Debugging and Error Handling)
Answers.UserDisplayName: Charly
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-03-14T14:31:53.720Z
Answers.Text: Yes, disabling debugging does not work!
Answers.UserDisplayName: artfulrobot
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-12-04T23:51:05.740Z
Answers.LastActivityDate: 2022-12-04T23:51:05.740Z
Answers.UserDisplayName: Pradeep Nayak
Body: <p>after updating to PHP 8.1, I have a punch of warning, like:</p>
  <pre><code>Warning: Undefined array key &quot;pledgeBlock&quot; in /.../wp-content/uploads/civicrm/templates_c/de_DE/%%3D/3D1/3D13F2BA%%Main.tpl.php on line 138
  
  Warning: Undefined array key &quot;pcpSupporterText&quot; in /.../wp-content/uploads/civicrm/templates_c/de_DE/%%3D/3D1/3D13F2BA%%Main.tpl.php on line 222
  
  Warning: Undefined array key &quot;showMainEmail&quot; in /.../uploads/civicrm/templates_c/de_DE/%%3D/3D1/3D13F2BA%%Main.tpl.php on line 230
  
  Warning: Undefined array key &quot;onBehalfOfFields&quot; in /.../wp-content/uploads/civicrm/templates_c/de_DE/%%B0/B02/B02188B6%%OnBehalfOf.tpl.php on line 20
  
  Warning: Undefined array key &quot;showCMS&quot; in /.../wp-content/uploads/civicrm/templates_c/de_DE/%%98/98F/98F6DF1D%%CMSUser.tpl.php on line 5
  
  Warning: Undefined array key &quot;products&quot; in /.../wp-content/uploads/civicrm/templates_c/de_DE/%%DF/DF4/DF4B6A64%%PremiumBlock.tpl.php on line 5
  
  Warning: Undefined array key &quot;honoreeProfileFields&quot; in /.../wp-content/uploads/civicrm/templates_c/de_DE/%%3D/3D1/3D13F2BA%%Main.tpl.php on line 267
  
  Warning: Undefined array key &quot;help_pre&quot; in /.../wp-content/uploads/civicrm/templates_c/de_DE/%%70/70E/70E79F81%%Block.tpl.php on line 6
  
  Warning: Undefined array key &quot;prefix&quot; in /.../wp-content/uploads/civicrm/templates_c/de_DE/%%5C/5C2/5C26BC2B%%Fields.tpl.php on line 13
  
  Warning: Undefined array key &quot;mode&quot; in /.../wp-content/uploads/civicrm/templates_c/de_DE/%%5C/5C2/5C26BC2B%%Fields.tpl.php on line 32
  
  Warning: Undefined array key &quot;hideFieldset&quot; in /.../wp-content/uploads/civicrm/templates_c/de_DE/%%5C/5C2/5C26BC2B%%Fields.tpl.php on line 32
  </code></pre>
  <p>I already tried the tip mentioned in <a href="https://civicrm.stackexchange.com/q/43038/14050">CiviCRM support for PHP 8.1?</a>, cleared the templates_c directory, and cleared the cache. The warnings remain.</p>
  <p>Any suggestions?
  Thank you very much</p>
  
Tags: <php8>
Title: Problems after updating to PHP 8.1
ThreadText: # Problems after updating to PHP 8.1
  
  (Asked by: username_0 on 2022-12-04)
  
  after updating to PHP 8.1, I have a punch of warning, like:
  
  ```
  Warning: Undefined array key "pledgeBlock" in /.../wp-content/uploads/civicrm/templates_c/de_DE/%%3D/3D1/3D13F2BA%%Main.tpl.php on line 138
  
  Warning: Undefined array key "pcpSupporterText" in /.../wp-content/uploads/civicrm/templates_c/de_DE/%%3D/3D1/3D13F2BA%%Main.tpl.php on line 222
  
  Warning: Undefined array key "showMainEmail" in /.../uploads/civicrm/templates_c/de_DE/%%3D/3D1/3D13F2BA%%Main.tpl.php on line 230
  
  Warning: Undefined array key "onBehalfOfFields" in /.../wp-content/uploads/civicrm/templates_c/de_DE/%%B0/B02/B02188B6%%OnBehalfOf.tpl.php on line 20
  
  Warning: Undefined array key "showCMS" in /.../wp-content/uploads/civicrm/templates_c/de_DE/%%98/98F/98F6DF1D%%CMSUser.tpl.php on line 5
  
  Warning: Undefined array key "products" in /.../wp-content/uploads/civicrm/templates_c/de_DE/%%DF/DF4/DF4B6A64%%PremiumBlock.tpl.php on line 5
  
  Warning: Undefined array key "honoreeProfileFields" in /.../wp-content/uploads/civicrm/templates_c/de_DE/%%3D/3D1/3D13F2BA%%Main.tpl.php on line 267
  
  Warning: Undefined array key "help_pre" in /.../wp-content/uploads/civicrm/templates_c/de_DE/%%70/70E/70E79F81%%Block.tpl.php on line 6
  
  Warning: Undefined array key "prefix" in /.../wp-content/uploads/civicrm/templates_c/de_DE/%%5C/5C2/5C26BC2B%%Fields.tpl.php on line 13
  
  Warning: Undefined array key "mode" in /.../wp-content/uploads/civicrm/templates_c/de_DE/%%5C/5C2/5C26BC2B%%Fields.tpl.php on line 32
  
  Warning: Undefined array key "hideFieldset" in /.../wp-content/uploads/civicrm/templates_c/de_DE/%%5C/5C2/5C26BC2B%%Fields.tpl.php on line 32
  
  ```
  
  I already tried the tip mentioned in [CiviCRM support for PHP 8.1?](https://civicrm.stackexchange.com/q/43038/14050), cleared the templates\_c directory, and cleared the cache. The warnings remain.
  
  Any suggestions?
  Thank you very much
  
  **Tags:** php8
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2022-12-04. Score: 0
  
  There has been ongoing work to fix the notices. If you have debbuging on in CiviCRM, turn it off or turn off notice displays on screen for now until there is a fix for all the notices in tpls.
  
  > **Comments:**
  > **username_0**: Thank you very much. Unfortunately, it is already turned off. (Administer > System Settings > Debugging and Error Handling)  
  > **username_2**: Yes, disabling debugging does not work!  
  
  ---
  
  