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.
Running the cronjob fails and gives error in log:
The website encountered an unexpected error. Please try again later.
Error: Call to a member function delete() on null in Drupal\brightcove\Plugin\QueueWorker\BrightcoveVideoDeleteQueueWorker->processItem() (line 71 of modules/contrib/brightcove/src/Plugin/QueueWorker/BrightcoveVideoDeleteQueueWorker.php).
I'm assuming I had somehow desynced drupal from brightcove, deleted a video in Drupal or Brightcove and it was attempting to delete a video that was not there. Attached is the fix i've implemented.
Comment | File | Size | Author |
---|---|---|---|
#6 | BrightcoveVideoDeleteQueueWorker_2914790_6.patch | 736 bytes | yoftahe.addweb |
#3 | error_call_to_a_member-2914790-2.patch | 873 bytes | cman9090 |
Comments
Comment #2
cman9090 CreditAttribution: cman9090 commentedComment #3
cman9090 CreditAttribution: cman9090 commentedComment #4
cman9090 CreditAttribution: cman9090 commentedComment #5
deronimo CreditAttribution: deronimo commentedIs this patch included in Brightcove Video Connect 8.x-1.3?
Comment #6
yoftahe.addweb CreditAttribution: yoftahe.addweb at AddWeb Solution Pvt. Ltd. commented@deronimo, Please find my attached patch that resolves this error for 8.x-1.3. Kindly share your view if you face any further challanges.
Thanks!..
Comment #8
yce CreditAttribution: yce at Pronovix for BrightCove commentedHi,
Thanks for the patch, pushed to dev.