{"id":16945821,"date":"2023-08-03T23:06:23","date_gmt":"2023-08-03T23:06:23","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/errors-305\/"},"modified":"2023-08-03T23:06:23","modified_gmt":"2023-08-03T23:06:23","slug":"errors-305","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/errors-305\/","title":{"rendered":"Errors"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hello,<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Great plugin but I&#8217;ve been getting some errors using PHP 8 that I was not getting with PHP 7.4.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">With PHP 7.4 I don&#8217;t get any errors.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">With PHP 8.0<br \/>If I set every field to be a unique field in duplicate killer settings I don&#8217;t get any errors. (However I do still get an error for the honeypot field.)<br \/>But if I don&#8217;t set a field to be a unique field then I get an error for that field.<br \/>Ex. With message field not set as unique field I get this error:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;03-Aug-2023 22:55:34 UTC] PHP Warning:  Undefined array key \"message\" in \/home3\/folder\/public_html\/my-directory\/wp-content\/plugins\/duplicate-killer\/includes\/functions_cf7.php on line 70<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">My form has quite a few fields and will be submitted from the same state so there will be some duplicate fields submitted for that field so I only want to set maybe name and email as the unique fields.<\/p>\n","protected":false},"template":"","class_list":["post-16945821","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16945821","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16945821\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=16945821"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}