Support » Plugin: Contact Form DB » PHP 7 Support

  • I ran the PHP Compatibility Checker from WP Engine and it reported that CFDB is incompatible (1 warning, 19 errors) with PHP 7. Is there an updated version coming soon to correct this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Michael Simpson

    (@msimpson)

    That may cover the one warning but how about the 19 errors? Does CFDB absolutely work with PHP 7? Thank you for the quick response!

    Hi jbryant61,
    the 19 errors you mentioned are all of the same nature:

    FILE: …/plugins/contact-form-7-to-database-extension/CFDBWpdbUnbufferedResultIterator.php
    ——————————————————————————————————————————————-
    FOUND 6 ERRORS AFFECTING 6 LINES
    ——————————————————————————————————————————————-
    72 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    74 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    97 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    100 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    122 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    124 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    ——————————————————————————————————————————————-

    FILE: …/plugins/contact-form-7-to-database-extension/CFDBQueryResultIterator.php
    ———————————————————————————————————————————-
    FOUND 13 ERRORS AFFECTING 13 LINES
    ———————————————————————————————————————————-
    47 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    59 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    85 | 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.
    114 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    121 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    122 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    132 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    136 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    138 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    146 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    150 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    152 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    ———————————————————————————————————————————-

    On the plugin#s website Michael explains:
    “The code contains both the new “mysqli” and old “mysql_” for both new and old versions of PHP. The old code is not run under PHP 7.”

    This means, that th plugin IS compatible with PHP7 as well!

    Plugin Author Michael Simpson

    (@msimpson)

    Exactly right.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PHP 7 Support’ is closed to new replies.