Wordpress plugin is looping at "Connecting your website to HubSpot."
Hey all
I just installed the Hubspot Wordpress plugin, but I cannot finishing the configuration. The plugin just stay stucked at the step "Connecting your website to HubSpot.".
Here are the steps I followed:
Add a new plugin > "HubSpot All-In-One Marketing - Forms, Popups, Live Chat"
Activate the plugin
Click "HubSpot" on the left side menu
See my HubSpot instance listed and selected
Clicked "Continue with this account" button
*I am stuck with an infinite loading circle saying "Connecting your website to HubSpot."
I tried the same actions on Google Chrome and Firefox, Incognito mode and with all my browser extensions deactivated. Nothing helped 😞
Here is the list of active plugins:
Elementor
Elementor - Header, Footer & Blocks
Google Analytics for WordPress by MonsterInsights
HubSpot All-In-One Marketing - Forms, Popups, Live Chat
Hummingbird
MC4WP: Mailchimp for WordPress
Pixel Caffeine
Polylang
Polylang Connect for Elementor
Popup Maker
Rank Math SEO
Smush
Total Upkeep
Total Upkeep Premium
WPForms Lite
My theme is Astra, and my host is Dreamhost (Wordpress Basic plan).
I also tried to deactivate some extensions there, like Total Upkeep, Smush, Google Analytics...
And finally, maybe this can help, I do have an error in the Developer console: {"error":"Registration missing required fields"}
Thank you for the instructions @TiphaineCuisset. It turned out that disabling third party cookies solved the issue and my website is now successfuly connected to Hubspot.
Thanks so much for your help, didn't think the solution would be that easy!
Thank you for reaching out and for the detailed explanation as well as steps already taken.
I was going to ask if you had (and in which case, had disabled) AdBlock or Ghostery, but you said you deactivated every extension.
The only thing I could think of is maybe your Chrome & Firefox don't enable third-party cookies. This is required so that the integration can be installed.
I ensured that all cookies are accepted in Google Chrome, but it's still not working. Could I get an error log or anything that could help me to understand what is going on?
Your WordPress version should match the plugin requirements. This is stated in the plugin page's right sidebar next to WordPress Version.
The wp_footer function must be included in your WordPress theme’s footer file (footer.php). This function is required for the tracking code to be installed on every page of your site.
You must be a WordPress admin to install plugins for your site.
I can confirm that my WordPress version matches the plugin requirements and that the wp_footer function is included in the theme's footer file.
About the WordPress.org install, I am using the version provided by DreamHost (which is, by the way, an established and recognized WP host ;-)). After chatting with their support to understand what might be happening, here is the error message they asked me to "communicate to HubSpot":
<my IP address> - - [19/Mar/2021:16:43:26 -0700] "POST /wp-admin/admin-ajax.php?action=leadin_registration_ajax&_ajax_nonce=xxxxxxx HTTP/2.0" 400 102 "https://www.<mydomain>.com/wp-admin/admin.php?page=leadin" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36"
The error is thrown by the following piece of code in the HubSpot plugin:
I really want to use HubSpot and I am ready to help further to resolve the issue 🙂 Let me know how I can help.
Thank you for your reply. I'm going to send you a DM for further instructions!
@AnneWinberg sorry for the late reply, can you confirm you have the correct version of WordPress installed and that third-party cookies are enabled as explained in my replies to @AlbinP in this thread? If this is the case and you're still having the issue, can you confirm if you have also the WordPress version provided by DreamHost?
The team had a look and this happens because the Polylang plugin is hijacking the connection request, creating a wrong payload. This is not caused by our plugin but by Polylang. The issue has already been raised to Polylang.
As a temporary workaround, you can disable the Polylang plugin, connect the plugin and re-enable it. However, while Polylang (version >= 3) is enabled, some other features of our plugin (and not only) that rely on ajax requests might not work.
Feb 18, 202212:24 PM - edited Feb 21, 202210:46 AM
Participant
Wordpress plugin is looping at "Connecting your website to HubSpot."
Hello all,
Has anyone managed to find a solution to this? We've followed all the steps and we're still struggling with the endless loop in Wordpress, unable to connect to the Hubspot plugin.
Would you mind trying to clear your cache following those steps, as well as trying with another browser and with an incognito window - or confirming you've followed these steps?
Could you also confirm your Chrome & Firefox (or other browser) don't enable third-party cookies. This is required so that the integration can be installed.