PHP 5.6 Compatibility?
-
I’ve been advised by my host (WPEngine) that I will be migrated to a PHP 5.6 environment starting on March 31. They’ve advised running their plugin, PHP Compatibility Checker, to test the readiness of my site ahead of this migration.
Events Manager was the only plugin that raised flags about potential incompatibility issues. Can anybody weigh in on what could happen come March 31st to this plugin? With 100,000+ installs I can imagine this is addressed somewhere, but my google-fu is failing me. Here are the diagnostic details from that plugin talking about Events Manager, which are beyond my ability to parse:
******************************************
FILE: /nas/content/live/regenintl/wp-content/plugins/events-manager/em-shortcode.php
————————————————————————————————————————-
FOUND 1 ERROR AFFECTING 1 LINE
————————————————————————————————————————-
113 | ERROR | ‘clone’ is a reserved keyword introduced in PHP version 5.0 and cannot be invoked as a function (T_CLONE)
————————————————————————————————————————-FILE: /nas/content/live/regenintl/wp-content/plugins/events-manager/templates/buddypress/group-events.php
———————————————————————————————————
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
———————————————————————————————————
31 | WARNING | Using ‘break’ outside of a loop or switch structure is invalid
———————————————————————————————————FILE: /nas/content/live/regenintl/wp-content/plugins/events-manager/admin/em-ms-options.php
——————————————————————————————-
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
——————————————————————————————-
1 | WARNING | File has mixed line endings; this may cause incorrect results
——————————————————————————————-FILE: /nas/content/live/regenintl/wp-content/plugins/events-manager/classes/em-object.php
—————————————————————————————–
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
—————————————————————————————–
1177 | WARNING | Extension ‘mysql_’ is deprecated since PHP 5.5 – use mysqli instead.
—————————————————————————————–FILE: /nas/content/live/regenintl/wp-content/plugins/events-manager/buddypress/bp-em-core.php
———————————————————————————————
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
———————————————————————————————
1 | WARNING | File has mixed line endings; this may cause incorrect results
———————————————————————————————FILE: /nas/content/live/regenintl/wp-content/plugins/events-manager/events-manager.php
————————————————————————————–
FOUND 1 ERROR AFFECTING 1 LINE
————————————————————————————–
500 | ERROR | Constant arrays using define are not allowed in PHP 5.6 or earlier
————————————————————————————–
The topic ‘PHP 5.6 Compatibility?’ is closed to new replies.