PHP 7 Compadibility

WPEngine has created a plugin, available right in the plugin search, that analyzes PHP 7 readiness. There are a number of WPMUdev plugins that fail this test. Can we get these updated ASAP as they are nearing updating users to PHP 7. Oh, the plugin is free to everyone with no restrictions.

    Sajid

    Hi John,
    Hope you are doing good today

    Most of our plugins are compatible with PHP 7, we are also working to make sure the rest of plugins are compatible with PHP 7.

    If you know any specific plugin that is not working properly on PHP 7 then please let me know and I will inform the developer to get it fixed.

    Thank you so much for getting the time and bringing this into our attention, much appreciated

    Best Regards,
    Sajid

    John

    Uhm, no. That will not prevent future updates from having compliance issues. That will create an unsustainable fix. Which will in turn put our web sites at risk. One example that is not working is the main dashboard plugin for WMPUdev.

    FILE: /nas/content/live/bakersdozen/wp-content/plugins/wpmudev-updates/template/support-system.php
    ------------------------------------------------------------------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    ------------------------------------------------------------------------------------------------------------------------------------------
    77 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and deprecated since PHP 5.6 and removed since PHP 7.0 - use mysqli instead.
    ------------------------------------------------------------------------------------------------------------------------------------------

    I found this by simply running the plugin. You NEED to have all your developers running this plugin on any dev machines that are not based on PHP 7.

    Here is a link to the plugin post at WPEngine.

    https://wpengine.com/blog/php-7-compatibility-checker-plugin/

    Nastia

    Hello John

    I hope you re doing well today!

    Thank you for reporting this to us! I will forward this information to our developers

    Which will in turn put our web sites at risk. One example that is not working is the main dashboard plugin for WMPUdev.

    Let me add something here, the "Depricated" notice it is not always mean that something is not working.
    Deprecated means that the code line, it's not recommended to use, however, it is acceptable to use. The reason that a particular feature is deprecated, instead of replacing that code feature completely is because the plugin needs to stay backwards compatible and support all users who are still running their site on PHP versions lower than 7.

    Deprecated errors doesn't mean that the plugin is not compatible with PHP version 7.

    I hope this helps!

    Cheers,
    Nastia

    John

    Here are some more PHP 7 issues.

    Scheduled Content
    - - - - - - -
    FILE: /nas/content/live/lvqtoday/wp-content/plugins/scheduled-content/scheduled-content.php
    ----------------------------------------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    ----------------------------------------------------------------------------------------------------------------
    483 | ERROR | Assigning the return value of new by reference is deprecated in PHP 5.3 and forbidden in PHP 7.0
    ----------------------------------------------------------------------------------------------------------------

    John

    SmartCrawl
    - - - - - - -
    FILE: /nas/content/live/lvqtoday/wp-content/plugins/wpmu-dev-seo/wds-files/wds-onpage/wds-onpage.php
    ----------------------------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    ----------------------------------------------------------------------------------------------------
    10 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7
    ----------------------------------------------------------------------------------------------------

    FILE: /nas/content/live/lvqtoday/wp-content/plugins/wpmu-dev-seo/wds-files/wds-sitemaps/wds-sitemaps.php
    --------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    --------------------------------------------------------------------------------------------------------
    85 | WARNING | INI directive 'safe_mode' is deprecated from PHP 5.3 and forbidden from PHP 5.4.
    --------------------------------------------------------------------------------------------------------

    FILE: /nas/content/live/lvqtoday/wp-content/plugins/wpmu-dev-seo/wds-files/wds-core/admin/wds-core-taxonomy.php
    ---------------------------------------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    ---------------------------------------------------------------------------------------------------------------
    5 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7
    ---------------------------------------------------------------------------------------------------------------

    FILE: /nas/content/live/lvqtoday/wp-content/plugins/wpmu-dev-seo/wds-files/wds-core/admin/wds-core-metabox.php
    --------------------------------------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    --------------------------------------------------------------------------------------------------------------
    5 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7
    --------------------------------------------------------------------------------------------------------------

    John

    Ultimate Facebook
    - - - - - - -
    FILE: /nas/content/live/lvqtoday/wp-content/plugins/wpmu-dev-facebook/lib/class_wdfb_widget_events.php
    ------------------------------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    ------------------------------------------------------------------------------------------------------
    9 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7
    ------------------------------------------------------------------------------------------------------

    FILE: /nas/content/live/lvqtoday/wp-content/plugins/wpmu-dev-facebook/lib/class_wdfb_widget_likebox.php
    -------------------------------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    -------------------------------------------------------------------------------------------------------
    8 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7
    -------------------------------------------------------------------------------------------------------

    FILE: /nas/content/live/lvqtoday/wp-content/plugins/wpmu-dev-facebook/lib/class_wdfb_widget_albums.php
    ------------------------------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    ------------------------------------------------------------------------------------------------------
    10 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7
    ------------------------------------------------------------------------------------------------------

    FILE: /nas/content/live/lvqtoday/wp-content/plugins/wpmu-dev-facebook/lib/class_wdfb_widget_recent_comments.php
    ---------------------------------------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    ---------------------------------------------------------------------------------------------------------------
    8 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7
    ---------------------------------------------------------------------------------------------------------------

    FILE: /nas/content/live/lvqtoday/wp-content/plugins/wpmu-dev-facebook/lib/class_wdfb_widget_connect.php
    -------------------------------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    -------------------------------------------------------------------------------------------------------
    7 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7
    -------------------------------------------------------------------------------------------------------

    John

    WPMU DEV Dashboard
    - - - - - - -
    FILE: /nas/content/live/lvqtoday/wp-content/plugins/wpmudev-updates/template/support-system.php
    ----------------------------------------------------------------------------------------------------------------------------------------------------
    FOUND 1 ERROR AND 4 WARNINGS AFFECTING 5 LINES
    ----------------------------------------------------------------------------------------------------------------------------------------------------
    77 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0 - use mysqli instead.
    313 | WARNING | Function name "__render_list" is discouraged; PHP has reserved all method names with a double underscore prefix for future use
    334 | WARNING | Function name "__error_reporting" is discouraged; PHP has reserved all method names with a double underscore prefix for future use
    376 | WARNING | Function name "__value_format" is discouraged; PHP has reserved all method names with a double underscore prefix for future use
    390 | WARNING | Function name "__const_format" is discouraged; PHP has reserved all method names with a double underscore prefix for future use
    ----------------------------------------------------------------------------------------------------------------------------------------------------

    Sajid

    Hi Julian ,
    Hope you are doing good today

    First of all let me make it clear that we guarantee to run our plugins according to latest WordPress requirements according to our Terms of Service. Latest WordPress version support PHP 5.6.

    However, that does not mean we are not aware of PHP 7. All our new plugins that we recently released including Hustle, Hummingbird, Defender are fully compatible with PHP 7. Not only these there are other plugins that are fully compatible with PHP 7 too.

    Regarding the reports, there are some of our old plugins like Ultimate Facebook and Smart crawl that have few compatibility issues reported above. That we will definitely address at our earliest possible.

    For your second question, I am going to copy paste from Plugins/Themes Compatibility section of our TOS.

    We are however committed to doing our best to ensure all our products are compatible with future versions of WordPress within 24 hours of any release.

    Take care and have a nice day

    Best Regards,
    Sajid