Hi @hube2 thank you. I tried that solution before posting here.
I’m not sure about category description but in tag description, other shortcodes work just fine without any modification made to the functions.php. Only acf shortcodes are not working and that was why I asked for help here.