Error message when i tried to change the settings of the plugin

[ad_1]

Hello!,

I have a website that i manage and i have used this plugin to create roles and directories but suddenly as i got in settings of the plugin a message poped up in dashboard:

Warning: Undefined array key “action” in /home/clients/7593e0463dbecc1ffde2a35a472629b3/web/wp-content/plugins/wp-user-manager/includes/filters.php on line 385

i went to php and in line 385 is this:

if ( ‘switch_to_olduser’ === $query[‘action’] ) {
        $request_uri = isset( $_SERVER[‘REQUEST_URI’] ) ? wp_unslash( filter_input( INPUT_SERVER, ‘REQUEST_URI’ ) ) : ”;

        wp_safe_redirect( get_bloginfo( ‘wpurl’ ) . $request_uri );
        exit;
    }

    return $handler;
} );

Also everything has broked in the website and doesn’t seem the same as before.

Do you know what happened and how to solve it?

Thank you in advance!

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer