- Issue created by @suryabhi
- 🇫🇷France mably
Have you given a try to the 3.0.x dev version?
Looks like a similar issue has been opened and fixed last week.
- Merge request !50Issue #3496022: ArgumentCountError: Too few arguments to function → (Closed) created by suryabhi
- 🇫🇷France mably
We won't change the
ProviderPluginBase
constructor without some valid justifications. - 🇮🇳India suryabhi
see https://www.drupal.org/project/video_embed_brightcove/issues/3496040 🐛 ArgumentCountError: Too few arguments to function Active `Brightcove.php` we are using config factory. Brightcove class inherits the ProviderPluginBase class
- 🇫🇷France mably
Hello @suryabhi, you can just keep the
$configFactory
property in Brightcove source as it is now.No need to change the ProviderPluginBase constructor.
You just need to add the new
file_system
parameter when calling the parent constructor. - 🇫🇷France mably
Hello @suryabhi, I will rollback that constructor change in 3.0.x to avoid this type of problem.
- 🇫🇷France mably
@suryabhi the FileSystem parameter has been made optional.
If missing, the thumbnail download feature will be disable.