WordPress.org

Forums

WP User Avatar
[resolved] warnig for line 324, 325, 326 (2 posts)

  1. electro-jot
    Member
    Posted 2 years ago #

    The Error was something like: Try to get the Property of a non-object...fixed it by checking with isset();

    $id_or_email = isset( $user->ID ) ? $user->ID : false;
    $email = isset( $user->user_email ) ? $user->user_email : false;
    $alt = isset( $user->display_name ) ? $user->display_name : false;

    http://wordpress.org/extend/plugins/wp-user-avatar/

  2. Bangbay Siboliban
    Member
    Posted 2 years ago #

    Yes, I'm aware of the bug. I have a fix for it which I am going to roll in with other features in the next version of the plugin. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP User Avatar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic