zuluxraydelta
Forum Replies Created
-
Hi All,
I found the problem and the bug! I spent 6 hours digging through every line of your code to try to find why it was doing this, I didn’t find to much luck but realised it had to be to do with an access setting in Ultimate Member was stopping logged out users accessing the page.
The problem is because I had one of the posts restricted to logged in users only, so when trying to display the page “Your latest posts” because there was a post on there which was restricted to logged in users only, it wouldn’t allow you to access the entire page.
**How to re-create**
1. Set your front page in Settings > Readings to “Your latest posts”
2. Create a few random posts on your website
3. Go into one of the posts and restrict it to “Logged in members only, using the ultimate member feature.”
4. Log out of WordPress
5. Go to your front page
6. It redirects you to the login pageI’m not a PHP expert so I will allow you guys to dig into the code to find the problem! ??
Hey @ultimate Member
Your correct in thinking, that it only happens if i
Go to Settings > Reading: Set to “Your latest posts” as the homepageIf i select a page it works fine!
Some other things I have tried
1. Updated to the latest theme (Still got theproblem)
2. Disabled all plugins apart from Ultimate Member (Still got the problem)Is there anything else I can try / do?
@champ Camba
You are correct in thinking that was the steps.
That is also correct, god knows what is wrong, if I set the Settings > Reading to a custom page, it works fine its just if its set to “Your latest posts”, I will try updating the theme to see if that fixes anything.
I don’t actually have a homepage as a physical page in WordPress, the theme basically has a front page / dash page when you select “Your latest posts”