87%PHP Fatal error: Declaration of Drupal\recurly\Plugin\views\field\AccountCode::create(Symfony\Component\DependencyInjection\ContainerInterface $container) must be compatible with Drupal\views\Plugin\views\PluginBase::create(Symfony\Component\DependencyInjection\ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) in /var/www/drupal-8/modules/contrib/recurly/src/Plugin/views/field/AccountCode.php on line 17
Fatal error: Declaration of Drupal\recurly\Plugin\views\field\AccountCode::create(Symfony\Component\DependencyInjection\ContainerInterface $container) must be compatible with Drupal\views\Plugin\views\PluginBase::create(Symfony\Component\DependencyInjection\ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) in /var/www/drupal-8/modules/contrib/recurly/src/Plugin/views/field/AccountCode.php on line 17
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | interdiff.txt | 471 bytes | johnny5th |
| #3 | fatal_error-3071809-3.patch | 1.36 KB | johnny5th |
| #2 | fatal_error-3071809-2.patch | 1.08 KB | sergiu stici |
Comments
Comment #2
sergiu stici commentedHere is the patch, please review.
Comment #3
johnny5th commentedJust needed a use statement.
Comment #4
akashkumar07 commentedThe #3 changes look good to me. Moving to RTBC.
Thanks!
Comment #7
eojthebraveFixed in both the 4.x and 8.x-1.x branches. Thank you!