# WP Super Cache + Gravity Forms issues \[RESOLVED\]

**URL:** <https://community.gravityforms.com/t/wp-super-cache-gravity-forms-issues-resolved/11451>\
**Category:** Get Help\
**Tags:** caching, cloudflare, fresh-forms\
**Created:** [December 18, 2021, 2:51am UTC](https://community.gravityforms.com/t/wp-super-cache-gravity-forms-issues-resolved/11451 "2021-12-18T02:51:34Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![martym](https://avatars.discourse-cdn.com/v4/letter/m/5f8ce5/32.png) [@martym](https://community.gravityforms.com/u/martym)\
**Post date:** [December 18, 2021, 2:51am UTC](https://community.gravityforms.com/t/wp-super-cache-gravity-forms-issues-resolved/11451/1 "2021-12-18T02:51:34Z")

</div>

We seem to continue encountering issues with WP Super Cache and Gravity Forms. I am running Fresh Forms as well. At any rate, lately if Super Cache is enabled each form on submission will redirect to the front page on reload.

I’m not sure how to troubleshoot this, I don’t see obvious console or network errors. The logs look like this while I was testing:

> 021-12-17 18:35:25.428435 - DEBUG → GFFormDisplay::process\_form(): Starting to process form (#9) submission.  
> 2021-12-17 18:35:25.429626 - DEBUG → GFFormDisplay::process\_form(): Source page number: 1. Target page number: 0.  
> 2021-12-17 18:35:25.431085 - DEBUG → GFFormDisplay::process\_form(): After validation. Is submission valid? No.  
> 2021-12-17 18:40:02.998972 - DEBUG → GFFormDisplay::process\_form(): Starting to process form (#9) submission.  
> 2021-12-17 18:40:03.000318 - DEBUG → GFFormDisplay::process\_form(): Source page number: 1. Target page number: 0.  
> 2021-12-17 18:40:03.001946 - DEBUG → GFFormDisplay::process\_form(): After validation. Is submission valid? No.  
> 2021-12-17 18:41:35.465297 - DEBUG → GFFormDisplay::process\_form(): Starting to process form (#9) submission.  
> 2021-12-17 18:41:35.466556 - DEBUG → GFFormDisplay::process\_form(): Source page number: 1. Target page number: 0.  
> 2021-12-17 18:41:35.467957 - DEBUG → GFFormDisplay::process\_form(): After validation. Is submission valid? No.  
> 2021-12-17 18:45:56.328506 - DEBUG → GFFormDisplay::process\_form(): Starting to process form (#9) submission.  
> 2021-12-17 18:45:56.329636 - DEBUG → GFFormDisplay::process\_form(): Source page number: 1. Target page number: 0.  
> 2021-12-17 18:45:56.331183 - DEBUG → GFFormDisplay::process\_form(): After validation. Is submission valid? No.  
> 2021-12-17 18:47:04.084707 - DEBUG → GFFormDisplay::process\_form(): Starting to process form (#9) submission.  
> 2021-12-17 18:47:04.085921 - DEBUG → GFFormDisplay::process\_form(): Source page number: 1. Target page number: 0.

Appreciate any insight, thanks!

---

<div class="post-metadata">

**Author:** ![martym](https://avatars.discourse-cdn.com/v4/letter/m/5f8ce5/32.png) [@martym](https://community.gravityforms.com/u/martym)\
**Post date:** [December 18, 2021, 2:52am UTC](https://community.gravityforms.com/t/wp-super-cache-gravity-forms-issues-resolved/11451/2 "2021-12-18T02:52:50Z")

</div>

Those log results may be when I had Super cache disabled and I was submitting blank forms, just FYI.

---

<div class="post-metadata">

**Author:** ![sacom](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/sacom/32/53_2.png) [@sacom](https://community.gravityforms.com/u/sacom)\
**Post date:** [December 27, 2021, 4:29pm UTC](https://community.gravityforms.com/t/wp-super-cache-gravity-forms-issues-resolved/11451/3 "2021-12-27T16:29:36Z")

</div>

> [@martym](#):
>
> 2021-12-17 18:45:56.331183 - DEBUG → GFFormDisplay::process\_form(): After validation. Is submission valid? No.

You’re getting the above for each time you try to submit the form, which means your form is failing validation. You can add the following your theme’s functions.php file: [https://docs.gravityforms.com/custom-logging-statements/#logging-field-validation-errors](https://docs.gravityforms.com/custom-logging-statements/#logging-field-validation-errors)

That will add more information about what’s causing the validation issue.

---

<div class="post-metadata">

**Author:** ![sacom](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/sacom/32/53_2.png) [@sacom](https://community.gravityforms.com/u/sacom)\
**Post date:** [December 27, 2021, 4:31pm UTC](https://community.gravityforms.com/t/wp-super-cache-gravity-forms-issues-resolved/11451/4 "2021-12-27T16:31:51Z")

</div>

> [@martym](#):
>
> Those log results may be when I had Super cache disabled and I was submitting blank forms, just FYI.

And do you have any log of a submission done with the caching plugin enabled and filling all the form required fields?

If you’re using any of the Fresh Forms supported embedding methods the page shouldn’t be cached anyway.

---

<div class="post-metadata">

**Author:** ![martym](https://avatars.discourse-cdn.com/v4/letter/m/5f8ce5/32.png) [@martym](https://community.gravityforms.com/u/martym)\
**Post date:** [January 7, 2022, 12:26am UTC](https://community.gravityforms.com/t/wp-super-cache-gravity-forms-issues-resolved/11451/5 "2022-01-07T00:26:53Z")

</div>

Thanks for the responses and the Fresh Forms plugin, Samuel!

Ultimately I think this came down to a conflict with Super Cache + Cloudflare.

Stopped using Super Cache and added page rules to cloudflare to prevent caching on their end, we seem to be back to operational.

I do have those log entries for successful submits, thanks for the custom logging statement suggestion as well. I’ll revisit this if the issue occurs again. Thanks!

---

<div class="post-metadata">

**Author:** ![chrishajer](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/chrishajer/32/88_2.png) [@chrishajer](https://community.gravityforms.com/u/chrishajer)\
**Post date:** [January 7, 2022, 10:54pm UTC](https://community.gravityforms.com/t/wp-super-cache-gravity-forms-issues-resolved/11451/6 "2022-01-07T22:54:22Z")

</div>


