PHP 7.0 Compatibility
WordPress Event Management, Calendars & Registration › Forums › General Question › PHP 7.0 Compatibility
This topic contains 2 replies, has 2 voices, and was last updated by Stephen Harris 7 years, 11 months ago.
-
AuthorPosts
-
March 8, 2017 at 10:09 am #26432
Hi Stephen,
I have a site running the Event Organiser and EO Pro plugin on WP Engine.
I just ran the WP Engine PHP Compatibility Checker plugin and it issued 4 errors and 7 warnings for the Event Organiser plugin. Here’s the output from the checker:FILE: /nas/content/live/panary/wp-content/plugins/event-organiser/event-organiser-debug.php -------------------------------------------------------------------------------------------------------------- FOUND 2 ERRORS AFFECTING 2 LINES -------------------------------------------------------------------------------------------------------------- 156 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0 - use mysqli instead. 539 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0 - use mysqli instead. -------------------------------------------------------------------------------------------------------------- FILE: /nas/content/live/panary/wp-content/plugins/event-organiser/event-organiser-calendar.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/panary/wp-content/plugins/event-organiser/classes/class-eventorganiser-shortcodes.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/panary/wp-content/plugins/event-organiser/includes/event-organiser-utility-functions.php --------------------------------------------------------------------------------------------------------------------------- FOUND 2 ERRORS AND 1 WARNING AFFECTING 3 LINES --------------------------------------------------------------------------------------------------------------------------- 1 | WARNING | File has mixed line endings; this may cause incorrect results 414 | ERROR | 'clone' is a reserved keyword introduced in PHP version 5.0 and cannot be invoked as a function (T_CLONE) 415 | 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/panary/wp-content/plugins/event-organiser/includes/deprecated.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/panary/wp-content/plugins/event-organiser/includes/event-organiser-install.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/panary/wp-content/plugins/event-organiser/includes/event-organiser-ajax.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/panary/wp-content/plugins/event-organiser/includes/event-organiser-cpt.php -------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE -------------------------------------------------------------------------------------------------- 1 | WARNING | File has mixed line endings; this may cause incorrect results --------------------------------------------------------------------------------------------------
I hesitant to proceed with the upgrade at this stage. Can you comment on the above. Perhaps you are already working on a new release and I should wait?
Grateful for your assistance as ever.
Paul OatenMarch 8, 2017 at 10:11 am #26433and then I found this thread:
http://wp-event-organiser.com/forums/topic/php-7/#post-24670
Which answers my question 🙂
Paul OatenMarch 8, 2017 at 5:12 pm #26444🙂 There is a bug with the clone check and it should be removed in future iterations of that script.
Stephen Harris -
AuthorPosts