This is an error that appears when sending the email address to the list of simplenews. I corrected the error by editing the file SubmissionSimplenewsWebformHandler.php on line 337 with
\Drupal::service('simplenews.subscription_manager')->subscribe($email_value, $newsletter_id, FALSE, 'website');

Comments

rubenjara created an issue. See original summary.

rboedeker’s picture

The line number is prop. 377 (not 337)

rubenjara’s picture

Sorry, it's correct. line 377

vuil’s picture

Status: Active » Fixed

Already fixed!

vuil’s picture

Version: 8.x-1.0 » 8.x-1.x-dev

Status: Fixed » Closed (fixed)

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