Upon uploading a video at media/bulk-upload/all_media_types I get the following error message :

Error: Unsupported operand types in Drupal\cloudconvert_media_thumbnail\MediaThumbnailManager->queueThumbnailTask()

This is caused because getModeOptions can return TRUE (line 290) which does not play with with the + operand at 137

Comments

mycw1991 created an issue. See original summary.

jefuri’s picture

Status: Active » Needs review
StatusFileSize
new1 KB

Okay, fixed it I think. By validating with the thumbnail validation method, AND checking for empty mode options, we can remove the boolean return in the mode options method.

mycw1991’s picture

Status: Needs review » Reviewed & tested by the community

Change looks good. Tested it and the error dissapeared.

  • jefuri committed 214dc6a on 8.x-1.x
    git commit -m 'Issue #3014266 by jefuri: Unsupported Operand Type' --...
jefuri’s picture

Status: Reviewed & tested by the community » Fixed
jefuri’s picture

Status: Fixed » Closed (fixed)