Sometime within the past couple weeks (possibly related to J! 3.7.0 upgrade) our 'forgot login' has broken.
After selecting 'forgot login', username, and entering an existing email address (any) we are getting redirected to the following url:
/cb-profile/sendnewpass
And we are getting an error page with this error:
Call to undefined method GuzzleHttp\Psr7\Response::json()
We're seeing this on a couple sites.
Can you tell me if CB is using the Guzzle library (or maybe this is some problem with some other extension that just happens to be showing up here during CB forgot login).
We are not getting this anywhere else on either site.
We're using Guzzle, but without the full path to the error I've no idea where that's being called from as other extensions may also be using Guzzle. Seams to be working fine here in my tests on Joomla 3.7.0 with latest CB build. Tested PHP 5.6 and PHP 7.0.19 as working. Seams to work fine on our demo site as well. Is all your sites that are having this issue on the same host?
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.
This is happening after selecting 'forgot username' and entering the email and successfully completeing the re-captcha.
The 2 sites that have this issue are both on the same hosting company, but different servers. And there are other sites without the problem on the same server company (cloudaccess).
There's no HTTP requests for forgot login. Most likely it's the HTTP request to reCaptcha to validate the captcha code. I was not able to confirm your issue though even with reCaptcha. Please ensure both CB and CB AntiSpam have latest builds installed and that reCaptcha within CB AntiSpam is configured with the correct API keys. If issue persists try using General or Question internal Captcha modes.
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.
That means it most likely is the reCaptcha HTTP request to validate the captcha request failing. Seams like the response from Google isn't a JSON string, but according to their API it always is. Regardless it's wrapped in a try/catch so it shouldn't error anyway. Does it work fine during registration?
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.