Question [Q] My Fitness Pal app crashes upon opening

I'm not sure why but every time I try to open the My fitness bar code scanner to scan a product it crashes as soon as it tries to open my camera app. I flashed my Avatar ROM in TWRP but it keeps on crashing I'm not sure what else to do.