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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

cman9090 created an issue. See original summary.

cman9090’s picture

cman9090’s picture

FileSize
873 bytes
cman9090’s picture

Issue summary: View changes
deronimo’s picture

Is this patch included in Brightcove Video Connect 8.x-1.3?

yoftahe.addweb’s picture

Status: Active » Needs review
FileSize
736 bytes

@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!..

  • nilesh.addweb authored c7a49bf on 8.x-1.x
    Issue #2914790 by cman9090, nilesh.addweb: Error: Call to a member...
yce’s picture

Status: Needs review » Fixed

Hi,

Thanks for the patch, pushed to dev.

  • nilesh.addweb authored c7a49bf on 8.x-2.x
    Issue #2914790 by cman9090, nilesh.addweb: Error: Call to a member...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.