PHP7 Compatibility Checker - wpEngine

I am looking to upgrade a site to PHP7 and wpEngine has a compatibility checker plugin that reports the following errors in Cornerstone:
FILE: /nas/content/live/csoftware/wp-content/plugins/cornerstone/includes/utility/jsqueeze.php

FOUND 3 ERRORS AFFECTING 3 LINES

387 | ERROR | preg_replace() - /e modifier is deprecated since PHP 5.5 and removed since PHP 7.0
465 | ERROR | preg_replace() - /e modifier is deprecated since PHP 5.5 and removed since PHP 7.0
480 | ERROR | preg_replace() - /e modifier is deprecated since PHP 5.5 and removed since PHP 7.0

Any advice appreciated.

Hey there,

This is a false positive. Please see https://wordpress.org/support/topic/false-positive-preg_replace-e-modifier/ for details.

Thanks.

Hi @bchesley,

As mentioned by @xian it’s a false positive in the checker library, and our code is entirely PHP7 ready. That said, we are planning on removing the library that is triggering those warnings. So after the next release you won’t encounter these warnings either way.

Thank you. Proceeding with the update.

You’re welcome!