Topic-icon Error - Joomla\Registry\Registry::loadArray(): Argument #1 ($array) must be of t

Support Specialist
Glad I could help resolve your issue quickly. We want to flush out and fix as many bugs with Joomla 4 / JFBConnect as soon as we can, so please let us know if you find any other issues.

-Melissa
The topic has been locked.
Active Subscriptions:

None
Thanks. I've tested the Sendy plugin and it is not working. Please let me know if you have plans to integrate it with Joomla login.

Brian
The topic has been locked.
Active Subscriptions:

None
The new error cropped up when signing in with Google:

HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)
The topic has been locked.
Support Specialist
Brian,
Regarding Sendy, can you let us know what's not working? Any details of the issue would help us narrow down the cause and provide a solution.

As for the issue with Google, that's not one we've heard of before. HTTP/2 protocol is a default capability on many servers now, but it's possible there's a configuration issue on yours that's causing problems. An easy way to likely fix this is by telling cURL (the PHP functionality that makes requests to other websites) to use the older protocol version.

To do that, please edit the following file:
/components/com_jfbconnect/libraries/joomla/http/transport/curl.php
Around line 44, you'll see:
$options = array();
After that line, add the following:
$options[CURLOPT_HTTP_VERSION] = CURL_HTTP_VERSION_1_1;
That will affect all requests made by JFBConnect, but will not change any other functionality within Joomla.

Please test that and let us know how it goes. If it fixes it for you, we can investigate adding an option in JFBConnect for compatibility with that setting in the future.

Thanks!
Alex
The topic has been locked.
Active Subscriptions:

None
2 years 6 months ago - 2 years 6 months ago #67481 by brirem
Thanks for the info. I'll see if the error is happening with every registration. With Sendy, no user is created in Sendy when a Joomla user is created. I also tested the module, and it does not connect either when you type an email address and click "Sign Up". You can use my site to test troubleshoot it if you'd like. Although the site is live, it is not really launched and it's still a work in progress for me. I can give you admin access to the site and sendy if you'd like to poke around. Sendy is working correctly if I embed their signup code on my site. I just updated Sendy yesterday.
Last edit: 2 years 6 months ago by brirem.
The topic has been locked.
Active Subscriptions:

None
Regarding Sendy, If you think the plugin will no longer be supported, please let me know, and I will replace Sendy with one of the Joomla newsletter components.

Thanks,
Brian
The topic has been locked.
Support Specialist
We're conflating 2 issues here, which is a bit confusing to know which problems we're talking about. If you would post any details about Sendy in the Sendy forum , that would be appreciated.

I'm unsure if you're still having issues with JFBConnect. Can you let us know if you were able to implement the code change above and, if so, if there was any difference in the error you were receiving?

If you would like to send admin credentials, we'll gladly take a look. However, we can't easily make that code change on your site, so we'd really like to know if the update above resolves things or not.

You can use the Contact Us button at the top of the page to send an email with admin credentials.

Last note on Sendy - We do plan to update it to support Joomla 4 and don't expect that to be overly difficult. However, for now we're firmly focused on any issues with JFBConnect as Sendy is free.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
I am just getting back to this project.  Thanks for your support.  I will not disucss anythign about Sendy here, just the login issues.  I am still seeing this upon creating an account with Google.  (This doesn not happen the 2nd time logging in with the Google account, just the account creation part)HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)
Thanks for signing in using Google. Do you already have an account on this site, or would you like to create one?
Also, I have a welcome page set up, and the redirect works only upon logging in with Google after clicking the 2nd time. 

Is getting the "Thanks for signing in using Google. Do you already have an account on this site, or would you like to create one?" the correct behavior?  
Attachments:
The topic has been locked.
Support Specialist
Were you able to add the code change mentioned above in this post?

The protocol error isn't something we've seen, so if that code doesn't get it going, we'll need to dig into the site to see what we can do. In that case, can you use the Contact Us button at the top of this page to send us FTP credentials to your site? Once we have that, we can add some diagnostic code and, hopefully, get to the bottom of things quickly.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
Thanks again for the reply.  I did add the line $options[CURLOPT_HTTP_VERSION] = CURL_HTTP_VERSION_1_1; where you mentioned as well as the other changes in this post. I'm still seeing the protocol error. It occcurs:

1. only the first time the user creates an account either via the Google JCE feature, or the Joomla create account form
2. when email varification is being used, or when it is not being used.
3. if email verification is being used, the error appears after clicking the verfication link

I sent you FTP info and an additional note in the contact us form linked above.
The topic has been locked.