PHP7 compatibility
-
Hi,
Is your plugin compatible with PHP7?
When using WP Engine’s plugin for scanning plugins for PHP7 compatibility, I am getting these warnings:
Name: MailPoet Newsletters FILE: /nas/content/staging/xxxxxxxx/wp-content/plugins/wysija-newsletters/helpers/bounce.php --------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE --------------------------------------------------------------------------------------------- 63 | WARNING | Function dl() is deprecated since PHP 5.3 --------------------------------------------------------------------------------------------- FILE: /nas/content/staging/xxxxxxxx/wp-content/plugins/wysija-newsletters/inc/pear/pear.php -------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 5 WARNINGS AFFECTING 4 LINES -------------------------------------------------------------------------------------------------- 171 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7. 740 | WARNING | INI directive 'safe_mode' is deprecated since PHP 5.3 and removed since PHP 5.4. 754 | WARNING | Function dl() is deprecated since PHP 5.3 754 | WARNING | Function dl() is deprecated since PHP 5.3 852 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7. -------------------------------------------------------------------------------------------------- FILE: /nas/content/staging/xxxxxxxx/wp-content/plugins/wysija-newsletters/inc/phpmailer/class.phpmailer.php -------------------------------------------------------------------------------------------------------------------------------- FOUND 7 ERRORS AND 1 WARNING AFFECTING 8 LINES -------------------------------------------------------------------------------------------------------------------------------- 527 | WARNING | INI directive 'safe_mode' is deprecated since PHP 5.3 and removed since PHP 5.4. 1358 | ERROR | INI directive 'magic_quotes_runtime' is deprecated since PHP 5.3 and removed since PHP 5.4. 1362 | ERROR | INI directive 'magic_quotes_runtime' is deprecated since PHP 5.3 and removed since PHP 5.4. 1785 | ERROR | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_SERVER_VARS' 1786 | ERROR | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_ENV_VARS' 1789 | ERROR | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_SERVER_VARS' 1791 | ERROR | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_ENV_VARS' 1879 | ERROR | Function split() is deprecated since PHP 5.3 and removed since PHP 7.0; use preg_split instead -------------------------------------------------------------------------------------------------------------------------------- FILE: /nas/content/staging/xxxxxxxx/wp-content/plugins/wysija-newsletters/controllers/back.php -------------------------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE -------------------------------------------------------------------------------------------------------------------------------------------------------------------- 207 | WARNING | Method name "WYSIJA_control_back::__setMetaTitle" is discouraged; PHP has reserved all method names with a double underscore prefix for future use -------------------------------------------------------------------------------------------------------------------------------------------------------------------- FILE: /nas/content/staging/xxxxxxxx/wp-content/plugins/wysija-newsletters/views/back/campaigns.php -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 2359 | WARNING | Method name "WYSIJA_view_back_campaigns::__filterPostParent" is discouraged; PHP has reserved all method names with a double underscore prefix for future use --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘PHP7 compatibility’ is closed to new replies.