• Resolved neotrope

    (@neotrope)


    Hi, getting some minor warnings about PHP7 compatibility running the checker tool. We’re prepping to move from PHP 5.6 to 7 on some sites which have only small number of plugins due to those being updated recently.

    REF
    ———————-
    WP Notification Bar By MyThemeShop

    WP Notification Bar is a custom notification and alert bar plugin for WordPress which is perfect for marketing promotions, alerts, increasing click throughs to other pages and so much more.

    Version 1.0.6
    ————————————

    Getting these errors:
    FILE: /var/www/vhosts/SITE/httpdocs/report/wp-content/plugins/mts-wp-notification-bar/includes/campaignmonitor/csrest_clients.php
    ——————————————————————————————————————————————-
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ——————————————————————————————————————————————-
    40 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    ——————————————————————————————————————————————-

    FILE: /var/www/vhosts/SITE/httpdocs/report/wp-content/plugins/mts-wp-notification-bar/includes/campaignmonitor/csrest_subscribers.php
    ———————————————————————————————————————————————–
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ———————————————————————————————————————————————–
    40 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    ———————————————————————————————————————————————–

    FILE: /var/www/vhosts/SITE/httpdocs/report/wp-content/plugins/mts-wp-notification-bar/includes/campaignmonitor/class/base_classes.php
    ———————————————————————————————————————————————–
    FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
    ———————————————————————————————————————————————–
    32 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    130 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    ———————————————————————————————————————————————–

    FILE: /var/www/vhosts/SITE/httpdocs/report/wp-content/plugins/mts-wp-notification-bar/includes/campaignmonitor/class/log.php
    ————————————————————————————————————————————–
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ————————————————————————————————————————————–
    10 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    ————————————————————————————————————————————–

    FILE: /var/www/vhosts/SITE/httpdocs/report/wp-content/plugins/mts-wp-notification-bar/includes/campaignmonitor/class/serialisation.php
    ————————————————————————————————————————————————
    FOUND 0 ERRORS AND 4 WARNINGS AFFECTING 4 LINES
    ————————————————————————————————————————————————
    19 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    50 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    62 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    102 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    ————————————————————————————————————————————————

    FILE: /var/www/vhosts/SITE/httpdocs/report/wp-content/plugins/mts-wp-notification-bar/includes/campaignmonitor/class/services_json.php
    ————————————————————————————————————————————————
    FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
    ————————————————————————————————————————————————
    132 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    775 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    ————————————————————————————————————————————————

    FILE: /var/www/vhosts/SITE/httpdocs/report/wp-content/plugins/mts-wp-notification-bar/includes/campaignmonitor/class/transport.php
    ——————————————————————————————————————————————–
    FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
    ——————————————————————————————————————————————–
    41 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    72 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    220 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    ——————————————————————————————————————————————–

    FILE: /var/www/vhosts/SITE/httpdocs/report/wp-content/plugins/mts-wp-notification-bar/includes/madmimi/Spyc.class.php
    —————————————————————————————————————————————————
    FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
    —————————————————————————————————————————————————
    379 | WARNING | Method name “Spyc::__load” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
    384 | WARNING | Method name “Spyc::__loadString” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
    —————————————————————————————————————————————————

Viewing 1 replies (of 1 total)
  • Thread Starter neotrope

    (@neotrope)

    Oops. I think i have the ‘pro’ version; just noticed the 1.06 vs 1.01 here — doh. Not sure if they share the same code. I likely need to go to the MTS forum.

    I am marking this resolved only due to wrong version, although issue may apply to all iterations. Not know. Oops.

Viewing 1 replies (of 1 total)

The topic ‘PhP 7 compatibility ?’ is closed to new replies.