• Resolved terry777

    (@terry777)


    My site went down for awhile today, and the reason was that it’s running on php 7.2 and something is incompatible. They rolled it back to 7.1 so it’s working again, but I ran the PHP compatibility checker for versions 7.0, 7.1 and 7.2 and this plugin came up with 5 errors and 2 warnings on all. I don’t know if it was the plugin that caused the site to go down, as I’m not sure it’s actually being used, having been installed by someone else, but I thought you should know. It also has not been tested with WP 4.9.6 which we’re running now.

    If you let me know that you’ve corrected it, I’ll update it. Thanks.

    FILE: …/wp-content/plugins/videowhisper-live-streaming-integration/bp.php
    —————————————————————————————————————————
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    —————————————————————————————————————————
    14 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    —————————————————————————————————————————

    …/wp-content/plugins/videowhisper-live-streaming-integration/ls/incsan.php
    ———————————————————————————————————————————————
    FOUND 2 ERRORS AFFECTING 1 LINE
    ———————————————————————————————————————————————
    25 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    25 | ERROR | Function mysql_escape_string() is deprecated since PHP 5.3 and removed since PHP 7.0; Use mysqli::real_escape_string() instead
    ———————————————————————————————————————————————

    …/wp-content/plugins/videowhisper-live-streaming-integration/videowhisper_streaming.php
    ———————————————————————————————————————————————–
    FOUND 3 ERRORS AND 1 WARNING AFFECTING 4 LINES
    ———————————————————————————————————————————————–
    18 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    1724 | ERROR | Using ‘break’ outside of a loop or switch structure is invalid and will throw a fatal error since PHP 7.0
    6705 | ERROR | Using ‘break’ outside of a loop or switch structure is invalid and will throw a fatal error since PHP 7.0
    6828 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    ———————————————————————————————————————————————–

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Php errors and warning’ is closed to new replies.