A form of this bug has resurfaced in yesterday’s 5.8.1 release.
The new acf_is_block_editor function in api-helper.php should presumably also check if get_current_screen exists at the start (line 5051)
I fixed it with the following code:
function acf_is_block_editor() {
if( function_exists('get_current_screen') && method_exists(get_current_screen(), 'is_block_editor') ) {
return get_current_screen()->is_block_editor();
}
return false;
}