New Landing How can we help? Cardinal Cardinal PHP 7 compatibility

Viewing 5 posts - 1 through 5 (of 5 total)
  • Posted in: Cardinal
  • #323592
    Ivan
    Member
    Post count: 80

    When testing for compatibility with php7, I get an error and warnings:

    Name: Cardinal

    FILE: /nas/content/live/site/wp-content/themes/cardinal/includes/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
    ————————————————————————————————————————————-

    FILE: /nas/content/live/site/wp-content/themes/cardinal/includes/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.
    ———————————————————————————————-

    How can this be remedied?

    #323688
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    Can you let me know your Cardinal theme version number?

    #323699
    Ivan
    Member
    Post count: 80

    Cardinal – 2.6.20

    The Swift Framework plugin – 2.5.32

    #323876
    David Martin – Support
    Moderator
    Post count: 20834

    Thanks for reporting this, it looks like the Theme Options framework needs an update. I’ll assign this to Ed(lead dev).

    #323926
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Thanks, we have updated this for the next theme update.

    – Ed

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register