PHP Errors with Contact Form
-
When submitting a contact form, the following error messsages are generated everytime:
[03-Apr-2023 21:25:28 UTC] PHP Warning: Undefined array key 1 in /home4/…/public_html/wp-content/plugins/wpforms-lite/includes/fields/class-gdpr-checkbox.php on line 304
[03-Apr-2023 21:25:28 UTC] PHP Warning: Trying to access array offset on value of type null in /home4/…/public_html/wp-content/plugins/wpforms-lite/includes/fields/class-gdpr-checkbox.php on line 304This is the basic contact form only modified to have the simple name field rather than first and last name. If I uncheck the GDPR box, the error goes away.
All plugins and WP are up to date. This has been ongoing for some time through different versions of this plugin and WP.
Suggestions?
- The topic ‘PHP Errors with Contact Form’ is closed to new replies.