• Resolved rseigel

    (@rseigel)


    When checking for PHP7 compatibility with WP Engine PHP Compatibility Checker the follow errors come up.

    FILE: /chroot/home/barrhave/ck1.ca/html/wp-content/plugins/duplicator/classes/server.php
    ———————————————————————————————–
    FOUND 1 ERROR AFFECTING 1 LINE
    ———————————————————————————————–
    24 | ERROR | INI directive ‘safe_mode’ is deprecated from PHP 5.3 and forbidden from PHP 5.4.
    ———————————————————————————————–

    FILE: /chroot/home/barrhave/ck1.ca/html/wp-content/plugins/duplicator/installer/build/classes/class.utils.php
    ——————————————————————————————————————————————-
    FOUND 3 ERRORS AFFECTING 3 LINES
    ——————————————————————————————————————————————-
    224 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and deprecated since PHP 5.6 and removed since PHP 7.0 – use mysqli instead.
    248 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and deprecated since PHP 5.6 and removed since PHP 7.0 – use mysqli instead.
    249 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and deprecated since PHP 5.6 and removed since PHP 7.0 – use mysqli instead.
    ——————————————————————————————————————————————-

    FILE: /chroot/home/barrhave/ck1.ca/html/wp-content/plugins/duplicator/installer/build/ajax.step2.php
    ——————————————————————————————————————————————
    FOUND 1 ERROR AFFECTING 1 LINE
    ——————————————————————————————————————————————
    25 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and deprecated since PHP 5.6 and removed since PHP 7.0 – use mysqli instead.
    ——————————————————————————————————————————————

    FILE: /chroot/home/barrhave/ck1.ca/html/wp-content/plugins/duplicator/installer/build/ajax.step1.php
    ——————————————————————————————————————————————-
    FOUND 6 ERRORS AFFECTING 6 LINES
    ——————————————————————————————————————————————-
    55 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and deprecated since PHP 5.6 and removed since PHP 7.0 – use mysqli instead.
    275 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and deprecated since PHP 5.6 and removed since PHP 7.0 – use mysqli instead.
    278 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and deprecated since PHP 5.6 and removed since PHP 7.0 – use mysqli instead.
    279 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and deprecated since PHP 5.6 and removed since PHP 7.0 – use mysqli instead.
    282 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and deprecated since PHP 5.6 and removed since PHP 7.0 – use mysqli instead.
    354 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and deprecated since PHP 5.6 and removed since PHP 7.0 – use mysqli instead.
    ——————————————————————————————————————————————-

    FILE: /chroot/home/barrhave/ck1.ca/html/wp-content/plugins/duplicator/installer/build/view.step1.php
    —————————————————————————————————-
    FOUND 1 ERROR AFFECTING 1 LINE
    —————————————————————————————————-
    31 | ERROR | INI directive ‘safe_mode’ is deprecated from PHP 5.3 and forbidden from PHP 5.4.
    —————————————————————————————————-

    FILE: /chroot/home/barrhave/ck1.ca/html/wp-content/plugins/duplicator/views/tools/diagnostics.php
    ————————————————————————————————-
    FOUND 3 ERRORS AFFECTING 2 LINES
    ————————————————————————————————-
    174 | ERROR | INI directive ‘safe_mode’ is deprecated from PHP 5.3 and forbidden from PHP 5.4.
    174 | ERROR | INI directive ‘safe_mode’ is deprecated from PHP 5.3 and forbidden from PHP 5.4.
    175 | ERROR | INI directive ‘safe_mode’ is deprecated from PHP 5.3 and forbidden from PHP 5.4.
    ————————————————————————————————-

    Are there any plans to fix this?

    https://www.ads-software.com/plugins/duplicator/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey Rseigel,

    We have done several tests on PHP 7 and haven’t had any issues. Did you run into any issues while using PHP 7? Some of those items will not apply as they that tool looks to be a generic scanner and it doesn’t look to be properly detecting how the logic is actually being called.

    Thxs

    We are gearing up to upgrade several client servers to PHP7, and also used the WPEngine PHP Compatibility Checker to scan a dev project for issues. Yours was one of two plugins that were flagged. I’ve copied the report below. Will Duplicator be updated to play well with PHP7? Given we have several large sites on WPEngine and others, we need to be proactive and make sure we’re ready for optimal performance.

    FILE: /Users/heytricia/Documents/Websites/mosspinkflora.dev/wp-content/plugins/duplicator/classes/server.php
    ————————————————————————————————————
    FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
    ————————————————————————————————————
    24 | WARNING | INI directive ‘safe_mode’ is deprecated from PHP 5.3 and forbidden from PHP 5.4.
    25 | WARNING | INI directive ‘safe_mode’ is deprecated from PHP 5.3 and forbidden from PHP 5.4.
    ————————————————————————————————————

    FILE: /Users/heytricia/Documents/Websites/mosspinkflora.dev/wp-content/plugins/duplicator/installer/build/ajax.step1.php
    ————————————————————————————————————————
    FOUND 6 ERRORS AFFECTING 6 LINES
    ————————————————————————————————————————
    55 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    276 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    279 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    280 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    283 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    355 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    ————————————————————————————————————————

    FILE: /Users/heytricia/Documents/Websites/mosspinkflora.dev/wp-content/plugins/duplicator/installer/build/ajax.step2.php
    ————————————————————————————————————————
    FOUND 1 ERROR AFFECTING 1 LINE
    ————————————————————————————————————————
    25 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    ————————————————————————————————————————

    FILE: /Users/heytricia/Documents/Websites/mosspinkflora.dev/wp-content/plugins/duplicator/installer/build/classes/class.utils.php
    ———————————————————————————————————————————
    FOUND 3 ERRORS AFFECTING 3 LINES
    ———————————————————————————————————————————
    224 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    248 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    249 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    ———————————————————————————————————————————

    FILE: /Users/heytricia/Documents/Websites/mosspinkflora.dev/wp-content/plugins/duplicator/installer/build/view.step1.php
    ————————————————————————————————————————
    FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
    ————————————————————————————————————————
    31 | WARNING | INI directive ‘safe_mode’ is deprecated from PHP 5.3 and forbidden from PHP 5.4.
    32 | WARNING | INI directive ‘safe_mode’ is deprecated from PHP 5.3 and forbidden from PHP 5.4.
    ————————————————————————————————————————

    FILE: /Users/heytricia/Documents/Websites/mosspinkflora.dev/wp-content/plugins/duplicator/views/tools/diagnostics.php
    ———————————————————————————————————————
    FOUND 0 ERRORS AND 4 WARNINGS AFFECTING 2 LINES
    ———————————————————————————————————————
    174 | WARNING | INI directive ‘safe_mode’ is deprecated from PHP 5.3 and forbidden from PHP 5.4.
    174 | WARNING | INI directive ‘safe_mode’ is deprecated from PHP 5.3 and forbidden from PHP 5.4.
    175 | WARNING | INI directive ‘safe_mode’ is deprecated from PHP 5.3 and forbidden from PHP 5.4.
    175 | WARNING | INI directive ‘safe_mode’ is deprecated from PHP 5.3 and forbidden from PHP 5.4.
    ———————————————————————————————————————

    • This reply was modified 8 years, 6 months ago by heytricia.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP7 Compatibility’ is closed to new replies.