[Hummingbird] PHP 7.2 compatibility errors Hummingbird Pro & WPMU Dev Dashboard

Hello WPMU Dev Gurus,

I am interested in upgrading PHP to 7.2 on this site (currently on 7.1).

I ran the WP Engine PHP Compatibility plugin on this website (a couple other sites on this GoDaddy (ugh) hosting account) with WPMU Dev plugins installed - the Dashboard, Smush Pro, Defender Pro, and Hummingbird Pro.
Hummingbird Pro returned the following error:
Name: Hummingbird Pro

FILE: /home/XXXX/public_html/XXXX.com/wp-content/plugins/wp-hummingbird/core/modules/class-module-advanced.php
--------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------------------------------------
512 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
--------------------------------------------------------------------------------------------------------------------------------
Defender Pro was not scanned because of server limits - so it is unknown whether it would pass muster.
Smush Pro - scanned as compatible
WPMU Dev Dashboard returned these errors:
Name: WPMU DEV Dashboard

FILE: /home/XXXX/public_html/XXXX.com/wp-content/plugins/wpmudev-updates/lib/PHPSecLib/Crypt/Random.php
-------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 2 LINES
-------------------------------------------------------------------------------------------------------------------------------------------------------
75 | ERROR | Function mcrypt_create_iv() is deprecated since PHP 7.1 and removed since PHP 7.2; Use random_bytes() or OpenSSL instead
75 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
114 | ERROR | Function mcrypt_create_iv() is deprecated since PHP 7.1 and removed since PHP 7.2; Use random_bytes() or OpenSSL instead
114 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
114 | ERROR | The constant "MCRYPT_DEV_URANDOM" is deprecated since PHP 7.1 and removed since PHP 7.2
-------------------------------------------------------------------------------------------------------------------------------------------------------

GoDaddy doesn't make it easy to have more than one PHP version installed on this hosting account, so I am hesitant to experiment and setting up a staging site is therefore not feasible.

We're running WordPress 5.0.3. Thanks in advance for your assistance. I'm sure others will find a compatibility fix helpful, too.

  • Nithin

    Hi Karen,

    Hope you are doing good today. :slight_smile:

    The reason you notice these errors in the compatibility checker plugin is due to our backwards compatibility to support version lesser than PHP 7.2, which the compatibility checker plugin won't be able to differentiate, and will list out as not compatible.

    I can confirm Smush, Hummingbird, Defender, and WPMU DEV Dashboard plugin are compatible with PHP 7.2, and it should work fine.

    I hope it's clear now, please let us know if you have any further query regarding these. Have a nice day ahead. :slight_smile:

    Regards,
    Nithin

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.