Title: Error on PHP 7
Last modified: November 11, 2016

---

# Error on PHP 7

 *  [francescobagnoli](https://wordpress.org/support/users/francescobagnoli/)
 * (@francescobagnoli)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/error-on-php-7-3/)
 * Is your plugins compatible with php 7, after a switch to php 7 i see this error:
   
   [http://prnt.sc/d60b0z](http://prnt.sc/d60b0z)
 * thanks!

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

 *  [tarun80](https://wordpress.org/support/users/tarun80/)
 * (@tarun80)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/error-on-php-7-3/#post-8511821)
 * I’ve noticed some warnings/errors too. I’m running a checker for PHP7 errors/
   warnings and have this output upon testing:
 *     ```
       FILE: /http/dev.example.com/wp-content/plugins/download-manager/libs/class.Crypt.php
       --------------------------------------------------------------------------------------------------------------------------------
       FOUND 0 ERRORS AND 10 WARNINGS AFFECTING 5 LINES
       --------------------------------------------------------------------------------------------------------------------------------
        19 | WARNING | Extension 'mcrypt' is deprecated since PHP 7.1 - use openssl (preferred) or pecl/mcrypt once available instead.
        19 | WARNING | Function mcrypt_get_iv_size() is deprecated since PHP 7.1; use OpenSSL instead
        21 | WARNING | Extension 'mcrypt' is deprecated since PHP 7.1 - use openssl (preferred) or pecl/mcrypt once available instead.
        21 | WARNING | Function mcrypt_create_iv() is deprecated since PHP 7.1; use OpenSSL instead
        23 | WARNING | Extension 'mcrypt' is deprecated since PHP 7.1 - use openssl (preferred) or pecl/mcrypt once available instead.
        23 | WARNING | Function mcrypt_encrypt() is deprecated since PHP 7.1; use OpenSSL instead
        43 | WARNING | Extension 'mcrypt' is deprecated since PHP 7.1 - use openssl (preferred) or pecl/mcrypt once available instead.
        43 | WARNING | Function mcrypt_get_iv_size() is deprecated since PHP 7.1; use OpenSSL instead
        53 | WARNING | Extension 'mcrypt' is deprecated since PHP 7.1 - use openssl (preferred) or pecl/mcrypt once available instead.
        53 | WARNING | Function mcrypt_decrypt() is deprecated since PHP 7.1; use OpenSSL instead
       --------------------------------------------------------------------------------------------------------------------------------
   
       FILE: /http/dev.example.com/wp-content/plugins/download-manager/libs/class.Pagination.php
       --------------------------------------------------------------------------------------------------------------
       FOUND 2 ERRORS AFFECTING 1 LINE
       --------------------------------------------------------------------------------------------------------------
        136 | ERROR | Extension 'ereg' is deprecated since PHP 5.3 and removed since PHP 7.0 - use pcre instead.
        136 | ERROR | Function eregi() is deprecated since PHP 5.3 and removed since PHP 7.0; use preg_match instead
       --------------------------------------------------------------------------------------------------------------
       ```
   
 *  Plugin Author [Shahjada](https://wordpress.org/support/users/codename065/)
 * (@codename065)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/error-on-php-7-3/#post-8526350)
 * [@francescobagnoli](https://wordpress.org/support/users/francescobagnoli/), Fixed
   for next update.
    [@tarun80](https://wordpress.org/support/users/tarun80/), we
   are adjusting those.
 *  [tarun80](https://wordpress.org/support/users/tarun80/)
 * (@tarun80)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/error-on-php-7-3/#post-8526642)
 * [@shaon](https://wordpress.org/support/users/shaon/), awesome, thanks for the
   reply!

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

The topic ‘Error on PHP 7’ is closed to new replies.

 * ![](https://ps.w.org/download-manager/assets/icon-256x256.png?rev=1561688)
 * [Download Manager](https://wordpress.org/plugins/download-manager/)
 * [Support Threads](https://wordpress.org/support/plugin/download-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/download-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/download-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/download-manager/reviews/)

## Tags

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

 * 3 replies
 * 3 participants
 * Last reply from: [tarun80](https://wordpress.org/support/users/tarun80/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/error-on-php-7-3/#post-8526642)
 * Status: not resolved