@jarvis I had already tried that, didn’t help me at the time. But because I know it SHOULD work I decided to simplify more and added what I was doing it to a brand new WP container. It turned out that it was something in my code, although I still don’t know why.
In another class file I am retrieving a bunch of fields using a similar class contructor function. All other fields seemed to work just fine, but as soon as I try to get the option for a repeater field that has 2 (and probably more) fields it produced that error.
Was able to work around it, used the repeater and role to forward to custom urls on wp_login action hook.
Thank you for your time though.
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!