Type Error – repeatable fields

[ad_1]

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

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer