PHP 7.0 Compatibility

This topic contains 2 replies, has 2 voices, and was last updated by  Stephen Harris 7 years, 11 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #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 Oaten
    #26433

    and then I found this thread:

    http://wp-event-organiser.com/forums/topic/php-7/#post-24670

    Which answers my question 🙂

    Paul Oaten
    #26444

    🙂 There is a bug with the clone check and it should be removed in future iterations of that script.

    Stephen Harris
Viewing 3 posts - 1 through 3 (of 3 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.