Home / Forums / ePix Support / ePix not PHP 7 compatible – please fix these errors

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts

  • omnitographer
    Participant

    These issues need to be addressed for ePix to work with PHP7, report generated against latest version on themeforest:

    FILE: /home/****/public_html/wp-content/themes/ePix/lib/adm/inc/phpFlickr/_bin/phpFlickr_31.php
    
      492 | ERROR   | Extension 'ereg' is deprecated since PHP 5.3 and removed since PHP 7.0 - use pcre instead.
      492 | ERROR   | Function ereg() is deprecated since PHP 5.3 and removed since PHP 7.0; use preg_match instead
      501 | ERROR   | Extension 'ereg' is deprecated since PHP 5.3 and removed since PHP 7.0 - use pcre instead.
      501 | ERROR   | Function ereg() is deprecated since PHP 5.3 and removed since PHP 7.0; use preg_match instead
     1689 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    -----------------------------------------------------------------------------------------------------------------
    
    FILE: /home/****/public_html/wp-content/themes/ePix/lib/adm/inc/phpFlickr/_bin/phpFlickr.php
    
      492 | ERROR   | Extension 'ereg' is deprecated since PHP 5.3 and removed since PHP 7.0 - use pcre instead.
      492 | ERROR   | Function ereg() is deprecated since PHP 5.3 and removed since PHP 7.0; use preg_match instead
      501 | ERROR   | Extension 'ereg' is deprecated since PHP 5.3 and removed since PHP 7.0 - use pcre instead.
      501 | ERROR   | Function ereg() is deprecated since PHP 5.3 and removed since PHP 7.0; use preg_match instead
     1689 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    -----------------------------------------------------------------------------------------------------------------
    
    FILE: /home/****/public_html/wp-content/themes/ePix/lib/adm/inc/phpFlickr/phpFlickr.php
    -----------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
    -----------------------------------------------------------------------------------------------
       61 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
     1707 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    -----------------------------------------------------------------------------------------------
    
    FILE: /home/****/public_html/wp-content/themes/ePix/lib/adm/functions/themeva-importer.php
    --------------------------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    --------------------------------------------------------------------------------------------------
     195 | ERROR | preg_replace() - /e modifier is deprecated since PHP 5.5 and removed since PHP 7.0
    --------------------------------------------------------------------------------------------------
    
    FILE: /home/****/public_html/wp-content/themes/ePix/lib/adm/functions/wordpress-importer.php
    -----------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    -----------------------------------------------------------------------------------------------
     66 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    -----------------------------------------------------------------------------------------------
    
    FILE: /home/****/public_html/wp-content/themes/ePix/search.php
    ---------------------------------------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    ---------------------------------------------------------------------------------------------------------------
     24 | ERROR | Assigning the return value of new by reference is deprecated in PHP 5.3 and forbidden in PHP 7.0
    ---------------------------------------------------------------------------------------------------------------
    
    --------------------------------------------------------------------------------------------------------------
    • This topic was modified 6 months, 1 week ago by  omnitographer.

    Hi @omnitographer

    Can you please specify what version of the theme are you using?

    Regards,


    omnitographer
    Participant

    I have version 2.3, the latest version available through themeforest/envato.

    I can verify that the search function is indeed quite broken if my site is set to use PHP7

    Hi @omnitographer

    I have coordinated this with the developer. I will get back to you once I have an update on this.

    Regards.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.