Support » Plugin: Gravity Forms Constant Contact » PHP 7.2 Compatibility

  • I have just run the PHP Compatibility Checker by WP-Engine and found that this plugin has a few problems. Is there any expectation for when this will be compatible with PHP 7.2?

    Here are the errors:

    FILE: /plugins/gravity-forms-constant-contact/api/cc_class.php
    —————————————————————————————————————
    FOUND 2 ERRORS AFFECTING 1 LINE
    —————————————————————————————————————
    82 | ERROR | Extension ‘ereg’ is deprecated since PHP 5.3 and removed since PHP 7.0; Use pcre instead
    82 | ERROR | Function eregi() is deprecated since PHP 5.3 and removed since PHP 7.0; Use preg_match() instead
    —————————————————————————————————————

    FILE: /plugins/gravity-forms-constant-contact/constantcontact.php
    ————————————————————————————————————
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ————————————————————————————————————
    1267 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    ————————————————————————————————————

Viewing 8 replies - 1 through 8 (of 8 total)
  • Ditto. Would like to know what is being done on this subject as I prepare for our upgrade to PHP 7.2.

    FILE: /wp-content/plugins/gravity-forms-constant-contact/constantcontact.php
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    1295 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    —————————————————————————————————-
    FILE: /wp-content/plugins/gravity-forms-constant-contact/api/cc_class.php
    FOUND 2 ERRORS AFFECTING 1 LINE
    82 | ERROR | Function eregi() is deprecated since PHP 5.3 and removed since PHP 7.0; Use preg_match() instead
    82 | ERROR | Extension ‘ereg’ is deprecated since PHP 5.3 and removed since PHP 7.0; Use pcre instead
    —————————————————————————————————————

    • This reply was modified 9 months, 3 weeks ago by  StephenEquus.

    I ran the PHP compatibility checker for 7.2 and got the same errors as noted above.

    Wondering if the developer is planning on releasing an update to fix this issue.

    Happy to test it out and provide feedback if necessary.

    Thanks!

    I got quite a few errors/warnings from the PHP Compatibility Checker and most plugin authors I asked about them said they were false-posititves.

    This is the last plugin author I need to hear back from so i can tell the business owners ALL plugins checked out as ok, but I have a bad feeling it’s not going to happen.

    Either way, the plugin is probably ok with PHP 7.2 – but we won’t know until we pull the trigger.

    I went ahead and updated the web server running this plugin to PHP 7.2. (For what it’s worth, this site is hosted with WP Engine.)

    I checked the error logs post-upgrade and none were reported when I browsed the website and submitted my Gravity Form which hooks up to Constant Contact.

    I also checked the Constant Contact account and verified that the submitted email came through.

    I don’t know enough to say whether the eregi() error noted above is a false positive, but I can say that this plugin appears to be working on my PHP 7.2 web server just fine right now.

    Hey folks, wanted to hop in here since this one confused our team a little. Make sure you are using the latest version of the plugin, which should be version 3.1.1. For some reason we had a few sites that were using a really old version, but WordPress wasn’t noting that there was an available update.

    Once you update to the newest version there shouldn’t be any PHP compatibility issues at all. When we tested the plugin it passed without a problem.

    StephenEquus

    (@stephenequus)

    Just checked. I have 3.1.1

    OMG! Thanks for the tip Jonathan!

    I can’t believe I missed that. I too was running an old version that didn’t show there was an update available.

    What’s weird is that when I deactivate the plugin the update notice appears. But once I activate it again it’s gone.

    I deactivated the plugin, ran the update, and performed another test submission. All appears to be well.

    No problem @evster. It’s incredibly odd and we have no idea why the update doesn’t always appear. Thanks for the note on deactivating. Hopefully that helps make it a less manual process for folks.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘PHP 7.2 Compatibility’ is closed to new replies.