Support

Home Forums Events Calendar Add-on Mailchimp plugins (not integration) breaking registration page

Mailchimp plugins (not integration) breaking registration page

Posted: March 3, 2016 at 5:50 am


PAI Editor

March 3, 2016 at 5:50 am

Since updating the Mailchimp Lite plugin, it has been impossible to progress past the loading image for payment. Registrations are being received, but no finalisation page is shown to the customer.

I also tried using the Easy Forms plugin for Mailchimp, and the same issue occured. It’s important for us to be able to have mailchimp sing-ups on our homepage, but we cannot get registrations to finalise while these plugins are activated. Can you advise, please?


Lorenzo Orlando Caum

  • Support Staff

March 3, 2016 at 6:54 am

Hello,

Login to your WordPress dashboard and then go to Pages. Then look for the registration checkout and click on it. Then select the page layout that is full width so it has no sidebar.

That should prevent it from loading during registration checkout.


Lorenzo


PAI Editor

March 3, 2016 at 7:00 am

Hi Lorenzo,

There is no sidebar on the checkout page. As the sign up was in the footer, I tried disabling this on the checkout page, but it didn’t work. Customers are still getting to the stage where they can select “Invoice”, press the Finalise button, and a cog animation will appear. However, this simply stops and doesn’t take them to the thank you page. The bookings still come in, however.

This only happens once the plugins are turned on.


Tony

  • Support Staff

March 3, 2016 at 7:43 am

That sounds like a fatal error is being thrown on the ajax request preventing the redirect.

Take a look within your servers error log around the same time as you run a registration and see if any errors show up there.


Lorenzo Orlando Caum

  • Support Staff

March 3, 2016 at 7:46 am

Hi, I have the easy forms plugin by yikes with an API key enabled and a form created but I haven’t seen any errors yet.

Could you provide a link to your event page so I can see what is being loaded?


Lorenzo


PAI Editor

March 3, 2016 at 7:48 am

Hi Lorenzo,

I have just turned back on Easy Forms by Yikes, here is an event: https://www.pai.ie/?p=10610


Tony

  • Support Staff

March 3, 2016 at 7:59 am

Hi,

I’ve just ran a registration on your event to test this and the request made to admin-ajax.php is returning error 500 – http://take.ms/IAJVx

Its likely there is a fatal error being thrown on that request which is preventing the re-direct. You’ll need to enable WP_DEBUG so we can run another test and view the error or check within the server errors log to see what the fatal error is and post it here.


PAI Editor

March 3, 2016 at 8:36 am

Hi Tony,

WP_DEBUG is enabled now.

Thanks


Tony

  • Support Staff

March 3, 2016 at 8:43 am

Your site is running out of memory, this is the error:

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 7680 bytes) in /wp-content/plugins/event-espresso-core-reg/core/third_party_libs/cssinliner/vendor/symfony/css-selector/Symfony/Component/CssSelector/Parser/Shortcut/ClassParser.php on line 32

That’s roughly 134MB which is fair amount of memory but it depends on what plugins your already running, visual editors for example take up a fair amount of memory.

Try adding this:

define( 'WP_MEMORY_LIMIT', '256M' );

To your wp-config.php file, if you still run into errors there’s a memory leak somewhere.

https://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP


PAI Editor

March 3, 2016 at 8:46 am

Hi Tony,

That seems to have worked. Thanks for your help!


Lorenzo Orlando Caum

  • Support Staff

March 3, 2016 at 9:19 am

Hello,

Thanks for confirming. So to clarify, this is not a conflict with your MailChimp plugin?

Could you confirm?

Also, go ahead and turn WP debugging off by removing the constant through your wp-config.php file since we tracked this to a memory issues.


Lorenzo


PAI Editor

March 3, 2016 at 9:32 am

Hi Lorenzo,

At the minute, it doesn’t seem as if Mailchimp is the issue, as it’s working fine now.

The support post ‘Mailchimp plugins (not integration) breaking registration page’ 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