Well after some time time and the support of the guys in ACF i got through this. My template was accessing category data only by reference, a variable was created that referenced to the category id, and by that variable the category name and other data were called.
Thankfully the guys at ACF have thought through that and the only thing i had to add was the variable in the classic function the_field(‘field_name’,$variable) and everything worked great.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users