When submitting a news letter and sending it immediately, I get this error:

warning: Invalid argument supplied for foreach() in G:\Serverroot\wwwroot\ikbengamer.nl\sites\all\modules\simplenews\simplenews.module on line 351.

CommentFileSizeAuthor
#4 245528.patch1.46 KBsutharsan

Comments

sutharsan’s picture

Status: Active » Postponed (maintainer needs more info)

Please thy again using the latest 6.x-1.x-dev version. Line 351 in the latest version does not relate (not even close) to any foreach function.

Jorrit’s picture

It is line 354 in version 1.76.2.5.

Jorrit’s picture

Perhaps it is useful to mention that I have disabled translations for content at /admin/content/node-type/simplenews.

sutharsan’s picture

StatusFileSize
new1.46 KB

Yes, that helps. Thy this patch.

sutharsan’s picture

Status: Postponed (maintainer needs more info) » Fixed

Thanks for reporting. Patch committed.

Jorrit’s picture

I haven't tried the patch, but I'm sure it works OK

Anonymous’s picture

Status: Fixed » Closed (fixed)

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