Drupal 7 PHP 8.4 Exception

Foutmelding: count(): Argument #1 ($value) must be of type Countable|array, null given
Bestand: /home/httpd/http/virtualhosts/_drupal_7_standalone/research.flw.ugent.be/sites/all/modules/ugent_tools/includes/ugent_tools_ds.inc (regel 408)

Stack trace:

#0 /home/httpd/http/virtualhosts/_drupal_7_standalone/research.flw.ugent.be/sites/all/modules/ds/ds.module(445): ugent_tools_ds_field_ugent_staff_biblio()
#1 /home/httpd/http/virtualhosts/_drupal_7_standalone/research.flw.ugent.be/sites/all/modules/ds/ds.module(536): ds_get_field_value()
#2 /home/httpd/http/virtualhosts/_drupal_7_standalone/research.flw.ugent.be/includes/module.inc(1172): ds_field_attach_view_alter()
#3 /home/httpd/http/virtualhosts/_drupal_7_standalone/research.flw.ugent.be/modules/field/field.attach.inc(1244): drupal_alter()
#4 /home/httpd/http/virtualhosts/_drupal_7_standalone/research.flw.ugent.be/modules/user/user.module(2743): field_attach_view()
#5 /home/httpd/http/virtualhosts/_drupal_7_standalone/research.flw.ugent.be/modules/user/user.module(2698): user_build_content()
#6 /home/httpd/http/virtualhosts/_drupal_7_standalone/research.flw.ugent.be/modules/user/user.module(2659): user_view()
#7 /home/httpd/http/virtualhosts/_drupal_7_standalone/research.flw.ugent.be/includes/menu.inc(527): user_view_page()
#8 /home/httpd/http/virtualhosts/_drupal_7_standalone/research.flw.ugent.be/index.php(25): menu_execute_active_handler()
#9 {main}