Skip to Content Skip to Menu

🌟 CB Editor Assistant 1.0.0 is here! Discover our new AI Joomla Plugin that wrote its story! (and this banner!)
Start at just $12.50/month* or 💸 save 30% with our 🛍️ Black Friday Intro Offer for your subscription's lifetime
🎉 Black Friday sale is here! Great savings on professional and developer memberships! Get 25% off now with code BLACK-FRIDAY-2024!

CB Connect Google

  • inimatic
  • inimatic
  • OFFLINE
  • Posts: 4
  • Thanks: 0
  • Karma: 0
6 years 1 month ago - 6 years 1 month ago #307903 by inimatic
CB Connect Google was created by inimatic
I set up Goggle OAuth 2.0 client IDs for CB Connect. But on login after I pass the Google account page I redirected to my site with error: "Passing in the "body" request option as an array to send a POST request has been deprecated. Please use the "form_params" request option to send a application/x-www-form-urlencode request, or the "multipart" request option to send a multipart/form-data request."
How this could be avoided?
Last edit: 6 years 1 month ago by inimatic.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48560
  • Thanks: 8292
  • Karma: 1445
6 years 1 month ago #307936 by krileon
Replied by krileon on topic CB Connect Google
Looks like you've Guzzle loaded by something else installed and is a new version than the one being used by CB. Don't know what to suggest on avoiding it since our Guzzle can't and won't load if it was already loaded. It will only ever be compatible with the version of Guzzle we provided. You can try modifying the provider file for Google below to make it compatible with whatever version of Guzzle is being loaded on your site.

/components/com_comprofiler/plugin/libraries/CB/Plugin/Connect/Provider/GoogleProvider.php


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • inimatic
  • inimatic
  • OFFLINE
  • Posts: 4
  • Thanks: 0
  • Karma: 0
6 years 1 month ago #308075 by inimatic
Replied by inimatic on topic CB Connect Google
I checked, /components/com_comprofiler/plugin/libraries/CB/Plugin/Connect/Provider/GoogleProvider.php is the same as in plug_cbconnect_7.2.0+2018.04.11.zip.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48560
  • Thanks: 8292
  • Karma: 1445
6 years 1 month ago #308080 by krileon
Replied by krileon on topic CB Connect Google
It's not a change in CB Connect that's the issue. You've a 3rd party extension loading a new version of Guzzle before CB does. The usage in CB Connect is not compatible with the version of Guzzle being loaded. You'll either need to find out what is loading Guzzle and prevent it from doing so (it should only be loading it on use; there's no reason for it to be loaded on CB Connect component page) or update the above file to be compatible.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum