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.
When attempting to add or edit text formats (/admin/config/content/formats/add, admin/config/content/formats/filtered_html)
the following error occurs:
Recoverable fatal error: Argument 1 passed to _brightcove_create_classes() must be an instance of Entity, boolean given, called in /XXXXXXX/sites/all/modules/brightcove/brightcove.module on line 2602 and defined in _brightcove_create_classes() (line 2361 of /XXXXXXX/sites/all/modules/brightcove/brightcove.module).
Comment | File | Size | Author |
---|---|---|---|
#6 | recoverable_fatal_error-2797953-6.patch | 474 bytes | ben.hamelin |
Comments
Comment #2
tamasd CreditAttribution: tamasd at Pronovix commentedDo you have any clients configured?
Comment #3
ben.hamelin CreditAttribution: ben.hamelin commentedAPI clients?
Comment #4
tamasd CreditAttribution: tamasd at Pronovix commentedYes, under admin/config/media/brightcove/client.
Comment #5
jan.mashat CreditAttribution: jan.mashat at Pronovix for BrightCove commentedComment #6
ben.hamelin CreditAttribution: ben.hamelin commentedComment #7
IRuslan CreditAttribution: IRuslan as a volunteer and at DrupalJedi commentedI'm able to reproduce this problem. And yes it's related to non-configured API client entity.
But it does not mean we need to get a fatal error. The patch from #6 helps to me.
Comment #9
tamasd CreditAttribution: tamasd at Pronovix commented