get_user_to_edit is function in wp-admin/includes/user.php
if you get errors, then add this code before class
if(!function_exists('get_user_to_edit')){
include_once(ABSPATH.'/wp-admin/includes/user.php');
}
this doesn’t work either
seems like there’s something wrong with my /wp-admin/includes/user.php on line 822 ???!!!
* @param int $user_id user ID.
I don’t know what’s wrong but have to resolve to theme my login plugin
the other solution is resetting your plugins.
Thanks Dulabs for the help.
To fix this error use this code below
global $wp_version;
if(!(function_exists('get_user_to_edit'))){
require_once(ABSPATH.'/wp-includes/user.php');
require_once(ABSPATH.'/wp-admin/includes/user.php');
require_once(ABSPATH.'/wp-includes/registration.php');
}
That should fix it!
Plugin Author
dulabs
(@dulabs)
Plugin will updates on the weekend
I cant update my profile..getting blank page after hit “Update Profile” button.. thx for your help…
Plugin Author
dulabs
(@dulabs)
@leventyilmaz
Can you create account for me?
I will check it, please send the details to http://dulabs.com/contact/
Hi Dulabs,
I get
Fatal error: Call to a member function is)role() on a non-object in /..../plugins/frontend-edit-profile/fep.php on line 589
when logged in as an administrator. As a subscriber, I don’t see the error. Any idea what I might be able to do to resolve this?