1
Support / Error upon sending PM after Newsletter Pro upgrade
« on: July 29, 2021, 05:02:59 pm »
Hello,
After upgrading to latest on SMF 2.0.18, we get on each sent PM (they do still send):
Line 629 is within // Newsletter Pro blocks:
This may need to be moved to after the array is defined for $to and then walk it, remove those entries and then if $to is empty, return false?
Anyway, hope you can fix it asap as its scrolling logs on each sent PM.
After upgrading to latest on SMF 2.0.18, we get on each sent PM (they do still send):
Code: [Select]
https://BOARD/smf/index.php?action=pm;sa=send2
2: substr() expects parameter 1 to be string, array given
File: /home/USER/public_html/smf/Sources/Subs-Post.php
Line: 629
Line 629 is within // Newsletter Pro blocks:
Code: [Select]
if (substr($to, -4) == '.bad' || substr($to, -9) == '.complain')
return false;
This may need to be moved to after the array is defined for $to and then walk it, remove those entries and then if $to is empty, return false?
Anyway, hope you can fix it asap as its scrolling logs on each sent PM.