After updating the Brightcove Connect module to version 7.x-6.5, I am getting a fatal error.

I note this message in my log:

Fatal error: Access to undeclared static property: Brightcove\API\Client::$consumer in /my-site/sites/all/modules/brightcove/brightcove.module on line 113

Comments

jaydee1818 created an issue. See original summary.

tamasd’s picture

Priority: Critical » Normal
Status: Active » Postponed (maintainer needs more info)

What is your wrapper version? Make sure that you update to the latest wrapper release.

Anonymous’s picture

I updated to the 1.0 PHP-API-Wrapper, as well as trying 0.8. We're getting 500 errors when trying to add a client and the module won't recognize the API client after.

tamasd’s picture

You can see here that this property is declared: https://github.com/brightcove/PHP-API-Wrapper/blob/1.0/lib/Brightcove/AP...

Have you ran composer install, so that the autoload file is generated?

jaydee1818’s picture

I haven't tried updating the version of the PHP-API-Wrapper as there was no mention of doing so in the Release Notes, which at best could be described as minimalist.

jan.mashat’s picture

Category: Bug report » Support request
Status: Postponed (maintainer needs more info) » Fixed

I've added the 7.x-6.5 wrapper requirement under Dependencies on the project page, and the installation/upgrade guides can be found here: https://www.drupal.org/docs/7/modules/brightcove/brightcove-7x-6x

Status: Fixed » Closed (fixed)

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