Answers.Body: <p>I removed my acceptance of my answer of changing the {0} to [0] because I fear it might misguide others. The correct answer is a combination of @Coleman statement of updating the extension which is ALWAYS the proper way, if available, and that @bgm has updated the numerical hierarchy in order to accomplish this. I thank both parties for their time and effort and simply want the record to reflect their tireless efforts!</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-12-16T16:37:22.587Z
Answers.LastActivityDate: 2023-12-16T16:37:22.587Z
Answers.UserDisplayName: Paul Williams
Answers.Body: <p>CiviCRM v5.68.0 <em>is</em> fully compatible with PHP 8.1.</p>
  <p>However, some extensions you may be using for CiviCRM might not be. You should ask your hosting provider for clarification about the specific incompatibility they are referring to.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-12-13T11:58:16.717Z
Answers.Text: This was the specific error: [13-Dec-2023 11:52:45 UTC] PHP Fatal error:  Array and string offset access syntax with curly braces is no longer supported in /home/xxxxxx/public_html/wp-content/uploads/civicrm/ext/org.civicrm.angularprofiles/angularprofiles.civix.php on line 246
Answers.UserDisplayName: Paul Williams
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-12-13T13:13:44.983Z
Answers.Text: Glad you solved the mystery.
Answers.UserDisplayName: Coleman
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-12-13T13:36:51.337Z
Answers.Text: I'm surprised you didn't see a notification in CiviCRM that a new version of AngularProfiles is available. It's been out for the past 6 weeks and solves the PHP8 problem.
Answers.UserDisplayName: Coleman
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-12-14T01:03:00.217Z
Answers.Text: Angular Profiles
  A Utility extension that provides Profile support to AngularJS pages Enabled 4.7.31-1.1.2
Answers.UserDisplayName: Paul Williams
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-12-14T17:40:45.100Z
Answers.Text: Changed {0} to [0] in line 246 and solved everything. Got the idea from here: https://civicrm.org/blog/bgm/php-8-support-civicrm-extensions.
Answers.UserDisplayName: Paul Williams
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-12-14T20:56:57.063Z
Answers.Text: ... or you could have simply upgraded. As I said, [the latest release](https://lab.civicrm.org/extensions/angularprofiles/-/releases/1.2.4) solves the php8 issue.
Answers.UserDisplayName: Coleman
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-12-15T02:18:36.997Z
Answers.Text: So, to be real clear here, I didn't have an option to upgrade. I suppose I could have manually downloaded the extension, gone into cPanel, etc. but that is kinda counter productive as the system should have advised it needed to be upgraded.
Answers.UserDisplayName: Paul Williams
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-12-15T12:27:09.927Z
Answers.Text: That's very strange. I see that [the latest version is released](https://civicrm.org/extensions/angular-profile-utilities) and available for automatic download.
Answers.UserDisplayName: Coleman
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-12-15T12:34:39.910Z
Answers.Text: Screenshot below. Run my own cloud server so not like a trash, shared setup. Willing to run any tests if you think it would help determine for others or Core, just give me a holler. Screenshot here: https://imgur.com/a/ldhc6wE
Answers.UserDisplayName: Paul Williams
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-12-15T13:46:33.123Z
Answers.Text: I'd guess that's due to the oddball way those versions got numbered. You've got version `5.23-1.2.2` but the latest release is `1.2.4`... however the computer would think that it's not an update because 5 is greater than 1.
Answers.UserDisplayName: Coleman
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-12-15T15:50:38.253Z
Answers.Text: @PaulWilliams Can you check if your CiviCRM install now displays an available upgrade for version 6.2.4? I bumped the version number to fix the issue (looks like there are many many people still running the old version, we need to make sure they upgrade asap). Click "Refresh" to make sure it updates the feed of available extensions.
Answers.UserDisplayName: bgm
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-12-15T19:52:58.503Z
Answers.Text: That is affirmative. Seamlessly updated. Appreciate all you folks do! Screenshot attached. https://imgur.com/a/wV6HaHk
Answers.UserDisplayName: Paul Williams
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-12-13T01:50:42.127Z
Answers.LastActivityDate: 2023-12-13T01:50:42.127Z
Answers.UserDisplayName: Coleman
Answers.Body: <p>Changed {0} to [0] in line 246 and solved everything. Got the idea from here: civicrm.org/blog/bgm/php-8-support-civicrm-extensions</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-12-14T18:29:17.660Z
Answers.LastActivityDate: 2023-12-14T18:29:17.660Z
Answers.UserDisplayName: Paul Williams
Body: <p>WordPress v6.4.2 CiviCRM v5.68.0</p>
  <p>My hosting provider stated, &quot;The issue with [my website] is caused due to the plugin civicrm. It seems that the version of the plugin is not fully compatible with PHP 8.1.&quot;</p>
  <p>So, I keep being told to update to PHP 8.1 but cannot. What do I need to do?</p>
  <p>Thanks!</p>
  
Tags: <wordpress><php8>
Title: Upgrade To PHP 8.1 Prevented By WordPress CiviCRM Plugin
ThreadText: # Upgrade To PHP 8.1 Prevented By WordPress CiviCRM Plugin
  
  (Asked by: username_0 on 2023-12-13)
  
  WordPress v6.4.2 CiviCRM v5.68.0
  
  My hosting provider stated, "The issue with [my website] is caused due to the plugin civicrm. It seems that the version of the plugin is not fully compatible with PHP 8.1."
  
  So, I keep being told to update to PHP 8.1 but cannot. What do I need to do?
  
  Thanks!
  
  **Tags:** wordpress, php8
  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_0 on 2023-12-16. Score: 2 | Accepted answer
  
  I removed my acceptance of my answer of changing the {0} to [0] because I fear it might misguide others. The correct answer is a combination of @username_1 statement of updating the extension which is ALWAYS the proper way, if available, and that @username_2 has updated the numerical hierarchy in order to accomplish this. I thank both parties for their time and effort and simply want the record to reflect their tireless efforts!
  
  
  ---
  
  ### Answer by username_1 on 2023-12-13. Score: 1
  
  CiviCRM v5.68.0 *is* fully compatible with PHP 8.1.
  
  However, some extensions you may be using for CiviCRM might not be. You should ask your hosting provider for clarification about the specific incompatibility they are referring to.
  
  > **Comments:**
  > **username_0**: This was the specific error: [13-Dec-2023 11:52:45 UTC] PHP Fatal error:  Array and string offset access syntax with curly braces is no longer supported in /home/xxxxxx/public_html/wp-content/uploads/civicrm/ext/org.civicrm.angularprofiles/angularprofiles.civix.php on line 246  
  > **username_1**: Glad you solved the mystery.  
  > **username_1**: I'm surprised you didn't see a notification in CiviCRM that a new version of AngularProfiles is available. It's been out for the past 6 weeks and solves the PHP8 problem.  
  > **username_0**: Angular Profiles A Utility extension that provides Profile support to AngularJS pages Enabled 4.7.31-1.1.2  
  > **username_0**: Changed {0} to [0] in line 246 and solved everything. Got the idea from here: https://civicrm.org/blog/username_2/php-8-support-civicrm-extensions.  
  > **username_1**: ... or you could have simply upgraded. As I said, [the latest release](https://lab.civicrm.org/extensions/angularprofiles/-/releases/1.2.4) solves the php8 issue.  
  > **username_0**: So, to be real clear here, I didn't have an option to upgrade. I suppose I could have manually downloaded the extension, gone into cPanel, etc. but that is kinda counter productive as the system should have advised it needed to be upgraded.  
  > **username_1**: That's very strange. I see that [the latest version is released](https://civicrm.org/extensions/angular-profile-utilities) and available for automatic download.  
  > **username_0**: Screenshot below. Run my own cloud server so not like a trash, shared setup. Willing to run any tests if you think it would help determine for others or Core, just give me a holler. Screenshot here: https://imgur.com/a/ldhc6wE  
  > **username_1**: I'd guess that's due to the oddball way those versions got numbered. You've got version `5.23-1.2.2` but the latest release is `1.2.4`... however the computer would think that it's not an update because 5 is greater than 1.  
  > **username_2**: @PaulWilliams Can you check if your CiviCRM install now displays an available upgrade for version 6.2.4? I bumped the version number to fix the issue (looks like there are many many people still running the old version, we need to make sure they upgrade asap). Click "Refresh" to make sure it updates the feed of available extensions.  
  > **username_0**: That is affirmative. Seamlessly updated. Appreciate all you folks do! Screenshot attached. https://imgur.com/a/wV6HaHk  
  
  ---
  
  ### Answer by username_0 on 2023-12-14. Score: 0
  
  Changed {0} to [0] in line 246 and solved everything. Got the idea from here: civicrm.org/blog/username_2/php-8-support-civicrm-extensions
  
  
  ---
  
  