Simple test showed that user with just 2 capabilities ‘read’, ‘edit_theme_options’ has access to the “Appearance->Customize” page at the fresh installed test WordPess site.
I suppose that some plugin or custom code is involved in your case. Such error message is shown by wp-admin/includes/menu.php (line #350), if for some reason admin menu item is unavailable/blocked for current user:
if ( ! user_can_access_admin_page() ) {
/**
* Fires when access to an admin page is denied.
*
* @since 2.5.0
*/
do_action( 'admin_page_access_denied' );
wp_die( __( 'Sorry, you are not allowed to access this page.' ), 403 );
}
Try to deactivate all plugins and activate WP default 2021 theme – will it change something? If Yes, activate plugins back one by one to isolate a conflict.
Tried that but it didnt help. Is there a way to overwrite the code by adding some code?
Just in case you have modified role after granted it to user, try to change user’s role to ‘subscriber’ for example, update user profile, then change his role back to that role back. Just in case user level would does matter…
It’s possible to change something via code probably, but developer (you will find) should have access to your site in order to look what is happening and what to change.
My developer says the plugin isnt working as expected and asked me to contact plugin support. So what to do so that a new user can customize?