Hi Haleeben,
I just ran all the tests I could think of using PHP 7.0.5 and everything worked fine. I created new topics and new replies, from the front-end and back-end, and triggered just notifications. No errors, not even a warning.
Are you sure you’re using the No-Spam version of bbPress Notify? There’s another, older version from a different author.
Try forcing error logging into a temporary file. Depending on your host, it’ll be hard to find the correct log file.
In your extra php.ini file, add this.
ini_set("log_errors", 1);
ini_set("error_log", "/tmp/php-error.log");
Alternatively, if you don’t have access to php.ini, you can add it to your .htaccess file:
php_value log_errors 1
php_value error_log /tmp/php-error.log
Then tail -f your /tmp/php-error.log file while posting a new topic to see what comes up.
Let me know what you find.
Cheers,
Vinny
Hi Vinny
Thanks for the fast response.
Got access to the error log and found the Fatal Error
Uncaught Error: Call to undefined function iconv_get_encoding() @ bbpress-notify-nospam/bbpress-notify-nospam.php on line 665
I found that the php-iconv mod was not added for php7
Have installed it and all is well
Thanks
Excellent, thanks for letting me know. I’ll make sure encoding isn’t available unless iconv_get_encoding() function exists. And add a warning.
Cheers!
Vinny