Skip Navigation

[Resolved] Can’t display login form to visitors

This thread is resolved. Here is a description of the problem and solution.

Problem:

Yoast plugin causing issues with guest permissions and forms.

Solution:

We are currently aware of this issue and have an errata page for this.
https://toolset.com/errata/yoast-seo-plugin-overrides-access-rules/

This support ticket is created 6 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Our next available supporter will start replying to tickets in about 0.72 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Author
Posts
#609644

I have followed these steps to create the "my account" page.

Part 7: Building the “My account” page with a login form.
https://toolset.com/documentation/user-guides/cred-training-course/part-7-building-account-page-login-form/

As in these steps, I have;
1. hidden the page from visitors using access control
2. created post group for pages restricted to logged-in users.
3 . Built a layout using a login form
4. Set the login form layout in ACCESS to appear on the “My account” page for visitors.

When testing, it is still displaying the "my account page" when signed out?
I have tried changing to another layout in access, but it just changes the theme layout.

#609797

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Martin,

Thank you for contacting our support forum.

Would you mind providing me with admin access to the website as well as a link to the login page so that I can have a look at this for you?

Thanks,
Shane

#609815

Hi Shane,

Many thanks for your help.

Yes, I also have another support thread which you are looking at for me. I have provided the credentials here.

https://toolset.com/forums/topic/send-email-notification-using-page-custom-field/#post-609812

The login page is xxx

#609962

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Martin,

There could be something interfering with the normal operation of the plugin.

Would you mind temporarily disabling all the non-toolset plugins and checking the page again ?

Looking forward to hearing from you soon.

Thanks,
Shane

#610005

Hi Shane,

Thanks for your response, Nice work! Yes it apears to be Yoast SEO plugin that seems to be interfereing.

Strange, this plugin should surely be compatible?

Any idea why this is happening and how to rectify?

#610008

Ive found this support thread which is related,
https://toolset.com/errata/yoast-seo-plugin-overrides-access-rules/#comment-333816

but I've no idea how to incorporate this to fix my issue?

#610171

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Martin,

I see the problem.

So with the SEO plugin enabled the guest's will have access to the account page and won't be redirected.

I can reopen the ticket on our internal system for this but as the errata says its not an issue on our side so I don't think there is anything for our development team to do on this.

Would you mind opening a ticket with the YOAST SEO team and see what they say about this issue.

Thanks,
Shane

#610221

Hi Shane,

Glad you can see the issue, and thanks for your prompt response.

Yes, no worries I'll try and raise a ticket with Yoast SEO.

If you could check your end if there are any workarounds, as I'm sure many Toolset users also use Yoast.

Have a good weekend

#610709

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Martin,

The workaround I see on our system is the one here.
https://toolset.com/errata/yoast-seo-plugin-overrides-access-rules/

However as you stated it doesn't work for your case 🙁

Thanks,
Shane

#610986

Hi Shane,
Thank you for your help so far, I really appreciate it.

As per message:

"I see the problem.
So with the SEO plugin enabled the guest's will have access to the account page and won't be redirected.

I can reopen the ticket on our internal system for this but as the errata says its not an issue on our side so I don't think there is anything for our development team to do on this.

Would you mind opening a ticket with the YOAST SEO team and see what they say about this issue.

Thanks,
Shane"

I've tried contacting Yoast but with no luck as im not a premium customer. Is there another way to takle this, I'm sure this issue will be common, as millions of people use Yoast. Can your developers contact them as I'm sure it would be in WP-Types interest to ensure compatability?

I'll keep trying, could you also help by explaining what the problem is with Yoast so I can try and find related support threads.

#611140

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Martin,

I can't provide much detail on this but from our errata it seems that the issue with the way Yoast SEO handles the edit_posts capability.

It also seems that its taking priority even if its set differently in our Access plugin.

So I would check for "Yoast SEO edit_post".

Failing that you can look into an alternative SEO plugin. If yoast does not respond then i'll see if there is anything that can be done from our side for this. First I would need to be able to replicate the issue for our team.

Thanks,
Shane