Title: Blank Screen on PHP7
Last modified: September 1, 2016

---

# Blank Screen on PHP7

 *  Resolved [haleeben](https://wordpress.org/support/users/haleeben/)
 * (@haleeben)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/blank-screen-on-php7/)
 * Hi
 * I get a white screen when a new topic is submitted after I switched to PHP7.
 * The topic does get created but the user can not see as it shows a white screen,
   I have enabled debugging and checked the error logs and can’t see anything.
 * If I disable this plugin the page loads correctly after the new topic is created,
   or if I switch back to PHP5.6 everything works correctly.
 * [https://wordpress.org/plugins/bbpress-notify-nospam/](https://wordpress.org/plugins/bbpress-notify-nospam/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [useStrict](https://wordpress.org/support/users/usestrict/)
 * (@usestrict)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/blank-screen-on-php7/#post-7710407)
 * 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
 *  Thread Starter [haleeben](https://wordpress.org/support/users/haleeben/)
 * (@haleeben)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/blank-screen-on-php7/#post-7710431)
 * 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
 *  Plugin Author [useStrict](https://wordpress.org/support/users/usestrict/)
 * (@usestrict)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/blank-screen-on-php7/#post-7710457)
 * 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

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Blank Screen on PHP7’ is closed to new replies.

 * ![](https://ps.w.org/bbpress-notify-nospam/assets/icon-256x256.png?rev=3449133)
 * [bbPress Notify (No-Spam)](https://wordpress.org/plugins/bbpress-notify-nospam/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/bbpress-notify-nospam/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/bbpress-notify-nospam/)
 * [Active Topics](https://wordpress.org/support/plugin/bbpress-notify-nospam/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bbpress-notify-nospam/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bbpress-notify-nospam/reviews/)

## Tags

 * [PHP7](https://wordpress.org/support/topic-tag/php7/)
 * [white screen](https://wordpress.org/support/topic-tag/white-screen/)

 * 3 replies
 * 2 participants
 * Last reply from: [useStrict](https://wordpress.org/support/users/usestrict/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/blank-screen-on-php7/#post-7710457)
 * Status: resolved