• Hi,

    I’m getting an error message on all pages as admin but doesn’t seem to be appearing the user:

    Warning: sprintf(): Too few arguments in /home/customer/www/teach2030.com/public_html/wp-content/plugins/wp-user-avatar/includes/class-wp-user-avatar-functions.php on line 478

    Is anyone able to help?
    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Me too.

    Same! And these are lines 475 to 479 in the (allegedly) offending PHP file.

           //$avatar = $avatar;
           $avatar = sprintf(
               '<img src="'.$wpua_final_avatar_image_src.'"'.$default_image_details['dimensions'].' alt="'.$alt.'" class="avatar avatar-'.$size.' wp-user-avatar wp-user-avatar-'.$size.' photo avatar-default%s" />',
               esc_attr( implode( ' ', $class ) )
           );
    • This reply was modified 3 years, 8 months ago by Placeholder.
    • This reply was modified 3 years, 8 months ago by Placeholder.
    • This reply was modified 3 years, 8 months ago by Placeholder.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Too few arguments’ is closed to new replies.