• Resolved andrew55

    (@andrew55)


    I would really like to upgrade to php 7, but I’m 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)

Viewing 1 replies (of 1 total)
  • Thread Starter andrew55

    (@andrew55)

    Never mind. I uninstalled and reinstalled. No errors now.

    Thanks for such a great plugin!

Viewing 1 replies (of 1 total)
  • The topic ‘upgrading php 7 errors’ is closed to new replies.