Support

Home Forums Event Espresso Premium EE4 – ReCaptcha blocking registrations (yes I logged out)

EE4 – ReCaptcha blocking registrations (yes I logged out)

Posted: December 2, 2015 at 1:01 pm

Viewing 11 reply threads


rmorrell1

December 2, 2015 at 1:01 pm

I searched and found this topic a few times but most of the issues were the admin was still logged in. That’s not the case with me.

I recently upgraded to EE4 and am running the current version. I have no cacheing plugins that I am aware of, but I run this site from GoDaddy so I have no idea if they have server cache or not.

Anyway, after migrating to EE4 and setting up a few of our courses for a big marketing push on Cyber Monday, I got several emails/calls from clients that they could not register and they were getting an error to complete the “Anti-spam” measures.

ReCaptcha was activated with the correct keys for this site. I deactivated it, and they were able to register no problems.

I tested it again myself after logging out as the admin. After I select my ticket and enter my basic personal details, I get the error. The registration does not advance. There is NO place on the screen where the ReCaptcha is displayed so I cannot complete the ReCaptcha test.

It is currently disabled again. Any ideas?


rmorrell1

December 2, 2015 at 1:01 pm

Sorry I should note my site: gtagunsafety.com


Lorenzo Orlando Caum

  • Support Staff

December 2, 2015 at 1:59 pm

Hello,

I started the registration process and did not see reCaptcha. Has it been turned off via your WP dashboard since you created your support post here?

If so, could you double-check that the credentials are correctly set for reCaptcha through the registration form settings page?

If those are incorrect, then it will not load as expected.


Lorenzo


rmorrell1

December 2, 2015 at 2:11 pm

Hi Lorenzo. I have activated it again, so please feel free to try to register.
Our courses are listed

Feel free to pick any course and try to register, I can cancel them later.


Lorenzo Orlando Caum

  • Support Staff

December 2, 2015 at 2:44 pm

Hi,

That is strange as I can see the reCaptcha code but there are no errors.

Could you try creating a new set of credentials for reCaptcha and updating them in the registration form settings page?


Lorenzo


rmorrell1

December 2, 2015 at 2:50 pm

I just deleted the existing keys and had new credentials issued, so you should be good to try again.

Are you actually seeing a ReCaptcha form? When I try on my end, I don’t even see the form. Yet my ReCaptcha works fine for the other WP forms.


Josh

  • Support Staff

December 2, 2015 at 3:31 pm

This looks like a potential conflict where the recaptcha scripts from the WP Business Directory plugin are loading onto the EE reg form page. Am I correct on that, is the Business Directory plugin installed on this website?

What I can suggest is see what happens if the Business Directory plugin is deactivated. If that fixes the issue, maybe there’s a setting in Business Directory that can be set to prevent its scripts from loading onto pages where they are not needed. You might also consider reaching out to Business Directory support staff. They may know how to make sure that the Business Directory scripts only load on the pages where they are needed.


rmorrell1

December 3, 2015 at 12:33 pm

Hi Josh,

So I disabled the Business Directory plugin and you were right, this was causing a conflict and when I tested it last night the ReCaptcha appeared on the EE registration.

Everything was ticking just fine.

Until today, when I tried to log in to manually add a registrant.

Now my entire site is completely down because of some script error.

Here is my wp-admin/ page:

Warning: session_start(): Cannot send session cookie – headers already sent by (output started at /home/content/76/11371976/html/wp-includes/nav-menu-template.php:1) in /home/content/76/11371976/html/wp-content/plugins/event-espresso-core-reg/core/EE_Session.core.php on line 398

Warning: session_start(): Cannot send session cache limiter – headers already sent (output started at /home/content/76/11371976/html/wp-includes/nav-menu-template.php:1) in /home/content/76/11371976/html/wp-content/plugins/event-espresso-core-reg/core/EE_Session.core.php on line 398

Warning: Cannot modify header information – headers already sent by (output started at /home/content/76/11371976/html/wp-includes/nav-menu-template.php:1) in /home/content/76/11371976/html/wp-includes/pluggable.php on line 1207

And my home page has a similar message.

One of the frustrating things about EE is that, while this is a great platform and serves my needs, all to often during my time with EE3 there would be periods of unreliable and buggy versions causing or receiving conflicts from other plugins or theme features to the point that I have looked at other products.

For a while, we had a relatively stable EE3 implementation and kept it even after EE4 was released because in my experience, the new version of anything will always have major faults and problems. I only migrated to EE4 after a long period of reflection, and though I am initially impressed by the product, these recent conflicts do not encourage me.


Josh

  • Support Staff

December 3, 2015 at 12:39 pm

Thanks for the heartfelt feedback, before you get any further discouraged, I should let you know that the last error you reported above is not a conflict with Event Espresso.

The error message indicates that someone or something has edited the nav-menu-template.php file of your WordPress installation. Do you know how to clean up that file? It might be something as simple as removing any spaces before the opening php tag. There’s more information on how to fix this issue here:

https://codex.wordpress.org/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F


rmorrell1

December 3, 2015 at 12:58 pm

Josh I appreciate the response. However I am sure you can understand my frustration. Literally the last thing I did before I went to sleep last night was disable the Business Directory plug in, then logout and try to register for one of our courses to ensure the ReCaptcha appeared, which it did.

I then went to sleep. No other changes were made to any plugins or themes on the site and it was functioning normally at 11pm EST last night.

I am sure you can understand why I am absolutely surprised the entire site is down and I can’t even log in to the admin panel at 2pm EST the following day.

I managed to restore SOME functionality by renaming the plugins directory in FTP. The site will load, but I still get the header error when attempting to login or use the admin panel.

So yes, there is no EE conflict, as clearly the plugin is now disabled and I have the error. But it also can’t be a theme problem as it was operating normally for quite some time and it a paid theme from a reputable theme designer, athemes (Sydney Pro II).

I have checked the files mentioned in the error for extra white spaces and cannot locate any.


rmorrell1

December 3, 2015 at 1:08 pm

At any rate, you can close the thread. The Business Directory plugin was causing the original conflict that caused the ReCaptcha error.

I have resolved the other error by reinstalling the offending nav-menu-template.php file from the default WordPress zip file. I still have no idea where the extra spaces or characters were or what wrote them into that php file.

I do appreciate the quick response from the EE team, thanks again.


Josh

  • Support Staff

December 3, 2015 at 1:24 pm

I can understand your frustration. Have you followed the steps in the guide that I shared a link to?

You might also check with your host to see if they made any changes to your site.

Viewing 11 reply threads

The support post ‘EE4 – ReCaptcha blocking registrations (yes I logged out)’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso