This topic has 5 replies, 4 voices, and was last updated 8 years by Radu.

  • Author
  • #160855
     mitchcan
    Participant

    Hello,

    In testing the migration of my Kleo site to a new host, we also tested for php7 compatibility.

    We received several errors:

    KLEO:

    FILE: /home/mitchc29/public_html/macsitetest4/wp-content/themes/kleo/woocommerce/cart/cross-sells.php

    ———————————————————————————————————–

    FOUND 1 ERROR AFFECTING 1 LINE

    ———————————————————————————————————–

    42 | ERROR | Using a call-time pass-by-reference is deprecated since PHP 5.3 and prohibited since PHP 5.4

    ———————————————————————————————————–

    FILE: /home/mitchc29/public_html/macsitetest4/wp-content/themes/kleo/woocommerce/single-product/up-sells.php

    ————————————————————————————————————

    FOUND 1 ERROR AFFECTING 1 LINE

    ————————————————————————————————————

    43 | ERROR | Using a call-time pass-by-reference is deprecated since PHP 5.3 and prohibited since PHP 5.4

    ————————————————————————————————————

    FILE: /home/mitchc29/public_html/macsitetest4/wp-content/themes/kleo/woocommerce/single-product/related.php

    ———————————————————————————————————–

    FOUND 1 ERROR AFFECTING 1 LINE

    ———————————————————————————————————–

    43 | ERROR | Using a call-time pass-by-reference is deprecated since PHP 5.3 and prohibited since PHP 5.4

    ———————————————————————————————————–

    FILE: /home/mitchc29/public_html/macsitetest4/wp-content/themes/kleo/kleo-framework/options/inc/browser.php

    ———————————————————————————————————–

    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE

    ———————————————————————————————————–

    113 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.

    ———————————————————————————————————–

    FILE: /home/mitchc29/public_html/macsitetest4/wp-content/themes/kleo/kleo-framework/options/inc/validation/preg_replace/validation_preg_replace.php

    —————————————————————————————————————————————————

    FOUND 1 ERROR AFFECTING 1 LINE

    —————————————————————————————————————————————————

    30 | ERROR | preg_replace() – /e modifier is deprecated since PHP 5.5 and removed since PHP 7.0

     

    Is there anything special I need to do for Kleo to be php7 compatible?

    Thank you.

    #161084
     Laura
    Moderator
    Not marked as solution
    #161241
     Radu
    Moderator
    Not marked as solution
    #162739
     Abe
    Keymaster
    Not marked as solution
    #162752
     mitchcan
    Participant
    Not marked as solution
    #162921
     Radu
    Moderator
    Not marked as solution
Viewing 6 posts - 1 through 6 (of 6 total)

The forum ‘Bugs & Issues’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?