当 运行 php 7.4 时,ACF 中出现此问题的原因是什么?

Whats causing this problem in ACF when running php 7.4?

我最近将我的网站更新到 php 7.4。这是 运行 使用 ACF Pro v 5.5.5 自定义构建的 wordpress 主题。但是,更新后我收到此错误:

Notice: Trying to access array offset on value of type bool in wp-content/plugins/advanced-custom-fields-pro/api/api-template.php on line 503

它引用的片段如下所示:

    acf_add_loop(array(
        'selector'  => $selector,
        'name'      => $field['name'], // line 503
        'value'     => $value,
        'field'     => $field,
        'i'         => -1,
        'post_id'   => $post_id,
        'key'       => $key
    ));

我已经在谷歌上搜索了几个小时,但没有真正找到有效的解决方案。现在我什至不知道如何走得更远。有什么建议么?有人遇到过这个问题吗?因为它指的是 ACF 本身,我相信它可能是 7.4 中不兼容的一些 php 东西,但我真的不知道。

通过更新到最新的 ACF (5.9.5) 解决。