• Resolved Derek Padula

    (@derekpadula)


    Whenever I submit a message through my form or update the settings in the admin, I receive multiple messages that state, “Warning: Undefined array key ‘___’ on /var/….php on line ___”

    I’ve shared screenshots here:

    Quick Contact Form Undefined Array Key Warning

    Is this due to a problem with PHP8? I saw in a support post from a year ago that you said you weren’t going to support PHP8. Is that still the case?

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

    (@alanfuller)

    Hi,

    Warnings and Notices are not functional issues.

    They exist to advise developers and should NEVER be enabled to display on a production website.

    If you are seeing Warnings and Notices on a production site that is not in DEBUG mode then you have got some settings incorrect and you should change them so Warning and Errors are not displayed.

    See also https://fullworks.net/docs/plugins-general/troubleshooting-plugins-general/php-notices-and-warnings/

    In terms of PHP 8.0 I don’t have any issues using it on PHP 8.0 ( obviously errors and warnings logged but not impacting functionality )

    Plugin Author Alan Fuller

    (@alanfuller)

    I wrote that long response and then realised it is spelt out on the plugin README

    https://ibb.co/NZQrqjF

    Thread Starter Derek Padula

    (@derekpadula)

    Yes, I did have debug mode turned on. It was for other issues. Then I saw these warnings and thought I’d let you know.

    Turning off debugging turned off the warnings.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Undefined Array Key Warnings’ is closed to new replies.