Home › Forums › General Issues › Fatal error: Call to undefined function has_sub_field() › Reply To: Fatal error: Call to undefined function has_sub_field()
I have not gotten the same error any more, (The function has_sub_field()) but I still get this error.
Notice: Trying to get property of non-object in /var/www/fru-k.no/wp-includes/post-template.php on line 29
Any clues? (I have attached the entire source code for the page with the error. The error appears on line 142. I don’t think post-template.php has been altered at all. I have compared it with other wordpress sites)
I have also attached the frontend index of the working page.
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!
© 2023 Advanced Custom Fields.