Home › Forums › Bug Reports › Custom field type throws fatal error › Reply To: Custom field type throws fatal error
There is not a get_rest_schema() method in the base class “acf_field”. The custom field template code was last updated 4 years ago. I assume that this function was added to the classes for each custom field after that.
You will need to create this method in your new class.
I do not know how this works. The only suggestion I can make is that you look at this method ACF’s custom field classes to see how it works to figure out what you need to do.
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!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.