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

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ben.hamelin created an issue. See original summary.

tamasd’s picture

Assigned: Unassigned » tamasd

Do you have any clients configured?

ben.hamelin’s picture

API clients?

tamasd’s picture

Yes, under admin/config/media/brightcove/client.

jan.mashat’s picture

Status: Active » Postponed (maintainer needs more info)
ben.hamelin’s picture

Status: Postponed (maintainer needs more info) » Needs review
FileSize
474 bytes
IRuslan’s picture

Status: Needs review » Reviewed & tested by the community

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

tamasd’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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