Home › Forums › General Issues › PHP Notices
Notice: Undefined variable: found in /home/truth/www/dev/plugins/advanced-custom-fields/core/api.php on line 87
Notice: Undefined variable: found in /home/truth/www/dev/plugins/advanced-custom-fields/core/api.php on line 90
Notice: Undefined variable: found in /home/truth/www/dev/plugins/advanced-custom-fields/core/fields/_functions.php on line 55
Notice: Undefined variable: found in /home/truth/www/dev/plugins/advanced-custom-fields/core/fields/_functions.php on line 58
tried GitHub master too, same new notices
I’m showing this error too.
Notice: Undefined variable: found in ../wp-content/plugins/advanced-custom-fields/core/fields/_functions.php on line 55
Notice: Undefined variable: found in ../wp-content/plugins/advanced-custom-fields/core/fields/_functions.php on line 58

Hi guys.
Thanks for the bug report. This error is coming from the most recent update which used some new parameters in the cache functions.
It seems that some servers are allowing a new variable to be create on the fly and others are not.
This also explains why some people are experiencing data loss.
I’ll look into this today and release a fix

Hi guys.
I think the issue here is that some servers don’t understand the ‘$found’ parameter as it has not yet been created.
Can you do a search for all ‘$found’ and replace with ‘$found = false’
$found is in these files:
– api.php
– field_group.php
– _functions.php
Does this fix the issue?
The topic ‘PHP Notices’ is closed to new replies.
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.