Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
When synchronizing information it gives an error of getMarkedFieldExpiry
Steps to reproduce
Clear Queue
Run Sync-All
After Processing "Brightcove Video queue worker": X item(s) remaining out of X.
Shows
TypeError: Return value of Drupal\brightcove\Services\Settings::getMarkedFi
eldExpiry() must be of the type int, null returned in Drupal\brightcove\Ser
vices\Settings->getMarkedFieldExpiry() (line 23 of /code/web/modules/contri
b/brightcove/src/Services/Settings.php).
Comments
Comment #2
yce CreditAttribution: yce at Pronovix for BrightCove commentedHi,
Please make sure that you have successfully ran the module updates, otherwise the value would default to null.
Comment #3
fadonascimento CreditAttribution: fadonascimento at CI&T for CI&T commentedHi @yce, We check that the hook_update is brightcove_update_8112, if we still getting this error, we should run this hook_update again?
Note: We facing this error when I run the cron.
Drupal: 10.1
Module: 3.2