• Resolved forge12

    (@forge12)


    Hey there,
    found a bug causing the repeatable fields not to work properly. The issue is in includes/MergeTags/Fields.php, Classs NF_MergeTags_Fields in Line 569.

    if($id === (int)$id) 

    Always returns false for repeatable fields; therefore the return value will be empty, not recognizing the repeatable field and therefore throwing a “Type error”.

    Changing to the following code resolved the issue for us:

    if($id == (int)$id)

    Regards
    Marc

Viewing 1 replies (of 1 total)
  • Plugin Support Quay Morgan

    (@quaymorgan)

    Hi again! Thanks for reporting this. We don’t have a matching issue and attempting to replicate, we’re not seeing the same thing as you are. We may just be misunderstanding how to replicate. Could you please reach out to us, at your convenience, in our primary Ninja Forms Support? We’re a lot better suited to troubleshooting there and would like to help figure this out!

Viewing 1 replies (of 1 total)
  • The topic ‘Type Error – repeatable fields’ is closed to new replies.