Forum Replies Created
-
AuthorPosts
-
it was not the theme update itself that solved the problem for a short time. I assume, that the cached pages refreshed after theme update. The problem with CF7 forms reoccurs every 12 (or 24?) hours. It has to do with nonces and caching life time.
wp-rocket is writing:
“Nonces are security tokens in WordPress. They get printed into the HTML source code.
Nonces can only be used once (hence “n once”), and they are only valid for a certain length of time: 12 hours by default, but developers can change that value. On a cached page, the nonce can expire in the background while its ID is still present in the HTML source code of the page. If that happens, the HTML source is referencing an invalid nonce and things break. This can affect all kinds of functionality, from form validation to the visual appearance of a post grid, and a lot more. In some rare cases it could even lead to a completely blank page on the front-end.”If I exclude the pages with CF7 forms from beeing cached, all works fine (longer than 12 or 24 hours).
I´ve just updated the Enfold theme to 4.8. The Contact Form 7 plugin seems to work correctly now.
@rikard please, what changes are responsible for this? Or in other words: What was the problem with Enfold and CF7? Maybe this information can help many other users (not only Enfold user).Thanks and best regards
yes, it´s really surprising that the CF7 update has such different effects (depending on the environment).
@Rikard, your opinion?@corefocusgroup,
is this behavior reproducible? What happens if you rollback to Version 5.3.2?
@Rikard,
do you still thinking/working on this issue? May it be possible that the update of CF7 V5.4 causes different problems within the Enfold theme because of some JS issues/conflicts?
Thanks in advance
MichaelHi Guenni007,
I´ve seen no errors before CF7 update to V5.4.
And the Email address in tab “Mail” is the same domain.Regards
MichaelHi Rikard,
there are hundreds of user in the support forum of CF7 with same or similar problems. They are running hundreds of different themes. One answer from CF7 is this one:
__________________________________
The Flatsome theme customizes the CF7 form appearance and hides the default loader and shows the theme loader.
CF7 made some changes to their JS which requires Flatsome to made changes to their JS to customize the forms.
So the issue is not with the Contact Form 7, with new updates Flatsome might solve this issue.
__________________________________Is this an issue for Enfold also?
You will receive an admin login for one of the affected sites in the privat sectionThanks in advance
MichaelI have forgotten something else:
It works with logged in users. Only with normal website visitors there are these problems. The browser consoles show authentication problems. -
AuthorPosts