• Resolved Willem 2

    (@willem-2)


    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

    (@codename065)

    We shall adjust it with the next update of the plugin.

    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

    (@codename065)

    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.