• Resolved wpwebbiepro

    (@webbiepro777)


    Hi, I cannot save any of the meta or title fields.

    It’s a multisite. The Super Admin can save the meta and title fields. The Site Admin cannot.

    I recently switched from PHP5 to PHP7. Don’t think that should be a problem.

    I also use this code to lower Site Admin rights almost to the same level as the editor. I don’t think that should be the problem too, just just for your information.

    if ( is_multisite() ) {
    $role = get_role( 'administrator' );
    $role->remove_cap( 'activate_plugins');
    $role->remove_cap( 'create_users');
    $role->remove_cap( 'delete_plugins');
    $role->remove_cap( 'delete_themes');
    $role->remove_cap( 'delete_users');
    	//$role->remove_cap( 'edit_files');
    $role->remove_cap( 'edit_plugins');
    $role->remove_cap( 'edit_theme_options');
    $role->remove_cap( 'edit_themes');
    $role->remove_cap( 'edit_users');
    $role->remove_cap( 'export');
    $role->remove_cap( 'import');
    $role->remove_cap( 'install_plugins');
    $role->remove_cap( 'install_themes');
    $role->remove_cap( 'list_users');
    	//$role->remove_cap( 'manage_options');
    $role->remove_cap( 'promote_users');
    $role->remove_cap( 'remove_users');
    $role->remove_cap( 'switch_themes');
    $role->remove_cap( 'update_core');
    $role->remove_cap( 'update_plugins');
    $role->remove_cap( 'update_themes');
    $role->remove_cap( 'edit_dashboard');
    $role->remove_cap( 'unfiltered_html');
    }

    https://wordpress.org/plugins/wordpress-seo/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cannot save Yoast values :(!!!!’ is closed to new replies.