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.
I am trying to run cron but i get WSOD and this error:
Fatal error: Call to a member function buildUrl() on a non-object in /.../modules/video_embed_field/src/ProviderPluginBase.php on line 102
Comments
Comment #2
Sam152 CreditAttribution: Sam152 as a volunteer and at PreviousNext commentedI don't know why this would be happening on cron, but that line refers to getting the URI of an image style (which was selected from the UI). Is it possible you configured the field formatter, which was exported, and then didn't export the image style along with it?
In any case, the image style config should probably have been added as a dependency to the field formatter. I've opened #2676938: Ensure VideoEmbedThumbnailFormatter has the correct dependencies on the selected image style when being exported. for this.
Comment #3
Sam152 CreditAttribution: Sam152 as a volunteer and at PreviousNext commentedUpon reflection, perhaps the search indexing was causing this to blow up on cron.
Were you able to fix this by updating the image style?
Comment #4
Liakoni CreditAttribution: Liakoni commentedI didn't have any luck fixing the error, so i just used a backup from the site before the error happened. I don't have any problems now and the error hasn't appear.
I think the error happened after i disabled media_entity module.
Comment #5
Sam152 CreditAttribution: Sam152 as a volunteer and at PreviousNext commentedOkay, we can probably close this based on having a follow-up for what I suspect the issue was.
Comment #6
Sam152 CreditAttribution: Sam152 as a volunteer and at PreviousNext commented