• Resolved mouschi

    (@mouschi)


    This error seems to occur once a day, and is “fixed” temporarily after I clear cache. I am running wordfence, and wp rocket. The page in question is called “/apply-now”.

    Under Advanced Rules of WP Rocket, I am having cache disabled for apply-now, login, register, my-account, account, and members.

    What else can/should be done?

Viewing 15 replies - 1 through 15 (of 16 total)
  • @mouschi

    This error seems to occur once a day

    This sounds like a caching issue, you may also have CDN and web hosting server caching active. Look also at your .htaccess file if your browsers are forced to cache the pages for 24 hours.

    Thread Starter mouschi

    (@mouschi)

    htaccess talks about caching ... does any of this have anything to do with it? 

    ExpiresActive on
    ExpiresDefault "access plus 1 month"
    # cache.appcache needs re-requests in FF 3.6 (thanks Remy ~Introducing HTML5)
    ExpiresByType text/cache-manifest "access plus 0 seconds"
    # Your document html
    ExpiresByType text/html "access plus 0 seconds"
    # Data
    ExpiresByType text/xml "access plus 0 seconds"
    ExpiresByType application/xml "access plus 0 seconds"
    ExpiresByType application/json "access plus 0 seconds"
    # Feed
    ExpiresByType application/rss+xml "access plus 1 hour"
    ExpiresByType application/atom+xml "access plus 1 hour"
    # Favicon (cannot be renamed)
    ExpiresByType image/x-icon "access plus 1 week"
    # Media: images, video, audio
    ExpiresByType image/gif "access plus 4 months"
    ExpiresByType image/png "access plus 4 months"
    ExpiresByType image/jpeg "access plus 4 months"
    ExpiresByType image/webp "access plus 4 months"
    ExpiresByType video/ogg "access plus 4 months"
    ExpiresByType audio/ogg "access plus 4 months"
    ExpiresByType video/mp4 "access plus 4 months"
    ExpiresByType video/webm "access plus 4 months"
    ExpiresByType image/avif "access plus 4 months"
    ExpiresByType image/avif-sequence "access plus 4 months"
    # HTC files (css3pie)
    ExpiresByType text/x-component "access plus 1 month"
    # Webfonts
    ExpiresByType font/ttf "access plus 4 months"
    ExpiresByType font/otf "access plus 4 months"
    ExpiresByType font/woff "access plus 4 months"
    ExpiresByType font/woff2 "access plus 4 months"
    ExpiresByType image/svg+xml "access plus 4 months"
    ExpiresByType application/vnd.ms-fontobject "access plus 1 month"
    # CSS and JavaScript
    ExpiresByType text/css "access plus 1 year"
    ExpiresByType application/javascript "access plus 1 year"

    @mouschi

    Try to ask your web hosting support about this issue with your .htaccess file as it’s probably setup by them for your account.

    Thread Starter mouschi

    (@mouschi)

    The htaccess file was actually generated by wordpress. i think that code in specific was generated by wp rocket.

    Thread Starter mouschi

    (@mouschi)

    One thing I found interesting is that a lot of times (not all the times I don’t think?) is when it gives that error, the calendar for date of birth on my form will show the previous day, and not the current. Is there anything else we can check?

    @mouschi

    calendar for date of birth

    This is probably this UM issue you have found

    https://github.com/ultimatemember/ultimatemember/issues/1118

    Thread Starter mouschi

    (@mouschi)

    That’s not the actual problem – it was just something I noticed where the current day is not showing up, which is fine (no one applying was born on the same day lol!) The main problem is the caching error.

    @mouschi

    Is there anything else we can check?

    If you have a reCAPTCHA plugin active for the page try to deactivate the plugin.

    Thread Starter mouschi

    (@mouschi)

    So I do see this – I worry about disabling though, because i’m afraid of the crazy spam?

    @mouschi

    Wait a while with the reCaptcha conflict test.

    When you get the message “Probably page was cached” look in your browser’s web console if you have any JavaScript errors.

    • This reply was modified 1 year, 6 months ago by missveronica.
    Thread Starter mouschi

    (@mouschi)

    When you say wait a while, do you mean wait a while before disabling it, or disable it, wait a while, and see if the error comes back? (thank you for responding to me by the way!)

    @mouschi

    Yes look at the browser’s web console first if we can get any hints about your issue by a JavaScript error.

    Thread Starter mouschi

    (@mouschi)

    the console shows no errors

    The upper right did say there was 1 issue, though … not sure if this has anything to do with it?

    Thread Starter mouschi

    (@mouschi)

    I thought I’d update this page. On the right hand side of the page the form sits on, there is a “don’t cache this page” or similar option. You can select that, and it seems to fix the issue. For me at least, the problem is, the dang page is so dog slow. Would love to hear if there is a fix for this. It would be awesome if the Ultimate form would work properly and work fast at the same time.

    Plugin Support andrewshu

    (@andrewshu)

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘An error has been encountered. Probably page was cached. Please try again.’ is closed to new replies.