Support

Account

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

  • Migration – as usual – export db into file, change all occurrences of old domain to new one. Everything else works fine without problem. I have lot’s of experience in WP.

    It’s not the first time I’m doing this, that’s also why I’m bit confused.

    Two years ago I migrated the same WP instance from same development server, to almost same live server. Difference between those two live servers is in MySQL – on first (where it works, installation two years ago) is 5.6.49 and on second (where I have a problem) is 5.0.12.

    But, all in all, it looks like those ACF variables are not “registered” or something like that… looks like they are not “visible” or accessible on front end. Can I help myself by adding something in functions.php file or something like that?

    Thank you in advance!