You should report this as a bug here https://support.advancedcustomfields.com/new-ticket/
I suspect that changing line 142 from
$dir = opendir( $path );
to
if (($dir = opendir($dir)) === false) return false;
would fix the issue, but that’s just a guess