Disciplined convex programming error: Illegal operation: {convex} + {concave}

The forum readers don’t know what your actual optimization problem is. Your first task is to prove the optimization problem is convex. if it is not, you should use a different tool, such as YALMIP.