Title: PHP7 Issue
Last modified: September 21, 2017

---

# PHP7 Issue

 *  [daincredibleh0lg](https://wordpress.org/support/users/daincredibleh0lg/)
 * (@daincredibleh0lg)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/php7-issue-3/)
 * Good morning.
    It looks like the plugin is currently not working with PHP 7. 
   It simply produces a white screen when enabled (admin access still works). I 
   did some digging and it looks like the new error handling, introduced in PHP 
   7, is the culprit. It collides with the Error class from this plugin. Any chance
   that this can be fixed?

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

 *  [jakramer](https://wordpress.org/support/users/jakramer/)
 * (@jakramer)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/php7-issue-3/#post-9585720)
 * This sounds pretty shady, but I searched all files for Error and found /lava/
   _classes/h2o/errors.php tries to define ParseError. I renamed the class ppwParseError,
   assuming I’d search for instances of ParseError and replace them with the new
   class name, but I couldn’t find anywhere the class was actually used.
 * This solved my problem in test. I can’t think of any issues this might introduce(
   since the class doesn’t seem to be used), but I’ll test some more before moving
   it to production, just the same.
 *  [5tuart](https://wordpress.org/support/users/5tuart/)
 * (@5tuart)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/php7-issue-3/#post-9674830)
 * [@jakramer](https://wordpress.org/support/users/jakramer/) I’m using the free
   version of this and thanks to your ‘detective work’ 🙂 renaming within the php
   worked for me too! Thank You!

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

The topic ‘PHP7 Issue’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/password-protect-wordpress.svg)
 * [Password Protect Wordpress](https://wordpress.org/plugins/password-protect-wordpress/)
 * [Support Threads](https://wordpress.org/support/plugin/password-protect-wordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/password-protect-wordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/password-protect-wordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/password-protect-wordpress/reviews/)

## Tags

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

 * 2 replies
 * 3 participants
 * Last reply from: [5tuart](https://wordpress.org/support/users/5tuart/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/php7-issue-3/#post-9674830)
 * Status: not resolved