Title: Errors on PHP7 platform
Last modified: August 31, 2016

---

# Errors on PHP7 platform

 *  [Ambyomoron](https://wordpress.org/support/users/josiah-s-carberry/)
 * (@josiah-s-carberry)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/errors-on-php7-platform/)
 * This plugin does not work correctly on a PHP7 platform. For example:
 * PHP message: PHP Warning: preg_replace(): The /e modifier is no longer supported,
   use preg_replace_callback instead in /home/clients/blahblah/web/blog/wp-content/
   plugins/email-before-download/download.php on line 253
 * I note, too, that it depends on another plugin that is no longer supported. I
   have used this plugin happily for a few years, but it seems to be entering a 
   cul de sac, unless some major updates are made, and soon. Any short term fixes?
 * [https://wordpress.org/plugins/email-before-download/](https://wordpress.org/plugins/email-before-download/)

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

 *  [dtynan](https://wordpress.org/support/users/dtynan/)
 * (@dtynan)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/errors-on-php7-platform/#post-7182217)
 * The Email Before Download plugin has not yet been updated for compatibility with
   PHP 7. The latest update from a few days ago removed a minor css issue that affected
   the download button on some themes, but did not update for PHP 7. I do not know
   when M&S Consulting will release an updated version that fixes things broken 
   by PHP 7 ( [https://wiki.php.net/rfc/remove_deprecated_functionality_in_php7](https://wiki.php.net/rfc/remove_deprecated_functionality_in_php7)
   and [https://github.com/php/php-src/blob/php-7.0.0RC2/UPGRADING](https://github.com/php/php-src/blob/php-7.0.0RC2/UPGRADING)).
 * Email Before Download requires Download Monitor and Contact Form 7 plugins. It
   can use the latest version of both of those plugins (I do so on several sites).
   The notice on the Description page that says you have to use the old, unsupported
   Download Monitor is not accurate anymore.
 *  [Advansys](https://wordpress.org/support/users/advansys/)
 * (@advansys)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/errors-on-php7-platform/#post-7182232)
 * > Email Before Download requires Download Monitor and Contact Form 7 plugins.
   > It can use the latest version of both of those plugins (I do so on several 
   > sites).
 * That’s really interesting dtynan, thanks for this information.

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

The topic ‘Errors on PHP7 platform’ is closed to new replies.

 * ![](https://ps.w.org/email-before-download/assets/icon-256x256.jpg?rev=1813522)
 * [Email Before Download](https://wordpress.org/plugins/email-before-download/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/email-before-download/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/email-before-download/)
 * [Active Topics](https://wordpress.org/support/plugin/email-before-download/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/email-before-download/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/email-before-download/reviews/)

## Tags

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

 * 2 replies
 * 3 participants
 * Last reply from: [Advansys](https://wordpress.org/support/users/advansys/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/errors-on-php7-platform/#post-7182232)
 * Status: not resolved