Loading of wp_get_image_editor outside media library broken in latest version 5.6.6

BuddyPress and other plugins load wp_get_image_editor but its broken in the latest version. Rolled back to previous version 5.6.3 and it loads.

[23-Jul-2020 23:08:23 UTC] WP_Error Object
(
    [errors] => Array
        (
            [image_no_editor] => Array
                (
                    [0] => No editor could be selected.
                )

        )

    [error_data] => Array
        (
        )

)