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

Comments

Sergiu Stici created an issue. See original summary.

sergiu stici’s picture

Status: Active » Needs review
StatusFileSize
new1.08 KB

Here is the patch, please review.

johnny5th’s picture

StatusFileSize
new1.36 KB
new471 bytes

Just needed a use statement.

akashkumar07’s picture

Status: Needs review » Reviewed & tested by the community

The #3 changes look good to me. Moving to RTBC.

Thanks!

  • eojthebrave committed 09cbfe2e on 4.x
    Issue #3071809 by johnny5th, Sergiu Stici, eojthebrave: PHP Fatal error...

  • eojthebrave committed f211f96b on 8.x-1.x
    Issue #3071809 by johnny5th, Sergiu Stici, eojthebrave: PHP Fatal error...
eojthebrave’s picture

Version: 8.x-1.x-dev » 4.x-dev
Status: Reviewed & tested by the community » Fixed

Fixed in both the 4.x and 8.x-1.x branches. Thank you!

Status: Fixed » Closed (fixed)

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