PHP upgrade from 5.6 to 7.2
-
My provider has upgraded the PHP version from 5.6 to 7.2 and on almost all pages I get this warning:
Warning: session_set_save_handler(): Cannot change save handler when session is active in /customers/7/4/e/doskobeveren.be/httpd.www/wp-content/plugins/wp-session-manager/vendor/ericmann/sessionz/php/Manager.php on line 133
I installed the plugin “PHP Compatibility Checker” and I get these warnings and errors:
Name: Easy FancyBox
FILE: /customers/7/4/e/doskobeveren.be/httpd.www/wp-content/plugins/easy-fancybox/inc/translation-strings.php
————————————————————————————————————-
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
————————————————————————————————————-
1 | WARNING | File has mixed line endings; this may cause incorrect results
————————————————————————————————————-Name: Menubar
FILE: /customers/7/4/e/doskobeveren.be/httpd.www/wp-content/plugins/menubar/wpm-admin.php
—————————————————————————————————————–
FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
—————————————————————————————————————–
245 | WARNING | Global with anything other than bare variables is discouraged since PHP 7.0. Found ${$var}
336 | WARNING | Global with anything other than bare variables is discouraged since PHP 7.0. Found ${$features}
367 | WARNING | Global with anything other than bare variables is discouraged since PHP 7.0. Found ${$features}
—————————————————————————————————————–Name: Responsive Child
FILE: /customers/7/4/e/doskobeveren.be/httpd.www/wp-content/themes/responsivepro-child/page-pronoregister.php
—————————————————————————————————————-
FOUND 2 ERRORS AFFECTING 1 LINE
—————————————————————————————————————-
311 | ERROR | Extension ‘ereg’ is deprecated since PHP 5.3 and removed since PHP 7.0; Use pcre instead
311 | ERROR | Function eregi() is deprecated since PHP 5.3 and removed since PHP 7.0; Use preg_match() instead
—————————————————————————————————————-FILE: /customers/7/4/e/doskobeveren.be/httpd.www/wp-content/themes/responsivepro-child/class-phpmailer.php
————————————————————————————————————-
FOUND 4 ERRORS AND 3 WARNINGS AFFECTING 7 LINES
————————————————————————————————————-
669 | WARNING | INI directive ‘mbstring.func_overload’ is deprecated since PHP 7.2
674 | WARNING | INI directive ‘safe_mode’ is deprecated since PHP 5.3 and removed since PHP 5.4
1357 | WARNING | INI directive ‘safe_mode’ is deprecated since PHP 5.3 and removed since PHP 5.4
2526 | ERROR | Function set_magic_quotes_runtime() is deprecated since PHP 5.3 and removed since PHP 7.0
2531 | ERROR | INI directive ‘magic_quotes_runtime’ is deprecated since PHP 5.3 and removed since PHP 5.4
2538 | ERROR | Function set_magic_quotes_runtime() is deprecated since PHP 5.3 and removed since PHP 7.0
2540 | ERROR | INI directive ‘magic_quotes_runtime’ is deprecated since PHP 5.3 and removed since PHP 5.4
————————————————————————————————————-FILE: /customers/7/4/e/doskobeveren.be/httpd.www/wp-content/themes/responsivepro-child/page-pronozoeklogin.php
—————————————————————————————————————
FOUND 2 ERRORS AFFECTING 1 LINE
—————————————————————————————————————
24 | ERROR | Extension ‘ereg’ is deprecated since PHP 5.3 and removed since PHP 7.0; Use pcre instead
24 | ERROR | Function eregi() is deprecated since PHP 5.3 and removed since PHP 7.0; Use preg_match() instead
—————————————————————————————————————Name: SlideDeck 3 Personal
FILE: /customers/7/4/e/doskobeveren.be/httpd.www/wp-content/plugins/slidedeck-responsivepro/lenses/classic/lens.php
——————————————————————————————————————-
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
——————————————————————————————————————-
1 | WARNING | File has mixed line endings; this may cause incorrect results
——————————————————————————————————————-FILE: /customers/7/4/e/doskobeveren.be/httpd.www/wp-content/plugins/slidedeck-responsivepro/lib/widget.php
———————————————————————————————————-
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
———————————————————————————————————-
43 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
———————————————————————————————————-Name: WP Session Manager
FILE: /customers/7/4/e/doskobeveren.be/httpd.www/wp-content/plugins/wp-session-manager/vendor/paragonie/random_compat/lib/byte_safe_strings.php
———————————————————————————————————————————————–
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
———————————————————————————————————————————————–
32 | WARNING | INI directive ‘mbstring.func_overload’ is deprecated since PHP 7.2
86 | WARNING | INI directive ‘mbstring.func_overload’ is deprecated since PHP 7.2
———————————————————————————————————————————————–FILE: /customers/7/4/e/doskobeveren.be/httpd.www/wp-content/plugins/wp-session-manager/vendor/paragonie/random_compat/lib/random_bytes_mcrypt.php
——————————————————————————————————————————————————
FOUND 3 ERRORS AFFECTING 1 LINE
——————————————————————————————————————————————————
58 | ERROR | Extension ‘mcrypt’ is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
58 | ERROR | Function mcrypt_create_iv() is deprecated since PHP 7.1 and removed since PHP 7.2; Use random_bytes() or OpenSSL instead
58 | ERROR | The constant “MCRYPT_DEV_URANDOM” is deprecated since PHP 7.1 and removed since PHP 7.2
——————————————————————————————————————————————————Can someone help me to solve these problems? Thanks.
The page I need help with: [log in to see the link]
- The topic ‘PHP upgrade from 5.6 to 7.2’ is closed to new replies.