Support

Home Forums Event Espresso Premium Error Keeps Coming Up: Form Data Could Not Be Applied

Error Keeps Coming Up: Form Data Could Not Be Applied

Posted: August 11, 2016 at 2:38 pm

Viewing 25 reply threads


Jeff Abramovitz

August 11, 2016 at 2:38 pm

We keep getting an error when people try to register for our event at http://reloadleadershipsummit.com – An Error has occurred: Your Form data could not be applied to any valid registrations. I turned off the Recaptcha. I could eventually get in but others have not been able. Can you look into this for us. Critical for us to begin taking registrations NOW. Thank you.


Tony

  • Support Staff

August 11, 2016 at 2:58 pm

Hi Jeff,

Do you have any caching plugins installed on the site?

If you run a registration on say this event:

http://reloadleadershipsummit.com/events/reload16-leadership-summit-members/

Whilst logged in does it allow you to register?

Do you have access to the server error logs? Your host will usually provide a section within your control panel to view errors being thrown on your site.

If not you can enable WP_DEBUG on your site to see if any errors are being thrown, you can use this snippet of code:

https://gist.github.com/Pebblo/8787f5530ea777c84aaf62f075e55b32

Within your wp-config.php file to tell WP to log the errors and not display them.

With that in place we can run another test registration to see if any errors are being thrown.


Josh

  • Support Staff

August 11, 2016 at 3:00 pm

Hi Jeff,

Can you contact your host and check to see if they have any kind of object caching set up on the server that hosts your site? Usually the error you are seeing is the result from object caching.


Jeff Abramovitz

August 11, 2016 at 3:04 pm

Josh/Tony
First, I don’t get the error when I’m logged in as the Admin. Only when an outside person tries to register. I’ve not done much backend work so it gets a little dicey for me there. Knowing that it allows me to register as an admin but no one else help you troubleshoot any more narrowly?


Jeff Abramovitz

August 11, 2016 at 3:07 pm

I did have WP Super Cache activated on the site. Should I deactivate?


Josh

  • Support Staff

August 11, 2016 at 3:30 pm

You should not deactivate it, but you can try disabling its caching features while the plugin is activated.

You can also contact your host and check to see if they have any kind of object caching set up on the server that hosts your site. Usually the error you are seeing is the result from object caching.


Jeff Abramovitz

August 11, 2016 at 3:59 pm

I’m on with them now but they aren’t sure what I’m asking :/ — Where would I put the code from git that Tony linked to? I put it at the end of the wp-config.php file and got system errors so took it off. Does it need to fit into a certain part of the code on that page?


Jeff Abramovitz

August 11, 2016 at 4:03 pm

They told me that caching isn’t automatically enabled on our account.


Jeff Abramovitz

August 11, 2016 at 4:03 pm

So, no caching.


Josh

  • Support Staff

August 11, 2016 at 4:37 pm

Does it need to fit into a certain part of the code on that page?

Yes, there should already be some code in the wp-config.php file that says:
define('WP_DEBUG', false);

You’ll replace that code with this:

define('WP_DEBUG', true);
if ( WP_DEBUG ) {
        @error_reporting( E_ALL );
        @ini_set( 'log_errors', true );
        @ini_set( 'log_errors_max_len', '0' );
        define( 'WP_DEBUG_LOG', true );
        define( 'WP_DEBUG_DISPLAY', false);
        define( 'CONCATENATE_SCRIPTS', false );
        define( 'SAVEQUERIES', true );
}


Jeff Abramovitz

August 12, 2016 at 3:00 pm

OK. Made the changes to WP_DEBUG. But, still getting error:

An error has occurred:
Your form data could not be applied to any valid registrations.
EE_SPCO_Reg_Step_Attendee_Information – process_reg_step – 759


Josh

  • Support Staff

August 12, 2016 at 3:12 pm

Of course. Did you check the debug.log file that should now be in your site’s wp-content folder?


Jeff Abramovitz

August 12, 2016 at 3:30 pm

Here’s the error in that file:
[12-Aug-2016 21:06:29 UTC] PHP Notice: get_currentuserinfo is deprecated since version 4.5! Use wp_get_current_user() instead. in /home1/ncmm/public_html/reloadleadershipsummit.com/wp-includes/functions.php on line 3658


Josh

  • Support Staff

August 12, 2016 at 3:51 pm

That error would not cause the Form Data Could not be applied error.

There are a few other possible causes to this issue. You can rule these out one by one:
1) A theme conflict. You can rule this out by temporarily switching to the default WordPress theme.
2) A plugin conflict. You can rule this out by temporarily deactivating any other installed WordPress plugins.


Jeff Abramovitz

August 13, 2016 at 9:33 am

OK. I’ll try that, Josh. But, it is a bit disconcerting that the answer always seems to be turn off themes and plugins. That’s a real pain, especially the plugins. I may just want to ask for my money back if this product can’t work without plugins. It worked fine last year with this theme and plugins. I simply just rolled the site to use for this years event and now it doesn’t work. So, it’s something you guys did in the updates that is causing this. It would help if you’d be willing to go into the backend of the site for me and figure this out.


Jeff Abramovitz

August 13, 2016 at 9:39 am

*I meant “if it can work in conjunction with my plugins”


Jeff Abramovitz

August 13, 2016 at 10:36 am

Noticed this in the debug.log file: [13-Aug-2016 00:53:06 UTC] PHP Notice: Undefined property: stdClass::$title in /home1/ncmm/public_html/reloadleadershipsummit.com/wp-content/themes/event/admin/post-type-video.php on line 768
[13-Aug-2016 00:53:09 UTC] PHP Notice: Trying to get property of non-object in /home1/ncmm/public_html/reloadleadershipsummit.com/wp-content/themes/event/admin/post-type-video.php on line 749
[13-Aug-2016 00:53:09 UTC] PHP Notice: Trying to get property of non-object in /home1/ncmm/public_html/reloadleadershipsummit.com/wp-content/themes/event/admin/post-type-video.php on line 750
[13-Aug-2016 06:13:41 UTC] PHP Notice: Undefined property: stdClass::$title in /home1/ncmm/public_html/reloadleadershipsummit.com/wp-content/themes/event/admin/post-type-video.php on line 768
[13-Aug-2016 06:13:44 UTC] PHP Notice: Trying to get property of non-object in /home1/ncmm/public_html/reloadleadershipsummit.com/wp-content/themes/event/admin/post-type-video.php on line 749
[13-Aug-2016 06:13:44 UTC] PHP Notice: Trying to get property of non-object in /home1/ncmm/public_html/reloadleadershipsummit.com/wp-content/themes/event/admin/post-type-video.php on line 750

I don’t know if any of that will help resolve the form data error we are getting. Please let me know. Thanks.


Jeff Abramovitz

August 13, 2016 at 10:50 am

FYI…I can’t try a different theme. Whenever I change themes, I can’t access the registration pages to see if I can register without the error.


Jeff Abramovitz

August 13, 2016 at 11:05 am

Strangely enough, when I tried different themes and then reactivated the original Themify theme the problem went away. Would you please try to register using the Invoice option to see if the error still occurs? Just use TEST in front of your name so I can delete it if it works. Go to http://reloadleadershipsummit.com and register as a member or non-member. THank you.


Tony

  • Support Staff

August 13, 2016 at 12:06 pm

FYI…I can’t try a different theme. Whenever I change themes, I can’t access the registration pages to see if I can register without the error.

Can you not access http://reloadleadershipsummit.com/events/ at all when you switch themes?

Strangely enough, when I tried different themes and then reactivated the original Themify theme the problem went away. Would you please try to register using the Invoice option to see if the error still occurs?

The error is still happening for me, were you not logged in when you tested?

Whilst we do understand your frustration we simply can not support every theme and plugin combination out of the box, its just not possible for us to do with so many plugins/themes out there. Also with each theme/plugin updates comes the possibility of conflicts as each of those plugins/themes add new functionality, there is nothing we can do to prevent that.

What we can do (and try our best to do) is make sure we follow all of the WP guidelines/best practices as much as possible, the majority of theme/plugin conflicts that happen with EE is when another plugin doesn’t follow those guidelines and does something completely unexpected.

You seem pretty certain its an issue with an update we have made, did you not update/install any other plugin/theme since last year? We are more than happy to work through this with you but you will need to work with us to find the cause.

Can you send me the latest copy of the theme so I can install it on a test site and see if I get the same error? If so you can send me a copy of theme to support[at]eventespresso.com


Jeff Abramovitz

August 13, 2016 at 1:43 pm

OK. Sending you the file in a an email


Tony

  • Support Staff

August 15, 2016 at 4:10 am

Hmm, no issues with the theme on a test site.

Did you try de-activating the plugins currently installed on the site? If not can you try at least disabling JetPack and let me know if the problem remains.

The fact that the registrations work when logged in would still point to some form of caching. The error being thrown is just from checking there is a registration assigned to your cart transaction if the response is caches the details don’t match and the error is thrown. Whilst your logged in caching is disabled so the request works as normal.

If disabling JetPack does not work can you send temporary login details using this form:

https://eventespresso.com/send-login-details/

I’ll look over caching plugin settings.


Jeff Abramovitz

August 15, 2016 at 10:41 am

Thanks, Tony. Deactivated Jetpack. Noticed that somehow WP Super Cache was reactivated after I initially deactivated it based on Josh’s comments above. But, even after doing that, I tried to register on a site where I wasn’t logged in using a different browser and still same error message. Sending you the login information now. Thanks. This is critical for us to get registrations going for our event.


Josh

  • Support Staff

August 15, 2016 at 3:44 pm

Jeff,

Your theme has a built-in caching feature that needed to be disabled. In Themify Settings > Themify Builder, under Builder Cache, there’s this option:

Disable (disable it if you experience Builder issues and conflicts)

Any e-commerce solution like Event Espresso requires that its pages are served dynamically. These do not work when they are served as static, cached, webpages.

You can still use the WP Super Cache plugin along with Event Espresso because WP Super Cache will not cache the content flagged with “do not cache this!”, and Event Espresso makes sure to send that flag.


Jeff Abramovitz

August 15, 2016 at 4:05 pm

That’s great, Josh. So, it works now?


Josh

  • Support Staff

August 15, 2016 at 4:12 pm

Of course it does, but you can log out of your site and double check if you’re so inclined.

Viewing 25 reply threads

The support post ‘Error Keeps Coming Up: Form Data Could Not Be Applied’ 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