Upgrading to PHP 7.3
-
Hi all.
I am upgrading PHP on my site and need some help with implementing the code changes that PHP compatibility checker recommends. Here is the results it gave me:
FILE: /home/aderolaw/public_html/wp-content/themes/aderolaw-synapse/bootstrap/phpmailer/class.smtp.php ------------------------------------------------------------------------------------------------------ FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES ------------------------------------------------------------------------------------------------------ 388 | WARNING | Function each() is deprecated since PHP 7.2; Use a foreach loop instead 417 | WARNING | Function each() is deprecated since PHP 7.2; Use a foreach loop instead ------------------------------------------------------------------------------------------------------ FILE: /home/aderolaw/public_html/wp-content/themes/aderolaw-synapse/bootstrap/phpmailer/class.phpmailer.php ------------------------------------------------------------------------------------------------------------ FOUND 5 ERRORS AND 2 WARNINGS AFFECTING 7 LINES ------------------------------------------------------------------------------------------------------------ 652 | WARNING | INI directive 'safe_mode' is deprecated since PHP 5.3 and removed since PHP 5.4 1471 | ERROR | Function set_magic_quotes_runtime() is deprecated since PHP 5.3 and removed since PHP 7.0 1475 | ERROR | Function set_magic_quotes_runtime() is deprecated since PHP 5.3 and removed since PHP 7.0 1645 | WARNING | Function each() is deprecated since PHP 7.2; Use a foreach loop instead 1727 | ERROR | preg_replace() - /e modifier is deprecated since PHP 5.5 and removed since PHP 7.0 1730 | ERROR | preg_replace() - /e modifier is deprecated since PHP 5.5 and removed since PHP 7.0 1735 | ERROR | preg_replace() - /e modifier is deprecated since PHP 5.5 and removed since PHP 7.0 ------------------------------------------------------------------------------------------------------------
- This topic was modified 5 years ago by . Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Upgrading to PHP 7.3’ is closed to new replies.