Disciplined convex programming error: Cannot perform the operation: {real affine} ./ {convex} What should I do about it

You haven’t shown us what are the variables, CVX expressions, vs. input data etc.

But obviously you violated CVX’s rules. And a lot more than just what triggered that error, because CVX stops when it encounters the first error.

Your first task is to prove that your optimization problem is convex. I can’t say for sure your problem can’t be reformulated for CVX, but it seems quite possibly the case.