Re: Requesting Help on Post/reply by email
Reply #3 –
Strange, it should not be running that area of the code when its called from the command line (CLI) ...
You can leave the shebang line as it was, they must have a smylink so either works.
On a positive note we know that the email is being sent to the script and the script is running since you get an error message, thats progress.
We can try a test to see if it helps. In your bootstrap.php file, on line 437 you should see
if (isset($_SERVER['REMOTE_ADDR']) && session_id() === '')
replace that line with this one and try again.
if (!defined('STDIN') && isset($_SERVER['REMOTE_ADDR']) && session_id() === '')