• Resolved kenrichman

    (@kenrichman)


    Gravity Forms + php7.4 + Popup Maker = lots of notices

    Notice: Trying to access array offset on value of type null in /home/example/public_html/wp-content/plugins/gravityforms/form_display.php on line 584

Viewing 3 replies - 1 through 3 (of 3 total)
  • Maria T

    (@mariatogonon)

    Hello @kenrichman – thanks for writing in and sorry to hear that you are having this issue.

    Our Popup Maker plugin is compatible with PHP version 7+, and has been since the first day it was released. Over a third of all Popup Maker users run their version of the plugin software on PHP 7 servers. Every in-house server that operates our digital store, demo site, etc. runs on PHP 7. Hence, this should work properly.

    That said, if you are seeing lots of notices, seems this is coming from the Gravity Forms plugin.

    Please could you make sure that your plugins are updated to their latest version? Also, could you try to reach out to them and ask for their insights regarding those ‘notices’? They should be able to shed some light since they know better how it was built.

    We hope everything goes well for you.

    If you have further questions, let us know.

    Thank you & have a great day!

    Thread Starter kenrichman

    (@kenrichman)

    Hi Maria
    I have already reached out to Gravity Forms and they say the fault is likely with your plugin. It only occurs with php 7.4.
    Have you tried installing the two on the same server and switching to php 7.4?
    Do let us know if you find the same issue when you do.

    Plugin Author Daniel Iser

    (@danieliser)

    @kenrichman – Sorry to hear that. I have tested our plugins up to PHP 8.1 without issue as of now.

    That said we do have an integration with Gravity Forms, but the only 2 things we do is hook in to form submissions to do stuff with popups, and get a list of forms for our settings pages, so I can’t see how this would be something on our end honestly unless it only occurs when a form is submitted or when editing a popup specifically.

    https://github.com/PopupMaker/Popup-Maker/blob/master/classes/Integration/Form/GravityForms.php

    Can you clarify when these notices are generated?

    Also very strange that it would only occur on one version of PHP, in my opinion it would be more likely that a 3rd plugin was involved in the conflict than PHP version issue as both plugins simply have too many users that overlap to not have shown up prior to now, unless a recent change in one prompted it, but our changes have been very minor.

    You might try a plugin like Fatal Error Notify to see if you can log more details for the error like a stack trace.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Incompatible with Gravity Forms and php 7.4’ is closed to new replies.