Can you logout, login again and try again? Do you have any user role plugins running that you used to modify anything?
Thanks for the quick reply!
Can you logout, login again and try again?
Tried, no luck 🙁
Do you have any user role plugins running that you used to modify anything?
Yes, I use User Role Editor but deactivating it didn’t solve the issue.
I did use that to modify permissions for this plugin so that editors can add, edit, and delete stores, but there was not a capability listed referring to the settings page (as far as I could tell).
Can you use the role editor plugin to make sure the current admin has the ‘manage_wpsl_settings’ capabilities.
If you create a new user and give him the Store Locator Manager role, does it work then? If you create a second admin account, does that allow you to access it.
Strangely, User Role Editor doesn’t show the manage_wpsl_settings capability, nor is Store Locator Manager a role option when creating a new user. I have checked that I have the latest version of the plugin (2.2.3).
As a workaround I have added the capability manually in my functions.php as follows:
function doublee_fix_caps() {
$role = get_role( 'administrator' );
$role->add_cap( 'manage_wpsl_settings' );
}
add_action( 'admin_init', 'doublee_fix_caps');
Probably not the ideal solution but it works! 🙂
Something must have gone wrong during the install, but at least it’s working now.