• Resolved Rita

    (@ritahoock)


    Please check php compatibility:
    broken-link-checker/includes/utility-class.php
    42 | WARNING | INI directive ‘safe_mode’ is deprecated from PHP 5.3 and forbidden from PHP 5.4.

    broken-link-checker/modules/checkers/http.php
    100 | ERROR | preg_replace() – /e modifier is deprecated since PHP 5.5

Viewing 2 replies - 1 through 2 (of 2 total)
  • HA! That’s interesting. I hadn’t seen your comment here, but had just checke my site with the same plugin, PHP Compatibility Checker (assume you used this), and I got the same warning. I was coming over here to post the same question, and I see you’ve done it for me!

    So, make that two people that would like to know.

    I also ran it for 5.6 to see what that would say, and here’s that:

    FILE: …./wp-content/plugins/broken-link-checker/modules/checkers/http.php
    ———————————————————————————————–
    FOUND 1 ERROR AFFECTING 1 LINE
    ———————————————————————————————–
    100 | ERROR | preg_replace() – /e modifier is deprecated since PHP 5.5
    ———————————————————————————————–

    FILE: …./wp-content/plugins/broken-link-checker/includes/utility-class.php
    ————————————————————————————————-
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ————————————————————————————————-
    42 | WARNING | INI directive ‘safe_mode’ is deprecated from PHP 5.3 and forbidden from PHP 5.4.
    ————————————————————————————————-

    • This reply was modified 9 years, 7 months ago by slobizman.

    Hi!
    to the author first: Thanks for your plugin!

    I’ve tested the compatible with PHP7 :

    FILE: …/plugins/broken-link-checker/includes/admin/table-printer.php
    ———————————————————————————————————————-
    FOUND 1 ERROR AFFECTING 1 LINE
    ———————————————————————————————————————-
    28 | ERROR | Use of deprecated PHP4 style class constructor is not supported since PHP 7
    ———————————————————————————————————————-

    FILE: …/plugins/broken-link-checker/includes/utility-class.php
    —————————————————————————————————————-
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    —————————————————————————————————————-
    42 | WARNING | INI directive ‘safe_mode’ is deprecated from PHP 5.3 and forbidden from PHP 5.4.
    —————————————————————————————————————-

    FILE: …/plugins/broken-link-checker/modules/checkers/http.php
    —————————————————————————————————————
    FOUND 1 ERROR AFFECTING 1 LINE
    —————————————————————————————————————
    100 | ERROR | preg_replace() – /e modifier is forbidden since PHP 7.0
    —————————————————————————————————————

    Would be great if you can fix this!

    All the best,
    Bernhard

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

The topic ‘PHP compatibility’ is closed to new replies.