Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

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

Open
erich2121 opened this issue Dec 22, 2023 · 1 comment

Comments

@erich2121
Copy link

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 stopped appearing too.

Please help.

@andrewlimaza
Copy link
Collaborator

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants