Home › Forums › Add-ons › Repeater Field › Leaving fields blank causes notices in wp-includes files › Reply To: Leaving fields blank causes notices in wp-includes files
Not sure if this is the same issue you experienced but I was using a Relationship field, and when it was blank I was getting the “Notice: Uninitialized string offset: 0” message.
I changed the name of the variable “$posts” to something else, and now it all seems to work correctly.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
🚨 The 2023 ACF Annual Survey closes tomorrow! This is your last chance to complete the survey and help guide the evolution of ACF. https://t.co/0cgr9ZFOJ5— Advanced Custom Fields (@wp_acf) May 18, 2023
© 2023 Advanced Custom Fields.