• Resolved demotic

    (@demotic)


    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)
  • Plugin Author fabianlindfors

    (@fabianlindfors)

    Hi! Very sorry about the late reply. I just published a small patch for this problem with version 1.3.3 and it should now be fixed.

    Big thanks for creating a ticket and using Advanced Forms!

Viewing 1 replies (of 1 total)
  • The topic ‘PHP Notice – Form Location Rules’ is closed to new replies.