Hello Jonathan and thank you for trying to help me out.
I am using acf pro 5.0.8 and i did placed that code before the get_header.
However,the form gets displayed,but several fields are not working properly,like the map or the logical fields.
Please have a look at ecerkoop.nl/moto/vinde-moto