basic-user-avatars icon indicating copy to clipboard operation
basic-user-avatars copied to clipboard

Service Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

Open erich2121 opened this issue 2 years ago • 1 comments

Hello! I have a problem. The front view stopped appearing on some pages. Literally 2-3 days ago. When i disable a plugin - everything is ok.

<?php
    $post_author_id = get_post_field('post_author', get_the_ID());
                    
    echo get_avatar($post_author_id, 86);
?>

If i remove get_avatar - everything is ok. But i have a same code on another page:

<a href="<?php echo get_author_posts_url($user->ID); ?>" class="community-item">
     <div class="community-item__avatar">
           <?php
               echo get_avatar($user->ID, 80);
           ?>
      </div>
</a>    

That code causes an error...

The uploading page where used a shortcode = do_shortcode('[basic-user-avatars]'); ?> stopped appearing too.

Please help.

erich2121 avatar Dec 22 '23 15:12 erich2121

Hi @erich2121

Sorry to hear about this issue you are having here.

Are you still having issues with this?

To confirm the steps to replicate the issue:

  1. Activate Basic User Avatars
  2. Create a custom output for get_avatar function that WordPress provides and it does not display the avatar (in a custom plugin or page template).

Do you have any other plugins installed that might filter the get_avatar?

Our GitHub repositories aren't monitored for support requests like this, in the future you may post site specific issues to https://wordpress.org/plugins/basic-user-avatars/

Thanks for your patience.

andrewlimaza avatar Jan 22 '24 15:01 andrewlimaza