Home Forums Theme support PHP 7

This topic contains 3 replies, has 2 voices, and was last updated by  7Theme Support 7 years, 5 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • I am in the process of switching to PHP 7 and when I checked my theme compatibility I get the following warnings and errors. Do you plan on updating your Themes to PHP 7 and when can we expect them?

    Thank you
    Bill

    Theme: HOT
    FILE: …/themes/hot/page-contact.php
    ————————————————————————————————————-
    FOUND 2 ERRORS AFFECTING 1 LINE
    ————————————————————————————————————-
    21 | ERROR | Function eregi() is deprecated since PHP 5.3 and removed since PHP 7.0; use preg_match instead
    21 | ERROR | Extension ‘ereg’ is deprecated since PHP 5.3 and removed since PHP 7.0 – use pcre instead.
    ————————————————————————————————————-

    FILE: …/themes/hot/7league/ajax.php
    ————————————————————————————————————-
    FOUND 2 ERRORS AFFECTING 1 LINE
    ————————————————————————————————————-
    15 | ERROR | Function eregi() is deprecated since PHP 5.3 and removed since PHP 7.0; use preg_match instead
    15 | ERROR | Extension ‘ereg’ is deprecated since PHP 5.3 and removed since PHP 7.0 – use pcre instead.
    ————————————————————————————————————-

    FILE:…/themes/hot/7league/autoimporter.php
    ———————————————————————————————————
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ———————————————————————————————————
    71 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    ———————————————————————————————————

    FILE: …/themes/hot/7league/posttype-portfolio.php
    —————————————————————————————————————
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    —————————————————————————————————————
    608 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    —————————————————————————————————————

    FILE: …/themes/hot/7league/widgets.php
    —————————————————————————————————–
    FOUND 1 ERROR AND 18 WARNINGS AFFECTING 19 LINES
    —————————————————————————————————–
    17 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    126 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    208 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    268 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    347 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    411 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    470 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    526 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    580 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    632 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    676 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    720 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    767 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    855 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    944 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    1030 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    1078 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    1128 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    1405 | ERROR | preg_replace() – /e modifier is deprecated since PHP 5.5 and removed since PHP 7.0
    —————————————————————————————————–

    Theme: LADIES
    FILE: …/themes/ladies/page-contact.php
    ————————————————————————————————————-
    FOUND 2 ERRORS AFFECTING 1 LINE
    ————————————————————————————————————-
    21 | ERROR | Function eregi() is deprecated since PHP 5.3 and removed since PHP 7.0; use preg_match instead
    21 | ERROR | Extension ‘ereg’ is deprecated since PHP 5.3 and removed since PHP 7.0 – use pcre instead.
    ————————————————————————————————————-

    FILE: …/themes/ladies/7league/ajax.php
    ————————————————————————————————————-
    FOUND 2 ERRORS AFFECTING 1 LINE
    ————————————————————————————————————-
    15 | ERROR | Function eregi() is deprecated since PHP 5.3 and removed since PHP 7.0; use preg_match instead
    15 | ERROR | Extension ‘ereg’ is deprecated since PHP 5.3 and removed since PHP 7.0 – use pcre instead.
    ————————————————————————————————————-

    FILE: …/themes/ladies/7league/autoimporter.php
    ————————————————————————————————————
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ————————————————————————————————————
    71 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    ————————————————————————————————————

    FILE: …/themes/ladies/7league/posttype-portfolio.php
    ——————————————————————————————————————
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ——————————————————————————————————————
    608 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    ——————————————————————————————————————

    FILE: …/themes/ladies/7league/widgets.php
    ——————————————————————————————————-
    FOUND 1 ERROR AND 18 WARNINGS AFFECTING 19 LINES
    ——————————————————————————————————-
    17 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    126 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    208 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    268 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    347 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    411 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    470 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    526 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    580 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    632 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    676 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    720 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    767 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    855 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    944 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    1030 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    1078 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    1128 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    1405 | ERROR | preg_replace() – /e modifier is deprecated since PHP 5.5 and removed since PHP 7.0
    ——————————————————————————————————-

    Theme: ROXANNE
    FILE: …/themes/roxanne/page-contact.php
    ————————————————————————————————————-
    FOUND 2 ERRORS AFFECTING 1 LINE
    ————————————————————————————————————-
    21 | ERROR | Function eregi() is deprecated since PHP 5.3 and removed since PHP 7.0; use preg_match instead
    21 | ERROR | Extension ‘ereg’ is deprecated since PHP 5.3 and removed since PHP 7.0 – use pcre instead.
    ————————————————————————————————————-

    FILE: …/themes/roxanne/posttype-portfolio.php
    ———————————————————————————————————–
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ———————————————————————————————————–
    641 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    ———————————————————————————————————–

    FILE: …/themes/roxanne/7league/ajax.php
    ————————————————————————————————————-
    FOUND 2 ERRORS AFFECTING 1 LINE
    ————————————————————————————————————-
    18 | ERROR | Function eregi() is deprecated since PHP 5.3 and removed since PHP 7.0; use preg_match instead
    18 | ERROR | Extension ‘ereg’ is deprecated since PHP 5.3 and removed since PHP 7.0 – use pcre instead.
    ————————————————————————————————————-

    FILE: …/themes/roxanne/7league/autoimporter.php
    ————————————————————————————————————-
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ————————————————————————————————————-
    71 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    ————————————————————————————————————-

    FILE: …/themes/roxanne/7league/posttype-portfolio.php
    ——————————————————————————————————————-
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ——————————————————————————————————————-
    811 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    ——————————————————————————————————————-

    FILE: …/themes/roxanne/7league/widgets.php
    ——————————————————————————————————–
    FOUND 1 ERROR AND 18 WARNINGS AFFECTING 19 LINES
    ——————————————————————————————————–
    16 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    125 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    207 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    267 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    346 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    410 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    469 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    525 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    579 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    631 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    675 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    719 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    766 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    854 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    943 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    1029 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    1077 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    1127 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    1404 | ERROR | preg_replace() – /e modifier is deprecated since PHP 5.5 and removed since PHP 7.0
    ——————————————————————————————————–

    Theme: CANDY
    FILE: …/themes/candy/page-contact.php
    ————————————————————————————————————-
    FOUND 2 ERRORS AFFECTING 1 LINE
    ————————————————————————————————————-
    21 | ERROR | Function eregi() is deprecated since PHP 5.3 and removed since PHP 7.0; use preg_match instead
    21 | ERROR | Extension ‘ereg’ is deprecated since PHP 5.3 and removed since PHP 7.0 – use pcre instead.
    ————————————————————————————————————-

    FILE: …/themes/candy/posttype-portfolio.php
    ———————————————————————————————————
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ———————————————————————————————————
    641 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    ———————————————————————————————————

    FILE:…/themes/candy/7league/ajax.php
    ————————————————————————————————————-
    FOUND 2 ERRORS AFFECTING 1 LINE
    ————————————————————————————————————-
    15 | ERROR | Function eregi() is deprecated since PHP 5.3 and removed since PHP 7.0; use preg_match instead
    15 | ERROR | Extension ‘ereg’ is deprecated since PHP 5.3 and removed since PHP 7.0 – use pcre instead.
    ————————————————————————————————————-

    FILE: …/themes/candy/7league/autoimporter.php
    ———————————————————————————————————–
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ———————————————————————————————————–
    71 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    ———————————————————————————————————–

    FILE: …/themes/candy/7league/posttype-portfolio.php
    —————————————————————————————————————–
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    —————————————————————————————————————–
    811 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    —————————————————————————————————————–

    FILE: …/themes/candy/7league/widgets.php
    ——————————————————————————————————
    FOUND 1 ERROR AND 18 WARNINGS AFFECTING 19 LINES
    ——————————————————————————————————
    16 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    125 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    207 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    267 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    346 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    410 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    469 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    525 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    579 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    631 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    675 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    719 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    766 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    854 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    943 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    1029 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    1077 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    1127 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    1404 | ERROR | preg_replace() – /e modifier is deprecated since PHP 5.5 and removed since PHP 7.0
    ——————————————————————————————————

    Hi Bill,

    yes, of course we plan updates to make all our themes compatible with PHP7, actually most of our themes are already updated and compatible with PHP7. In the next 4 weeks we should have completed the rest of the updates, also for your themes. In the meantime normally you can use the themes already with PHP7 because nearly all above are only warnings, means it will work anyway.

    Just a heads up the Theme settings tabs links do not work (on any of my themes) in PHP7 do you have a work around?

    Hi,

    all updates for your themes are already available. We checked the themes now with a compatibility tool and there are no problems, maybe the update will solve also the tabs problem. If it is not solving the problem, you can send us ( info @ 7theme .net ) a link to one of your websites and a login, then we will check your backend for the problem.

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

You must be logged in to reply to this topic.