Ahh, I figured it out myself. Change the ownership of the acf-json
to www-data:www-data. This solved the problem for me.
If you’re curious, www-data
is a user/group set created specifically for web servers.
Reference:
Ubuntu Forum
Even I face the same problem with Twentysixteen Child theme.
I tried the filters mentioned in https://www.advancedcustomfields.com/resources/local-json/, but this doesn’t solve the problem.
Any help is much appreciated.