Skip to:
Content
Pages
Categories
Search
Top
Bottom

HTTP error when uploading avatars

  • Users can’t upload avatars because they get an HTTP error.

    Looking at the logs I see this.

    [Tue Aug 20 14:59:01.295163 2019] [php7:error] [pid 10935] [client 209.152.96.34:49547] PHP Fatal error:  Uncaught Error: Cannot use object of type WP_Error as array in /var/www/html/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php:923\nStack trace:\n#0 /var/www/html/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php(1032): bp_core_avatar_handle_upload(Array,
    'xprofile_avatar...')\n#1 /var/www/html/wp-includes/class-wp-hook.php(286): bp_avatar_ajax_upload('')\n#2 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)\n#3 /var/www/html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)\n#4 /var/www/html/wp-admin/admin-ajax.php(173): do_action('wp_ajax_bp_avat...')\n#5 {main}\n  thrown in /var/www/html/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php on line 923,
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar