PHP Notice – Form Location Rules
-
Hi Fabian
Can you have a look at this please?
PHP Notice: Undefined index: post_type in /blah/blah/blah/wp-content/plugins/advanced-forms/acf/acf-additions.php on line 116
You get this several times when the page is refreshed (front end as well) because ACF calls it for every field group that has the acf_form location rule?
This occurs presumably because the $options array doesn’t always contain the key ‘post_type’. I wonder if you could amend the code to check if it isset before checking it’s value?
Cheers
Ben
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘PHP Notice – Form Location Rules’ is closed to new replies.