Thanks Vinny. It’s not the extended time interval that stops it from crashing. When UTF-8 is turned on and there’s a single quote in the subject line, I get the topic being put into the forum but also I get:
‘The server encountered an internal error or misconfiguration and was unable to complete your request for .’
and I get:
Fatal error: Maximum execution time of 360 seconds exceeded in /wp-content/plugins/bbpress-notify-nospam/bbpress-notify-nospam.php on line 918
(this would time out at 120 seconds before the timeout interval was increased)
And the email log only gets 1 notification (rather than the expected 50 or so) that is sent to no_reply@<domain name> with the content of the topic submitted on the forum.
With UTF-8 turned off and a single quote in the subject line (same forum), I get the topic being put into the forum, the forum ‘submit’ completing in reasonable time and the 50 or so expected notifications being written to the email log. I still need to track down where they went to but there is no system error or crash and the notifications are at least being generated as reflected in the email log.
I will have my host reduce the extended time interval back to what it was since the time interval was not the problem, it just was a result of the code executing endlessly when UTF-8 encoding was turned on. However, should I have real timeout problems in future, I’ll keep in mind the alternative to wp-cron. It’s just not the solution for the problem I’m having at present. It concerns me that I can’t roll back to a version where this doesn’t happen but hopefully I can continue to avoid the problem by keeping UTF-8 encoding switched off.
Our mailing is through our host and we have logs to track it down. I’ll let you know when I find what happened to the notifications! Thanks.
Kim