Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Buddypress profile photo / cover image fails

@r-a-y

Keymaster

Thanks for the report.

Can you do three things?

1) Set WP_DEBUG to true in wp-config.php:
https://codex.wordpress.org/WP_DEBUG

2) Open up /bp-core/bp-core-attachments.php and look for the following lines:

	// Resize the image so that it fit with the cover image dimensions
	$cover_image  = $cover_image_class->fit( $args['file'], $dimensions );

Right after that line, add:

_doing_it_wrong( 'bp_attachments_cover_image_generate_file', print_r( $cover_image, true ), '2.4.0' );

3) Go to the “Change Cover Photo” page and try reuploading a photo.

Next, go to /wp-content/debug.log, copy the entire bp_attachments_cover_image_generate_file was called incorrectly debug message and paste it here.

Going to ping @imath as well.

Skip to toolbar