- Issue created by @rigoucr
- Merge request !323544447: Error: Call to a member function getVersion() on false in _brightcove_get_player_field() → (Open) created by rigoucr
There cases in that the varible player
over the function _brightcove_get_player_field
can have value of False
which ends up triggering the following error:
Error: Call to a member function getVersion() on false in _brightcove_get_player_field() (line 278 of /app/web/modules/contrib/brightcove/brightcove.module)./code>
This is because over that line (278 in the .module) we are only asking if the varibles is not null but since the values is false is not null and tries to use the function getVersion() creating a WSOD
Active
3.3
Code