• Resolved karpadiem

    (@karpadiem)


    I’m getting this message in my error logs for any page that displays avatars.

    E_WARNING: strlen() expects parameter 1 to be string, object given
    1
    File "/var/www/html/wp-includes/formatting.php" line 3263
    2
    File "/var/www/html/wp-content/plugins/wp-user-avatar/includes/class-wp-user-avatar-functions.php" line 36 in is_email [args]
    
    3
    File "/var/www/html/wp-includes/class-wp-hook.php" line 286 in WP_User_Avatar_Functions::wpua_get_avatar_url [args]
    
    4
    File "/var/www/html/wp-includes/plugin.php" line 208 in WP_Hook::apply_filters [args]
    
    5
    File "/var/www/html/wp-includes/link-template.php" line 4167 in apply_filters [args]
    
    6
    File "/var/www/html/wp-includes/pluggable.php" line 2609 in get_avatar_data [args]
    
    7
    File "/var/www/html/wp-content/themes/squarebox/comment.php" line 16 in get_avatar [args]
    
    8
    File "/var/www/html/wp-content/themes/squarebox/helpers/project_helper.php" line 181 in include [args]
    9
    File "/var/www/html/wp-content/themes/squarebox/helpers/project_helper.php" line 96 in blahlab_render_view [args]
    
    10
    File "/var/www/html/wp-includes/class-walker-comment.php" line 179 in blahlab_custom_comment [args]
    
    11
    File "/var/www/html/wp-includes/class-wp-walker.php" line 145 in Walker_Comment::start_el [args]
    
    12
    File "/var/www/html/wp-includes/class-walker-comment.php" line 139 in Walker::display_element [args]
    
    13
    File "/var/www/html/wp-includes/class-wp-walker.php" line 387 in Walker_Comment::display_element [args]
    
    14
    File "/var/www/html/wp-includes/comment-template.php" line 2174 in Walker::paged_walk [args]
    
    15
    File "/var/www/html/wp-content/[REDACTED]/comments.php" line 15 in wp_list_comments [args]
    
    16
    File "/var/www/html/wp-includes/comment-template.php" line 1512 in require [args]
    17
    File "/var/www/html/wp-content/[REDACTED]/single.php" line 79 in comments_template [args]
    18
    File "/var/www/html/wp-includes/template-loader.php" line 77 in include [args]
    19
    File "/var/www/html/wp-blog-header.php" line 19 in require_once [args]
    20
    File "/var/www/html/index.php" line 17 in require [args]
    • This topic was modified 5 years, 10 months ago by karpadiem.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘strlen() expects parameter 1 to be string, object given’ is closed to new replies.