1

Do you have CMS integration set in your system? You need to have default page or post in WordPress and have it set in CMS integration


1

I have had a similar problem with a WordPress install. In my case the Anonymous role of WordPress missing. The Wordpress roles can be checked with wp role list I created the new role with wp role create anonymous_user 'Anonymous User'


1

Try upgrading civi to 5.28.4 as it should be fixed in this version


Only top voted, non community-wiki answers of a minimum length are eligible