• Resolved Shane

    (@shanemarsh28)


    Hi Everyone,

    I am a Technical Manager and we use your plugin within our WordPress installation. 

    PHP7 is currently being rolled out across many platforms and soon we will also be updating our systems to the new, lighter and faster version of PHP. However, our tests show that your plugin is currently incompatible with PHP7. So that we can help things along and to make the update easier, our analytics tools have identified which lines of code need to be changed within your plugin that would allow it to run within this new environment.

    You will see that most of the updates are very minor and we would be forever thankful if you would be able to make these changes to your next release. 

    The report is as follows:

    FILE: /plugins/all-in-one-seo-pack/inc/extlib/JSON.php
    --------------------------------------------------------------------------------------------
    FOUND 3 ERRORS AFFECTING 3 LINES
    --------------------------------------------------------------------------------------------
    766 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7
    783 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7
    797 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7
    --------------------------------------------------------------------------------------------
    
    FILE: /plugins/all-in-one-seo-pack/modules/aioseop_performance.php
    --------------------------------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    --------------------------------------------------------------------------------------------------------
    172 | ERROR | INI directive 'safe_mode' is deprecated from PHP 5.3 and forbidden from PHP 5.4.
    -----------------------------------

    We would also like to take this opportunity to thank you for your ongoing updates and I hope that you look at the above report and implement it’s changes.

    https://wordpress.org/plugins/all-in-one-seo-pack/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Michael Torbert

    (@hallsofmontezuma)

    WordPress Virtuoso

    Hi Shane,

    Thank you for the report.

    Neither of these cause any problems for PHP 7 users (we use PHP 7 ourselves, and have long since updated the plugin for compatibility).

    JSON.php only exists for old versions of PHP, and won’t get called on PHP 7.
    For safe_mode, we’re only checking to see if it’s set, not actually setting it, so it’s not a problem when running PHP 7.

    We have issues open for each of these:
    https://github.com/semperfiwebdesign/all-in-one-seo-pack/issues/399
    https://github.com/semperfiwebdesign/all-in-one-seo-pack/issues/398

    Thread Starter Shane

    (@shanemarsh28)

    Hi Michael,

    Thank you for getting back so quickly. I am delighted that you can confirm everything is compatible with PHP 7.

    I was not aware your plugin was on Github so I will be sure to look for any future issues their first.

    Thank you once again,
    Kind regards,

    Shane

    Michael Torbert

    (@hallsofmontezuma)

    WordPress Virtuoso

    You’re very welcome. 🙂
    We use PHP 7 in production, and test every update on every PHP version from PHP 5.2-7 prior to release.
    Feel free to create issues on github for any bug reports, feature requests, etc and to participate in any existing issues.

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

The topic ‘Help to update your plugin to PHP7’ is closed to new replies.