• Restricted content is not enabled after the user has logged in.
    The content of this page is enabled for subscribers only. But after the subscriber logs in the content is still restricted. After reloading the page the content is displayed.
    It has always worked fine, I can’t determine if it is a problem with wordpress 5.6.1 or with the latest updates of the Avada theme.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Howdy,

    Do you have any type of caching going on with either a plugin, cloudflare or maybe at your host? The fact that a page reload fixes the issues leads me to believe something caching might be at play.

    As for the theme — I would try to rule out Avada by changing the theme to one of the Twenty X series (Like Twenty Twenty or Twenty Twenty-One) and see if the problem persists.

    I would be interested to know how this was resolved. I’m having the same problem on my Dreamhost hosted site https://xtfit.us. It’s sporadic and always corrected with simple refresh. It doesn’t seem to be a huge problem for our members but I need to get it corrected.

    I too am assuming it’s related to caching but I haven’t added any cache plugins. I do know that Dreamhost default caching is below. Do you see any problems with any of these?

    # BEGIN Expire headers  
    <IfModule mod_expires.c>  
      # Turn on the module.
      ExpiresActive on
      # Set the default expiry times.
      ExpiresDefault "access plus 2 days"
      ExpiresByType image/jpg "access plus 1 month"
      ExpiresByType image/svg+xml "access 1 month"
      ExpiresByType image/gif "access plus 1 month"
      ExpiresByType image/jpeg "access plus 1 month"
      ExpiresByType image/png "access plus 1 month"
      ExpiresByType text/css "access plus 1 month"
      ExpiresByType text/javascript "access plus 1 month"
      ExpiresByType application/javascript "access plus 1 month"
      ExpiresByType application/x-shockwave-flash "access plus 1 month"
      ExpiresByType image/ico "access plus 1 month"
      ExpiresByType image/x-icon "access plus 1 month"
      ExpiresByType text/html "access plus 600 seconds"
    </IfModule>  
    # END Expire headers

    FWIW, I think I round the fix. I just disabled all Dreamhost default cache options on my test site and it seems to work. I guess if I want to cache stuff now I’ll add a cache plugin that I’m sure works with RCP. Thanks.

    Thread Starter ignaciogalobart

    (@ignaciogalobart)

    Hi, sorry for not responding sooner. I never could solve the problem, I had to change plugin, I couldn’t wait to find a solution. The only thing I can tell you is that I don’t have any cache plugin installed on the site. Changing the theme was not a solution either.

    Thanks, no problem. Good luck. Learning about the default cache options of my webhost (Dreamhost) led me to the final solution. I stuck with RCP but had to add some code to my .htaccess file to remove any default caching stuff that happened at the hosting level. Now I’m in complete control of my cache options and can add a plugin to manage it if I want, I assume. Not sure I even need cache because my website is pretty lightweight anyhow.

    I appear to have this problem too; could anyone help a gal out please, I am at a total loss of what to do and it has locked out all my paid subscribers.

    This problem only occured recently, I have been using RCP for around 3 years.

    @ignaciogalobart could you tell me which plugin you went with please; I have had no joy as to yet fnding one that works well.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Restricted content is not enabled after the user is logged in.’ is closed to new replies.