• hello,
    great plugin, we love it!
    But it doesn’t seem to be compatible with PHP 7.0. Here are the errors found by PHP compatibility checker.

    best regards

    FILE: /customers/1/1/f/knepp.se/httpd.www/wp-content/plugins/appointment-calendar/menu-pages/manage-appointments.php
    ——————————————————————————————————————–
    FOUND 3 ERRORS AFFECTING 3 LINES
    ——————————————————————————————————————–
    35 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    37 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    87 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    ——————————————————————————————————————–

    FILE: /customers/1/1/f/knepp.se/httpd.www/wp-content/plugins/appointment-calendar/menu-pages/ps_pagination.php
    —————————————————————————————————————-
    FOUND 6 ERRORS AND 1 WARNING AFFECTING 7 LINES
    —————————————————————————————————————-
    42 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    73 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    76 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    79 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    80 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    104 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    107 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    —————————————————————————————————————-

    FILE: /customers/1/1/f/knepp.se/httpd.www/wp-content/plugins/appointment-calendar/calendar/tc_calendar.php
    ———————————————————————————————————-
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ———————————————————————————————————-
    210 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    ———————————————————————————————————-

Viewing 2 replies - 1 through 2 (of 2 total)
  • HI knepp

    Glad to know that you love our plugin.

    Thanks for the point out the issue.
    We will discuss this to our development team and fixed this is our next version and let you know. then you can update your plugin with latest version.

    Thanks
    A

    Thread Starter knepp

    (@knepp)

    many thanks abhi!

    I think you’re pretty close to be compatible with PHP7.0. Sure you’ll also need to run some tests, but the most important are the mysql calls and i’m pretty sure it will work well.

    There are many advantages to upgrade to PHP7. Maybe the other question is then to preserve a retro-compatibility with older versions of PHP but it should be possible as long as you don’t use the specific features only available in PHP7.

    • This reply was modified 7 years, 7 months ago by knepp.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP 7.0 compatibility’ is closed to new replies.