Home › Forums › Front-end Issues › get_field() return null on live server, but on development server works fine › Reply To: get_field() return null on live server, but on development server works fine
I don’t know what the problem is yet. That’s why I asked what kind of fields are not showing the correct values. Is it all fields or just some fields?
For example, a link field stores a serialized array. Altering the value of the link in a text file and then importing that into the DB will likely break that field. Serialized values need special handling. I generally import the db directly and then use this tool to make updates https://interconnectit.com/search-and-replace-for-wordpress-databases/
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.