Answers.Body: <p>Check your extensions - you may have one using an older version of Guzzle. See if there is a newer version of the extension and upgrade it.  Alternatively, disable it to get things running again.</p>
  <p>You may have more issues if there were memory problems causing steps of the upgrade to fail.  You might be better to restore the backup you did just before upgrading and rerun the upgrade with your modified php.ini</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-06-24T15:44:01.040Z
Answers.Text: Thanks for this hint! There are also drupal modules that use guzzle, in my case it was an old d7 mailchimp module.
Answers.UserDisplayName: Alan Dixon
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-02-26T10:27:28.947Z
Answers.LastActivityDate: 2024-02-26T10:27:28.947Z
Answers.UserDisplayName: Aidan
Body: <p>I upgraded to the latest release last night and the upgrade appeared to have succeeded, but there were issues as I did it—out of memory issues on the sever (which I think I resolved now by editing the correct php.ini file), so may not have completed all tasks.</p>
  <p>Symptoms:</p>
  <ol>
  <li><p>Status page does not show anything at all</p>
  </li>
  <li><p>Going to the CiviCRM menu initially results in an error, but refreshing browser immediately resolves it.</p>
  </li>
  <li><p>Log shows
  Error: Undefined class constant 'MAJOR_VERSION' in GuzzleHttp\Utils::defaultUserAgent() (line 116 of ... /sites/all/modules/civicrm/vendor/guzzlehttp/guzzle/src/Utils.php).</p>
  </li>
  </ol>
  <p>CiviCRM Cron results in
  function should not be reachable Caller: CRM_Contact_BAO_Query::whereClauseSingle Array ( [civi.tag] =&gt; deprecated )</p>
  <p>User deprecated function: function should not be reachable Caller: CRM_Contact_BAO_Query::whereClauseSingle in CRM_Core_Error::deprecatedWarning() (line 1129 of .../public_html/sites/all/modules/civicrm/CRM/Core/Error.php).</p>
  <p>Warning: file_get_contents(<a href="https://latest.civicrm.org/stable.php?format=summary" rel="nofollow noreferrer">https://latest.civicrm.org/stable.php?format=summary</a>): Failed to open stream: no suitable wrapper could be found in CRM_Utils_VersionCheck-&gt;pingBack() (line 297 of .../sites/all/modules/civicrm/CRM/Utils/VersionCheck.php).</p>
  <p>Ideas and solutions?</p>
  <p>&quot;CIVI_VERSION&quot;: &quot;5.70.0&quot;,
  &quot;CMS_VERSION&quot;: &quot;7.98&quot;, (Drupal)
  domain is using php 7.4 (higher versions are right now resulting in website errors.) shell for upgrade was using php 8.1</p>
  
Tags: <upgrade>
Title: Upgrade to 5.70 caused issues; incomplete or flawed version or?
ThreadText: # Upgrade to 5.70 caused issues; incomplete or flawed version or?
  
  (Asked by: username_0 on 2024-02-22)
  
  I upgraded to the latest release last night and the upgrade appeared to have succeeded, but there were issues as I did it—out of memory issues on the sever (which I think I resolved now by editing the correct php.ini file), so may not have completed all tasks.
  
  Symptoms:
  
  1. Status page does not show anything at all
  2. Going to the CiviCRM menu initially results in an error, but refreshing browser immediately resolves it.
  3. Log shows
     Error: Undefined class constant 'MAJOR\_VERSION' in GuzzleHttp\Utils::defaultUserAgent() (line 116 of ... /sites/all/modules/civicrm/vendor/guzzlehttp/guzzle/src/Utils.php).
  
  CiviCRM Cron results in
  function should not be reachable Caller: CRM\_Contact\_BAO\_Query::whereClauseSingle Array ( [civi.tag] => deprecated )
  
  User deprecated function: function should not be reachable Caller: CRM\_Contact\_BAO\_Query::whereClauseSingle in CRM\_Core\_Error::deprecatedWarning() (line 1129 of .../public\_html/sites/all/modules/civicrm/CRM/Core/Error.php).
  
  Warning: file\_get\_contents(<https://latest.civicrm.org/stable.php?format=summary>): Failed to open stream: no suitable wrapper could be found in CRM\_Utils\_VersionCheck->pingBack() (line 297 of .../sites/all/modules/civicrm/CRM/Utils/VersionCheck.php).
  
  Ideas and solutions?
  
  "CIVI\_VERSION": "5.70.0",
  "CMS\_VERSION": "7.98", (Drupal)
  domain is using php 7.4 (higher versions are right now resulting in website errors.) shell for upgrade was using php 8.1
  
  **Tags:** upgrade
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2024-02-26. Score: 3
  
  Check your extensions - you may have one using an older version of Guzzle. See if there is a newer version of the extension and upgrade it. Alternatively, disable it to get things running again.
  
  You may have more issues if there were memory problems causing steps of the upgrade to fail. You might be better to restore the backup you did just before upgrading and rerun the upgrade with your modified php.ini
  
  > **Comments:**
  > **username_2**: Thanks for this hint! There are also drupal modules that use guzzle, in my case it was an old d7 mailchimp module.  
  
  ---
  
  