As I wrote before:
Perhaps you should start from simple subexpressions (X op Y), and gradually build up as necessary, and find out where specifically the error is occurring.
In general simplify, until you find the simplest example illustrating the problem. Then create a reproducible version of the example, complete with all input data. I suspect a very short program with very small amount of data would be sufficient. Also, make liberal use of the whos command, including applying it to CVX expressions (or just type the expression at the command line to see what CVX says).