What is being done when the error happens? You need to look at the code that’s calling on something in ACF and track it back to figure it out. The error could be caused by any number or things and there’s no way to figure that out with just the error reported.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users