• Just ran a tool to test my plugins for compatibility with PHP 7.3 and it comes up with a warning that Age Gate had errors as it is still using mysql vs mysqli functions. Please update this.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Phil

    (@philsbury)

    Hi @ssrob,

    Age Gate is developed in a PHP 7 environment, it also doesn’t directly make any database calls. It does use some vendor packages, but I can find no MySQL references there either. Does your test suggest where this might be?

    Thanks
    Phil

    Thread Starter ssrob

    (@ssrob)

    Hi Phil,

    Thanks for the quick response!

    I get the following warning while running a PHP compatibility tool / plug-in:

    FILE: /var/www/htdocs/wp-content/plugins/age-gate/vendor/wixel/gump/examples/escaping_mysql_strings.php
    —————————————————————————————————————
    FOUND 1 ERROR AFFECTING 1 LINE
    —————————————————————————————————————
    38 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
    —————————————————————————————————————

    Cheers,
    Rob

    Plugin Author Phil

    (@philsbury)

    Hi Rob (@ssrob),

    Thats just a test file from one of the vendor packages (form validation). It’ll never be called in an application, but I’ll send them a pull request as that test would obviously break if I did want to test it

    Thanks
    Phil

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘PHP 7.x Incompatible’ is closed to new replies.