So, either your user isn’t of the administrator role, or does not have the bcn_manage_options capability. Under some circumstances the administrator role may not gain the bcn_manage_options capability, which is something others have reported, and I’m having difficulty reproducing (see: https://wordpress.org/support/topic/you-do-not-have-permission-to-access-this-page-18/#post-15202721)
So from what I gather, in your case, you can verify this issue occurs on a fresh WP install, with just WordPress, Breadcrumb NavXT and the Twenty Twenty-One theme, correct (i.e. no other plugins are installed)? Also, this new setup was on the same webhost as the first one you tried on, correct?
Hello,
Thanks for response, Yes you are right I just setup website today itself, with the latest version of the default theme, WordPress and Breadcrumb NavXT plugin. There is no other plugin installed.
Note : I have setup in local environment in Wamp server.
Thank you.
Also, I am using the 8.0.13 PHP version. Let me know if you need any more details.
I have the same problem (localhost on Windows, XAMPP, PHP 7.4.25).
Can’t access settings using direct link (/wp-admin/options-general.php?page=breadcrumb-navxt) and the is *no position* in menu to click in Settings / Breadcrumb NavXT.
One user with administrator role. Changed to “Twenty Nineteen” theme doesn’t change anything. The same with turning off all other plugins – problem still exists.
Please help!
Thanks for the additional details (the fresh install was the biggest clue as to what was going on, those that updated from Breadcrumb NavXT 6.6.0 likely would never see this error). I finally found the issue. It was due to introducing namespacing in adminKit (where the capability is added) and not updating a check for WP_Term properly. This has been fixed in the GitHub master branch, and is tracked by the following GitHub issue: https://github.com/mtekk/Breadcrumb-NavXT/issues/269
I’ve installed this plugin and it’s working on the template I’m using (Arke – a really stripped back minimal one), with Mamp localhost running either PHP 7.4.21 or 8.0.8 – I’ve tried both and it’s made no difference to my issue.
The plugin version installed is 7.0.1 and I’m still getting the error “Sorry, you are not allowed to access this page.”
I only have one other plugin installed at present and that is the ‘Classic Editor’ plugin (cause I really don’t like the Blocks system lol).
There are no settings menu items. The user is only one – and they are an Administrator.
-
This reply was modified 4 years, 5 months ago by
richrockster. Reason: Updated with extra plugin info
The issue is resolved in latest version of the plugin, Thanks for the update.