@jesusinica
3 years, 6 months ago
For external links you need to disable oembed discovery:
add_filter('bp_embed_oembed_discover', '__return_false');
For internal links, you need to prevent oembed from bypassing oembed discovery:
add_filter('oembed_request_post_id', '__return_false');
3 years, 7 months ago
The error seems to be back, uploading any photo under 452px causes the issue.
The solution suggested by @dragoeco seems to work:
define( ‘BP_AVATAR_ORIGINAL_MAX_WIDTH’, 150 );
My installation uses the docker image: wordpress:php7.4-fpm-alpine
wordpress:php7.4-fpm-alpine
My environment:
PHP: 7.4.13 WordPress: 5.7.1 BuddyPress: 7.3.0 GD: bundled (2.1.0 compatible) Imagemagick:3.4.4
Plugins enabled:
BuddyPress: 7.3.0
Theme:
Twenty Twenty-One: 1.2
4 years, 1 month ago
2020 is still interested in finding out this, would be great if someone could bring some light to the issue.