• Resolved Texiwill

    (@texiwill)


    Using the PHP Compatibility Checker, it has uncovered the following issues when moving to PHP 7. Could they be fixed?

    FILE: /usr/share/wordpress/wp-content/plugins/download-monitor/includes/admin/uaparser/lib/json/JSON.php
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
     1 | WARNING | No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them.
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    
    FILE: /usr/share/wordpress/wp-content/plugins/download-monitor/includes/class-dlm-download-handler.php
    -----------------------------------------------------------------------------------------------------------------------------------
    FOUND 2 ERRORS AFFECTING 2 LINES
    -----------------------------------------------------------------------------------------------------------------------------------
     532 | ERROR | INI directive 'safe_mode' is deprecated from PHP 5.3 and forbidden from PHP 5.4.
     537 | ERROR | The use of function set_magic_quotes_runtime is discouraged from PHP version 5.3 and forbidden from PHP version 7.0
    -----------------------------------------------------------------------------------------------------------------------------------

    THank you.
    Edward

    https://wordpress.org/plugins/download-monitor/

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

    (@texiwill)

    I just reread the code and while these ‘errors’ do exist, they are really quite well protected from being ‘called’ when the function and directives no longer exist. So I would claim this is not an issue anymore. Ideally, the code could be removed outright but too many folks are not yet at PHP 7.0.

    Close this as not an issue, just a reporting problem.

Viewing 1 replies (of 1 total)
  • The topic ‘PHP 7.0 Compatibility’ is closed to new replies.