Custom Edit Profile page error after 1.8.2 -> 1.8.8 update
-
Hello Bangbay,
Thanks again for this great plugin, and for keeping it updated so well.
My members-only site uses WP User Avatar with a custom front-end Edit Profile page. (I’ve basically copied a bit of your HTML code into my page template so members can update avatars without seeing the WP admin backend.)
I have a problem that showed up after updating WP User Avatar from 1.8.2 to 1.8.8. When my custom edit profile page does this:
$current_user = get_userdata( $current_user->id ); $first_name = get_user_meta( $current_user->id, 'first_name', true); $last_name = get_user_meta( $current_user->id, 'last_name', true); $wp_user_avatar = get_user_meta ($current_user->id, 'wp_user_avatar', true);
I get this:
Fatal error: Call to a member function wpua_is_author_or_above() on a non-object in /home/worldlead/www/www/wp-content/plugins/wp-user-avatar/includes/class-wp-user-avatar.php on line 53
Any ideas?
Joanne Wilson
- The topic ‘Custom Edit Profile page error after 1.8.2 -> 1.8.8 update’ is closed to new replies.