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

Liakoni created an issue. See original summary.

Sam152’s picture

I 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.

Sam152’s picture

Upon reflection, perhaps the search indexing was causing this to blow up on cron.

Were you able to fix this by updating the image style?

Liakoni’s picture

I 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.

Sam152’s picture

Okay, we can probably close this based on having a follow-up for what I suspect the issue was.

Sam152’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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