Skip to:
Content
Pages
Categories
Search
Top
Bottom

Cannot use object of type WP_Error as array p-core-attachments.php


  • oneskysandy
    Participant

    @oneskysandy

    Using BuddyPress 3.2 with Kleo and rtMedia, and I get this exception when I try to upload an image:

    [11-Oct-2018 06:54:25 UTC] 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-attachments.php:1204
    Stack trace:
    #0 /var/www/html/wp-content/plugins/buddypress/bp-core/bp-core-attachments.php(1380): bp_attachments_cover_image_generate_file(Array, Object(BP_Attachment_Cover_Image))
    #1 /var/www/html/wp-includes/class-wp-hook.php(286): bp_attachments_cover_image_ajax_upload(”)
    #2 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)
    #3 /var/www/html/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #4 /var/www/html/wp-admin/admin-ajax.php(99): do_action(‘wp_ajax_bp_cove…’)
    #5 {main}
    thrown in /var/www/html/wp-content/plugins/buddypress/bp-core/bp-core-attachments.php on line 1204

Viewing 1 replies (of 1 total)

  • r-a-y
    Keymaster

    @r-a-y

    If possible, can you provide the image you were attempting to upload so we can try and duplicate the problem?

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar