I am unable to edit the home page that uses ACF Pro fields. In troubleshooting, when I try to edit the field groups, I am unable to add a field, rule, edit anything. The options are unresponsive. We’re using Classic Editor ver 1.5. Any known conflicts? Happy for any advice in troubleshooting. Thanks!
I am having the same issue, I checked the error logs on the server and there was nothing there regarding ACF. I also tried deactivating my other plugins and that also did not fix it. The console error is:
Uncaught ReferenceError: acf is not defined
Which seems weird, the only recent action I’ve taken regarding ACF is updating it to the newest version, is it possible the update caused this issue?
There are a few possibles.
The first is that you’re browser may be trying to used cached versions of scripts, try clearing your browser cache.
The second is that something could have been corrupted during the update process. Try updating again. You may need to log into your account and download/upload ACF that way to fix it this is the case.
You could still have another script issue. Is there any other issue before the error you listed?
There were no other errors in the console and I had tried clearing my cache as well with no success.
What weirdly worked is deleting ACF Pro entirely and reinstalling an older version from a backup I had taken before the recent update, then using healthcheck plugin to test any interactions between plugins and now the previous version is working fine.
I’m going to try to download a fresh version of the new version this weekend and try with the new version again.
While it does not happen often, it is possible for files to be corrupted during the update process. I have had it happen to me in the past. Usually when it happens the file is truncated. Even individual lines can be truncated. Not sure how this happens. When corruption happens it usually happens to very large files.
Another way to test out if there is a corrupt JS file is to add
to your wp-config.php file. This will cause WP to load unminified versions of scripts. If it works like this then one of the minified scripts is likely corrupt.
You must be logged in to reply to this topic.
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!
© 2020 Advanced Custom Fields. Subscribe