Answers.Body: <p>These links are for drupal and wordpress but it's the same type of problem. There isn't a good solution available though.</p>
  <ul>
  <li><a href="https://lab.civicrm.org/dev/core/-/issues/1968" rel="nofollow noreferrer">https://lab.civicrm.org/dev/core/-/issues/1968</a></li>
  <li><a href="https://lab.civicrm.org/dev/core/-/issues/3781" rel="nofollow noreferrer">https://lab.civicrm.org/dev/core/-/issues/3781</a></li>
  </ul>
  <p>In this specific case, my guess is that community builder is using guzzle 7 (the source code for community builder doesn't seem available online to check???). If that's true, then since civi supports guzzle 7 but just ships with guzzle 6, what you can try is go into the civicrm plugin folder and run <code>composer require guzzlehttp/guzzle:'^7'</code> so that they end up with the same version. If something goes wrong just <code>composer require guzzlehttp/guzzle:'^6.3'</code> to restore the old guzzle for civi.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-08-07T12:33:53.307Z
Answers.Text: Thanks for the assistance, I'll check with the developers on Community Builder.
Answers.UserDisplayName: minbori
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-08-09T09:42:21.153Z
Answers.Text: So the Community Builder developers have confirmed they're using Guzzle 7, so I will need to change the version in Civi.  Please forgive a potentially stupid question, but I have very limited experience with Composer.  This CiviCRM instance was installed via the Joomla installer, and I've never managed it with Composer. Can I set up composer on an already installed Civi? If so, which is the correct plugin folder to use?
Answers.UserDisplayName: minbori
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-08-09T10:13:47.583Z
Answers.Text: This really is a separate question, so I've made a separate post :-) https://civicrm.stackexchange.com/questions/42429/is-it-possible-to-use-composer-with-a-joomla-installed-civicrm-instance
Answers.UserDisplayName: minbori
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-08-10T15:30:03.567Z
Answers.Text: Just thought I'd report back -- running the composer require to change the guzzle version is working.  Thanks again for the help!
Answers.UserDisplayName: minbori
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-08-10T15:30:38.790Z
Answers.Text: Great. Glad it's working.
Answers.UserDisplayName: Demerit
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-08-07T02:37:53.450Z
Answers.LastActivityDate: 2022-08-07T02:37:53.450Z
Answers.UserDisplayName: Demerit
Body: <p>my Community Builder registration process seems to have started failing since I updated CiviCRM recently.</p>
  <p>Fatal error: Cannot redeclare GuzzleHttp\describe_type() (previously declared in [DOCROOT]/libraries/CBLib/GuzzleHttp/functions.php:14) in [DOCROOT]/administrator/components/com_civicrm/civicrm/vendor/guzzlehttp/guzzle/src/functions.php on line 41</p>
  <p>I guess there are two versions of GuzzleHttp conflicting but I'm not sure how I go about resolving this.  This maybe isn't specifically a CiviCRM problem, but I'd very much appreciate some guidance on how to troubleshoot this!</p>
  <p>Joomla 3.10.10
  CiviCRM 5.50.2
  Community Builder 2.7.3</p>
  <p>Thanks!</p>
  
Tags: <joomla><registration>
Title: Guzzle conflict between CiviCRM and Community Builder (Joomla)?
ThreadText: # Guzzle conflict between CiviCRM and Community Builder (Joomla)?
  
  (Asked by: username_0 on 2022-08-06)
  
  my Community Builder registration process seems to have started failing since I updated CiviCRM recently.
  
  Fatal error: Cannot redeclare GuzzleHttp\describe\_type() (previously declared in [DOCROOT]/libraries/CBLib/GuzzleHttp/functions.php:14) in [DOCROOT]/administrator/components/com\_civicrm/civicrm/vendor/guzzlehttp/guzzle/src/functions.php on line 41
  
  I guess there are two versions of GuzzleHttp conflicting but I'm not sure how I go about resolving this. This maybe isn't specifically a CiviCRM problem, but I'd very much appreciate some guidance on how to troubleshoot this!
  
  Joomla 3.10.10
  CiviCRM 5.50.2
  Community Builder 2.7.3
  
  Thanks!
  
  **Tags:** joomla, registration
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2022-08-07. Score: 1 | Accepted answer
  
  These links are for drupal and wordpress but it's the same type of problem. There isn't a good solution available though.
  
  * <https://lab.civicrm.org/dev/core/-/issues/1968>
  * <https://lab.civicrm.org/dev/core/-/issues/3781>
  
  In this specific case, my guess is that community builder is using guzzle 7 (the source code for community builder doesn't seem available online to check???). If that's true, then since civi supports guzzle 7 but just ships with guzzle 6, what you can try is go into the civicrm plugin folder and run `composer require guzzlehttp/guzzle:'^7'` so that they end up with the same version. If something goes wrong just `composer require guzzlehttp/guzzle:'^6.3'` to restore the old guzzle for civi.
  
  > **Comments:**
  > **username_0**: Thanks for the assistance, I'll check with the developers on Community Builder.  
  > **username_0**: So the Community Builder developers have confirmed they're using Guzzle 7, so I will need to change the version in Civi.  Please forgive a potentially stupid question, but I have very limited experience with Composer.  This CiviCRM instance was installed via the Joomla installer, and I've never managed it with Composer. Can I set up composer on an already installed Civi? If so, which is the correct plugin folder to use?  
  > **username_0**: This really is a separate question, so I've made a separate post :-) https://civicrm.stackexchange.com/questions/42429/is-it-possible-to-use-composer-with-a-joomla-installed-civicrm-instance  
  > **username_0**: Just thought I'd report back -- running the composer require to change the guzzle version is working.  Thanks again for the help!  
  > **username_1**: Great. Glad it's working.  
  
  ---
  
  