Ecodev / newsletter

TYPO3 extension to send newsletter
https://extensions.typo3.org/extension/newsletter/
25 stars 26 forks source link

[BUG] Error for RecipientList when using Scheduler #150

Closed carodb closed 5 years ago

carodb commented 6 years ago

Hey there,

I'm getting the following error when trying to send the newsletter with Scheduler:

Uncaught TYPO3 Exception: Argument 1 passed to Ecodev\Newsletter\Domain\Model\Newsletter::setRecipientList() must be an instance of Ecodev\Newsletter\Domain\Model\RecipientList, null given, called in /typo3conf/ext/newsletter/Classes/Domain/Model/Newsletter.php on line 669 | TypeError thrown in file /typo3conf/ext/newsletter/Classes/Domain/Model/Newsletter.php in line 632.

I'm using TYPO3 v8 and newsletter 3.2.0. I know you haven't tested for v8 but maybe any suggestions/ideas? Help would be greatly appreciated! I'll try debugging as well.

Cheers!

carodb commented 6 years ago

Possible duplicate of: #61 ?

PowerKiKi commented 6 years ago

Do you have any RecipientList with a deleted or hidden flag to true ?

carodb commented 6 years ago

I did but I deleted the entries with the mentioned SQL in #61. Weird thing is that I only get the error in my live system and so far am not able to reproduce in my test environment. I have different PHP versions (7.1 in live, 7.0 in test). Didn't get the chance to check if that might be the problem but will try to test that as soon as I have the time.

carodb commented 6 years ago

Any chance on testing this @PowerKiKi ?

PowerKiKi commented 6 years ago

I unfortunately won't be able to invest much time into that in the next few weeks. Any debugging you could do would yourself and report here would help a lot.

PowerKiKi commented 5 years ago

Closing for lack of feedback. Feel free to re-open with more information