Support » Plugin: WP User Avatar » 1.9.3 Update Breaks WordPress site

  • Resolved S S0DEN

    (@s-s0den)


    Having installed the update, removed the plugin and re-installed multiple times I can say with 100% accuracy, this plugin update is not working correctly.

    After update and plugin active, no pages on the website will load, just a blank white white page.

    I have to re-name the plugin file to gain access back to my website, then I get the error in the Admin CP that the plugin has been disabled due to it not working correctly.

    I am using a chat at the bottom that also loads users avatars, so if this plugin does not work, I can see how it would knock out the whole site. Everything worked just fine before I installed the update earlier today.

    https://wordpress.org/plugins/wp-user-avatar/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Does your site produce an error_log file that could provide a clue about what’s broken? Version 1.9.2 had a missing php tag which unfortunately passed through fine on my test sites but not on some users’ site. I fixed that in version 1.9.3.

    [17-Apr-2014 23:46:38 UTC] PHP Fatal error: Call to a member function get_wp_user_avatar_src() on a non-object in /home4/theunkno/public_html/wp-content/plugins/wp-user-avatar/includes/wpua-functions.php on line 21

    Are there any other errors that directly preceded this one? Perhaps an undefined variable error?

    Also, is the chat section a plugin that you’re using?

    Yes, the chat is a plugin I am using and is working just fine. It just loads what ever user avatar WP has defined. With out your WP Avatar plugin, it pulls the Gravatar which it is doing now.

    I will past the complete error log for you.

    /home4/theunkno/public_html/error_log:
    [17-Apr-2014 23:46:38 UTC] PHP Fatal error: Call to a member function get_wp_user_avatar_src() on a non-object in /home4/theunkno/public_html/wp-content/plugins/wp-user-avatar/includes/wpua-functions.php on line 21
    [17-Apr-2014 23:46:38 UTC] PHP Fatal error: Call to a member function get_wp_user_avatar_src() on a non-object in /home4/theunkno/public_html/wp-content/plugins/wp-user-avatar/includes/wpua-functions.php on line 21
    [17-Apr-2014 23:46:38 UTC] PHP Fatal error: Call to a member function get_wp_user_avatar_src() on a non-object in /home4/theunkno/public_html/wp-content/plugins/wp-user-avatar/includes/wpua-functions.php on line 21
    [17-Apr-2014 23:46:38 UTC] PHP Fatal error: Call to a member function get_wp_user_avatar_src() on a non-object in /home4/theunkno/public_html/wp-content/plugins/wp-user-avatar/includes/wpua-functions.php on line 21
    [17-Apr-2014 23:46:38 UTC] PHP Fatal error: Call to a member function get_wp_user_avatar_src() on a non-object in /home4/theunkno/public_html/wp-content/plugins/wp-user-avatar/includes/wpua-functions.php on line 21
    [17-Apr-2014 23:46:38 UTC] PHP Fatal error: Call to a member function get_wp_user_avatar_src() on a non-object in /home4/theunkno/public_html/wp-content/plugins/wp-user-avatar/includes/wpua-functions.php on line 21
    [17-Apr-2014 23:46:38 UTC] PHP Fatal error: Call to a member function get_wp_user_avatar_src() on a non-object in /home4/theunkno/public_html/wp-content/plugins/wp-user-avatar/includes/wpua-functions.php on line 21
    [17-Apr-2014 23:46:38 UTC] PHP Fatal error: Call to a member function get_wp_user_avatar_src() on a non-object in /home4/theunkno/public_html/wp-content/plugins/wp-user-avatar/includes/wpua-functions.php on line 21
    [17-Apr-2014 23:46:38 UTC] PHP Fatal error: Call to a member function get_wp_user_avatar_src() on a non-object in /home4/theunkno/public_html/wp-content/plugins/wp-user-avatar/includes/wpua-functions.php on line 21
    [17-Apr-2014 23:46:38 UTC] PHP Fatal error: Call to a member function get_wp_user_avatar_src() on a non-object in /home4/theunkno/public_html/wp-content/plugins/wp-user-avatar/includes/wpua-functions.php on line 21
    [17-Apr-2014 23:46:38 UTC] PHP Fatal error: Call to a member function get_wp_user_avatar_src() on a non-object in /home4/theunkno/public_html/wp-content/plugins/wp-user-avatar/includes/wpua-functions.php on line 21
    [17-Apr-2014 23:46:39 UTC] PHP Fatal error: Call to a member function get_wp_user_avatar_src() on a non-object in /home4/theunkno/public_html/wp-content/plugins/wp-user-avatar/includes/wpua-functions.php on line 21
    [17-Apr-2014 23:46:39 UTC] PHP Fatal error: Call to a member function get_wp_user_avatar_src() on a non-object in /home4/theunkno/public_html/wp-content/plugins/wp-user-avatar/includes/wpua-functions.php on line 21
    [17-Apr-2014 23:46:39 UTC] PHP Fatal error: Call to a member function get_wp_user_avatar_src() on a non-object in /home4/theunkno/public_html/wp-content/plugins/wp-user-avatar/includes/wpua-functions.php on line 21
    [17-Apr-2014 23:46:39 UTC] PHP Fatal error: Call to a member function get_wp_user_avatar_src() on a non-object in /home4/theunkno/public_html/wp-content/plugins/wp-user-avatar/includes/wpua-functions.php on line 21
    [17-Apr-2014 23:46:39 UTC] PHP Fatal error: Call to a member function get_wp_user_avatar_src() on a non-object in /home4/theunkno/public_html/wp-content/plugins/wp-user-avatar/includes/wpua-functions.php on line 21
    [17-Apr-2014 23:46:39 UTC] PHP Fatal error: Call to a member function get_wp_user_avatar_src() on a non-object in /home4/theunkno/public_html/wp-content/plugins/wp-user-avatar/includes/wpua-functions.php on line 21
    [17-Apr-2014 23:46:39 UTC] PHP Fatal error: Call to a member function get_wp_user_avatar_src() on a non-object in /home4/theunkno/public_html/wp-content/plugins/wp-user-avatar/includes/wpua-functions.php on line 21
    [17-Apr-2014 23:46:39 UTC] PHP Fatal error: Call to a member function get_wp_user_avatar_src() on a non-object in /home4/theunkno/public_html/wp-content/plugins/wp-user-avatar/includes/wpua-functions.php on line 21
    [17-Apr-2014 23:46:39 UTC] PHP Fatal error: Call to a member function get_wp_user_avatar_src() on a non-object in /home4/theunkno/public_html/wp-content/plugins/wp-user-avatar/includes/wpua-functions.php on line 21
    [17-Apr-2014 23:46:39 UTC] PHP Fatal error: Call to a member function get_wp_user_avatar_src() on a non-object in /home4/theunkno/public_html/wp-content/plugins/wp-user-avatar/includes/wpua-functions.php on line 21
    [17-Apr-2014 23:46:39 UTC] PHP Fatal error: Call to a member function get_wp_user_avatar_src() on a non-object in /home4/theunkno/public_html/wp-content/plugins/wp-user-avatar/includes/wpua-functions.php on line 21
    [17-Apr-2014 23:46:39 UTC] PHP Fatal error: Call to a member function get_wp_user_avatar_src() on a non-object in /home4/theunkno/public_html/wp-content/plugins/wp-user-avatar/includes/wpua-functions.php on line 21
    [17-Apr-2014 23:46:39 UTC] PHP Fatal error: Call to a member function get_wp_user_avatar_src() on a non-object in /home4/theunkno/public_html/wp-content/plugins/wp-user-avatar/includes/wpua-functions.php on line 21
    [17-Apr-2014 23:46:39 UTC] PHP Fatal error: Call to a member function get_wp_user_avatar_src() on a non-object in /home4/theunkno/public_html/wp-content/plugins/wp-user-avatar/includes/wpua-functions.php on line 21
    [17-Apr-2014 23:46:39 UTC] PHP Fatal error: Call to a member function get_wp_user_avatar_src() on a non-object in /home4/theunkno/public_html/wp-content/plugins/wp-user-avatar/includes/wpua-functions.php on line 21
    [17-Apr-2014 23:46:39 UTC] PHP Fatal error: Call to a member function get_wp_user_avatar_src() on a non-object in /home4/theunkno/public_html/wp-content/plugins/wp-user-avatar/includes/wpua-functions.php on line 21
    [17-Apr-2014 23:47:06 UTC] PHP Fatal error: Call to a member function get_wp_user_avatar_src() on a non-object in /home4/theunkno/public_html/wp-content/plugins/wp-user-avatar/includes/wpua-functions.php on line 21
    [17-Apr-2014 23:49:09 UTC] PHP Fatal error: Call to a member function get_wp_user_avatar_src() on a non-object in /home4/theunkno/public_html/wp-content/plugins/wp-user-avatar/includes/wpua-functions.php on line 21
    [17-Apr-2014 23:53:48 UTC] PHP Fatal error: Call to a member function get_wp_user_avatar_src() on a non-object in /home4/theunkno/public_html/wp-content/plugins/wp-user-avatar/includes/wpua-functions.php on line 21

    /home4/theunkno/public_html/wp-admin/error_log:
    [16-Apr-2014 19:02:25 UTC] PHP Fatal error: Cannot use object of type WP_Error as array in /home4/theunkno/public_html/wp-content/plugins/iflychat/iflychat.php on line 293
    [16-Apr-2014 19:04:24 UTC] PHP Fatal error: Cannot use object of type WP_Error as array in /home4/theunkno/public_html/wp-content/plugins/iflychat/iflychat.php on line 293
    [16-Apr-2014 19:04:55 UTC] PHP Fatal error: Cannot use object of type WP_Error as array in /home4/theunkno/public_html/wp-content/plugins/iflychat/iflychat.php on line 293
    [16-Apr-2014 19:08:54 UTC] PHP Fatal error: Cannot use object of type WP_Error as array in /home4/theunkno/public_html/wp-content/plugins/iflychat/iflychat.php on line 293
    [16-Apr-2014 19:12:03 UTC] PHP Fatal error: Cannot use object of type WP_Error as array in /home4/theunkno/public_html/wp-content/plugins/iflychat/iflychat.php on line 293
    [16-Apr-2014 19:14:33 UTC] PHP Fatal error: Cannot use object of type WP_Error as array in /home4/theunkno/public_html/wp-content/plugins/iflychat/iflychat.php on line 293
    [16-Apr-2014 19:14:39 UTC] PHP Fatal error: Cannot use object of type WP_Error as array in /home4/theunkno/public_html/wp-content/plugins/iflychat/iflychat.php on line 293
    [16-Apr-2014 20:13:12 UTC] PHP Fatal error: Cannot use object of type WP_Error as array in /home4/theunkno/public_html/wp-content/plugins/iflychat/iflychat.php on line 293
    [16-Apr-2014 20:43:18 UTC] PHP Fatal error: Cannot use object of type WP_Error as array in /home4/theunkno/public_html/wp-content/plugins/iflychat/iflychat.php on line 293
    [16-Apr-2014 20:43:35 UTC] PHP Fatal error: Cannot use object of type WP_Error as array in /home4/theunkno/public_html/wp-content/plugins/iflychat/iflychat.php on line 293
    [16-Apr-2014 20:44:11 UTC] PHP Fatal error: Cannot use object of type WP_Error as array in /home4/theunkno/public_html/wp-content/plugins/iflychat/iflychat.php on line 293
    [16-Apr-2014 20:44:18 UTC] PHP Fatal error: Cannot use object of type WP_Error as array in /home4/theunkno/public_html/wp-content/plugins/iflychat/iflychat.php on line 293
    [16-Apr-2014 20:44:23 UTC] PHP Fatal error: Cannot use object of type WP_Error as array in /home4/theunkno/public_html/wp-content/plugins/iflychat/iflychat.php on line 293
    [16-Apr-2014 20:44:25 UTC] PHP Fatal error: Cannot use object of type WP_Error as array in /home4/theunkno/public_html/wp-content/plugins/iflychat/iflychat.php on line 293
    [16-Apr-2014 20:44:51 UTC] PHP Fatal error: Cannot use object of type WP_Error as array in /home4/theunkno/public_html/wp-content/plugins/iflychat/iflychat.php on line 293
    [16-Apr-2014 20:45:36 UTC] PHP Fatal error: Cannot use object of type WP_Error as array in /home4/theunkno/public_html/wp-content/plugins/iflychat/iflychat.php on line 293
    [17-Apr-2014 22:49:45 UTC] PHP Fatal error: Call to a member function get_wp_user_avatar_src() on a non-object in /home4/theunkno/public_html/wp-content/plugins/wp-user-avatar/includes/wpua-functions.php on line 21
    [17-Apr-2014 22:50:34 UTC] PHP Fatal error: Call to a member function get_wp_user_avatar_src() on a non-object in /home4/theunkno/public_html/wp-content/plugins/wp-user-avatar/includes/wpua-functions.php on line 21
    [17-Apr-2014 22:50:34 UTC] PHP Fatal error: Call to a member function get_wp_user_avatar_src() on a non-object in /home4/theunkno/public_html/wp-content/plugins/wp-user-avatar/includes/wpua-functions.php on line 21
    [17-Apr-2014 22:50:49 UTC] PHP Fatal error: Call to a member function get_wp_user_avatar_src() on a non-object in /home4/theunkno/public_html/wp-content/plugins/wp-user-avatar/includes/wpua-functions.php on line 21
    [17-Apr-2014 22:50:52 UTC] PHP Fatal error: Call to a member function get_wp_user_avatar_src() on a non-object in /home4/theunkno/public_html/wp-content/plugins/wp-user-avatar/includes/wpua-functions.php on line 21
    [17-Apr-2014 22:51:01 UTC] PHP Fatal error: Call to a member function get_wp_user_avatar_src() on a non-object in /home4/theunkno/public_html/wp-content/plugins/wp-user-avatar/includes/wpua-functions.php on line 21
    [17-Apr-2014 22:51:14 UTC] PHP Fatal error: Call to a member function get_wp_user_avatar_src() on a non-object in /home4/theunkno/public_html/wp-content/plugins/wp-user-avatar/includes/wpua-functions.php on line 21
    [17-Apr-2014 23:36:10 UTC] PHP Fatal error: Call to a member function get_wp_user_avatar_src() on a non-object in /home4/theunkno/public_html/wp-content/plugins/wp-user-avatar/includes/wpua-functions.php on line 21
    [17-Apr-2014 23:43:38 UTC] PHP Fatal error: Call to a member function get_wp_user_avatar_src() on a non-object in /home4/theunkno/public_html/wp-content/plugins/wp-user-avatar/includes/wpua-functions.php on line 21
    [17-Apr-2014 23:46:05 UTC] PHP Fatal error: Call to a member function get_wp_user_avatar_src() on a non-object in /home4/theunkno/public_html/wp-content/plugins/wp-user-avatar/includes/wpua-functions.php on line 21
    [17-Apr-2014 23:46:34 UTC] PHP Fatal error: Call to a member function get_wp_user_avatar_src() on a non-object in /home4/theunkno/public_html/wp-content/plugins/wp-user-avatar/includes/wpua-functions.php on line 21
    [18-Apr-2014 00:05:23 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘sp_birthdays_upgrade_check’ not found or invalid function name in /home4/theunkno/public_html/wp-includes/plugin.php on line 470
    [18-Apr-2014 01:40:59 UTC] PHP Fatal error: Call to a member function get_wp_user_avatar_src() on a non-object in /home4/theunkno/public_html/wp-content/plugins/wp-user-avatar/includes/wpua-functions.php on line 21
    [18-Apr-2014 01:41:14 UTC] PHP Fatal error: Call to a member function get_wp_user_avatar_src() on a non-object in /home4/theunkno/public_html/wp-content/plugins/wp-user-avatar/includes/wpua-functions.php on line 21

    Okay, I think I found the problem. I’m initializing one of my classes too late. I’ll issue a fix when I’m done with a few other changes. If you want to change it yourself for now, change the last line of wp-user-avatar/includes/class-wp-user-avatar-functions.php from:

    add_action('init', 'wpua_functions_init');

    to:

    add_action('plugins_loaded', 'wpua_functions_init');

    Thank you, I will test it out later today.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘1.9.3 Update Breaks WordPress site’ is closed to new replies.