Title: Problems with php 7
Last modified: April 10, 2017

---

# Problems with php 7

 *  Resolved [Willem 2](https://wordpress.org/support/users/willem-2/)
 * (@willem-2)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/problems-with-php-7-3/)
 * I get the next errors when using php 7:
 * 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 ————————————————————————————————————–

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

 *  Plugin Author [Shahjada](https://wordpress.org/support/users/codename065/)
 * (@codename065)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/problems-with-php-7-3/#post-9034149)
 * We shall adjust it with the next update of the plugin.
 *  [andrew55](https://wordpress.org/support/users/andrew55/)
 * (@andrew55)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/problems-with-php-7-3/#post-9229324)
 * I getting these error when checking with PHP Compatibility Checker:
 * FILE: /wp-content/plugins/download-manager/libs/class.Pagination.php
    ————————–
   FOUND 2 ERRORS AFFECTING 1 LINE ————————- 136 | ERROR | Function eregi() is deprecated
   since PHP 5.3 and removed since PHP 7.0; use preg_match instead 136 | ERROR |
   Extension ‘ereg’ is deprecated since PHP 5.3 and removed since PHP 7.0 – use 
   pcre instead. ————————- FILE: /wp-content/plugins/download-manager/admin/libs/
   dir-browser/resources/DirectoryLister.php ————————- FOUND 2 ERRORS AFFECTING 
   2 LINES ————————- 37 | ERROR | Function name, class name, namespace name or constant
   name can not be reserved keyword ‘__dir__’ (since PHP version 5.3) 38 | ERROR
   | Function name, class name, namespace name or constant name can not be reserved
   keyword ‘__dir__’ (since PHP version 5.3) ————————-
 *  Plugin Author [Shahjada](https://wordpress.org/support/users/codename065/)
 * (@codename065)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/problems-with-php-7-3/#post-9238779)
 * It looks like, you are not using the latest version of WordPress Download Manager.
   Please update your copy.

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

The topic ‘Problems with 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/)

 * 3 replies
 * 3 participants
 * Last reply from: [Shahjada](https://wordpress.org/support/users/codename065/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/problems-with-php-7-3/#post-9238779)
 * Status: resolved