I need some help with my code

As @Erling says, multiplication of variables is generally non-convex, and is not allowed in CVX, except in GP mode. sym variables can not be mixed with CVX variables or expressions.