Tagged: ReCAPTCHA
-
AuthorPosts
-
January 28, 2020 at 1:09 pm #1178988
Hi support,
We are using the version of Enfold (4.6.3.1) and reCAPTCHA V3 on all our contact forms.As you can see on our contact page https://bikemadridlisbon.com/book-now-your-2020-mountain-bike-challenge/, there is nevertheless this error message and it’s impossible to send any message: “Sorry, but the session time for this page has expired. Please reload the page.
WP Nonce check failed.”It’s the same for all pages on our website with contact forms :
How can we fix this problem please ?
Thanks in advance,
NádiaJanuary 28, 2020 at 1:31 pm #1178997Attention: I temporarily removed on class-grecaptcha.php(suggested by a moderator on a similar thread) the code below so we have the forms working until you look at it.
if( 1 !== $result )
{
$response[‘alert’] = __( ‘Sorry, but the session time for this page has expired. Please reload the page.’, ‘avia_framework’ );
if( true === $show_extended_errors )
{
$response[‘alert’] .= ‘<br />’ . __( ‘WP Nonce check failed.’, ‘avia_framework’ );
}echo json_encode( $response );
exit;
}January 30, 2020 at 4:42 am #1179678Hi,
Thank you for the inquiry.
The latest version of the theme is now available, v4.7.2. Please upgrade the theme as soon as possible and update us if the issue persists.
Best regards,
IsmaelFebruary 15, 2020 at 1:05 am #1184636Hi Ismael,
just updated to the latest version and the issue still there ;/. Any thoughts?Thanks for the support,
NádiaFebruary 17, 2020 at 5:45 am #1185090Hi,
Thank you for the update.
We are able to send a message using the form in the contact page. Is it working properly on your end now? Please try to disable the Performance > File compressions settings temporarily and remove the browser cache, then try it again.
Best regards,
IsmaelFebruary 17, 2020 at 9:50 am #1185131Hi Ismael,
Sure you were able to send it because I temporarily remove part of code i told you above. This is how we’re running The website to preventing any downtime. Please check it again inside class-grecaptcha and help us figure it out asap.Thanks in advance,
Nadia
February 18, 2020 at 1:37 am #1185476Hi,
Thank you for following up.
The contact form is still working properly when we added the code back in the enfold\framework\php\class-grecaptcha.php file. We managed to send at least 4 or 5 test messages using Firefox on Windows 10.
Best regards,
IsmaelFebruary 18, 2020 at 3:45 pm #1185712Thanks so much, Ismael.
Have a great day.
BR,
NadiaFebruary 18, 2020 at 4:22 pm #1185728Hi Nadia,
Glad we could help :)
If you need further assistance please let us know.
Best regards,
VictoriaApril 2, 2020 at 9:34 pm #1200302Dear Support,
With all our love for Enfold, we can only recommend that you eliminate this error as quickly as possible and invest in getting to the bottom of it.
regarding to“Sorry, but the session time for this page has expired. Please reload the page.”
and more threads, most attached to Enfold, if we google this error, we must say: All clients have the same problem. It seems, it’s a Enfold specific problem.
“Sorry, but the session time for this page has expired. Please reload the page.”
This is only shown, if website owner tested the own Form with Recaptcha V3. Most page visitors give no feedback, that the Form doesn’t work. They leave the pages and go to competitors.
It’s the standard Enfold installation, with 7 clients.4 different hosting providers. 2 Do not use a caching plugin,
some use WP-Rocket and WP-Fastest Cache is used.But they all had Enfold’s Combine and Caching turned on.
Now we’re watching to see if it works when we turn that feature off. After we turned off Enfold’s internal caching on all of them, the contact forms worked again. Now we have to see what the time shows.
The bad thing is that you can’t see it without using the contact form itself. I see this on multiple client pages. This harms massive client contact, if Forms does not work. I think, many other people can be affected, if visitors gives no feedback to website owners. And i see no reason, why only my standard installations are the reasons for this behavior.
Please Check the nonce stuff inside your Enfold Caching or whatever is the reason. It must be fixed, urgent.
Without working contact form: No clients, bad user experience, no income, bad reputation.
Thanks,
BestS.
April 6, 2020 at 5:45 am #1201136Hi,
Thank you for the inquiry.
After we turned off Enfold’s internal caching on all of them
We understand your concern and we’ll try to help you fix the issue as soon as possible. Unfortunately, it doesn’t seem to happen to every installations, so it is possible that the issue is server related or due to a combination of plugins. Have you tried disabling the plugins temporarily and see if that helps?
The theme doesn’t really have an internal caching option. Are you referring to the theme’s Performance > File Compression settings? Where can we see the issue?
Please create a new thread/ticket and post the necessary details in the private field.
Best regards,
IsmaelApril 6, 2020 at 7:06 am #1201146Dear Support,
I have attached as example some URLs. As i say, on 4 different hosting providers with apache or nginx. Sometimes, not all Browsers are affected. It will not work, if you are logged in. Login-Case, all is working
Most tested on mobiles with Samsung browser, and Chrome on desktop.Hope, you can find the reason.
best
S.
April 7, 2020 at 6:02 pm #1201668Dear Support,
it’s seemed, it’s a caching problem with some well-known caching plugins like wp-rocket, fastest cache. I wait for a solution.
With caching of files, the performance is excellent. But without contact form, which is not working: it’s complicated.I have an additional minimal request for you:
Please give us as User the option of using a toggle to hide the query strings for the CSS and JS data in the Enfold options. That may be cool for you for debugging. But there are sometimes difficulties for servers and hosters with predefined rules.And please: without solutions like manual Function.php manipulation and child themes. A simple toggle for everyone, without manipulating something with coding.
Please!Ref: Reason: remove-query-strings-static-resources
Example standard config in nginx:
location ~* \.(jpg|jpeg|png|gif|css|js|ico|eot|otf|woff|woff2|ttf)$ { expires 30d; log_not_found off; }
I think, this would have difficulties to cache files with query strings?
It’s a small function inside the functions.php, seen in the link above.
function remove_query_strings() { if(!is_admin()) { add_filter('script_loader_src', 'remove_query_strings_split', 15); add_filter('style_loader_src', 'remove_query_strings_split', 15); } } function remove_query_strings_split($src){ $output = preg_split("/(&ver|\?ver)/", $src); return $output[0]; } add_action('init', 'remove_query_strings');
Best
S.
April 16, 2020 at 3:56 pm #1204460Hi,
Thanks for reporting this.
- I removed the wp_nonce check for reCaptcha V3.
- New option “Remove query string from static resources” in Performance->Show advanced options
Will be in next release.
Best regards,
GünterMay 11, 2020 at 12:01 am #1211713Dear @Günter,
any news, when this update is released?
PS: We see also many things at speed measuring and performance test. The big impact are fonts, for example local hosted and uploaded into enfold like open-sans or others.
This fonts create a massive render blocking time.Here is, what a caching expert of wp-rocket say: I hope, you can implement this or take a look, it is useful.
Best
S.
Fonts are render-blocking regardless of whether they are loaded locally or from a remote server.
To avoid that, the font-display: swap; attribute should be set when loading fonts from within CSS files:
/wp-content/uploads/dynamic_avia/enfold.cssMay 12, 2020 at 2:36 pm #1212185Hi,
To avoid that, the font-display: swap; attribute should be set when loading fonts from within CSS files:
/wp-content/uploads/dynamic_avia/enfold.cssYou can use the following filter to replace the default value of the font-display property.
add_filter('avf_font_display', function($swap) { return 'swap'; }, 10, 1);
Related thread: https://kriesi.at/support/topic/font-display-font-awesome-icons/#post-1211046
Best regards,
IsmaelMay 12, 2020 at 9:53 pm #1212371Dear Ismael,
Thanks for your reply. But:
At which place is it to insert? Is it not possible to use it as standard or give users the option per toggle inside Enfold Options to turn it on or off?
Performance->Show advanced options
Is “Swap” a recommended option?Best
May 18, 2020 at 8:28 am #1213935Hi,
Please add the filter in the child theme’s functions.php file. Adding a dedicated option or toggle directly in the theme options panel is probably not necessary. And yes, the page speed tool recommends the “swap” property so that the text are immediately displayed even before the actual fonts are loaded.
Best regards,
IsmaelMay 18, 2020 at 9:20 am #1213950Dear Ismael,
I don’t use child themes. Probably not necessary?
With a block time of more than 700 ms, you should think about the impact for all of your user? It’s sad for me to hear, that this important part for all of your clients are not in focus. You should study, what a 850 ms impact is: 7% lost of users and conversion rate. If you sell products for 100 USD to 1000 clients, you can estimate how much is the sum.
Loading time is a major factor in page abandonment and loyalty; 53% of users report that they abandon sites that take more than three seconds to load (source: SOASTA Google study report).
Users visit more often, stay longer, search more, and buy more frequently on sites that load quickly than on slower ones; one company found that a conversion increase of 7% resulted from a speed improvement of as little as .85 seconds (source: WPO Stats).
Slow loading is detrimental for search engine optimization (SEO) because it can lower your site’s ranking, resulting in fewer visits, reads, and conversions; in 2018, Google will implement site speed as a ranking signal in its mobile searches (source: Search Engine Land.
Web Fundamentals – Performance
It’s really sad what’s happening.
Regards,
S.May 19, 2020 at 10:29 am #1214266 -
AuthorPosts
- You must be logged in to reply to this topic.