Cannot perform the operation {convex}*{affine} and Only scalar quadratic forms can be specified in CVX

I want to solve a simple convex problem that minimizes target function as bellow.

cvx_begin sdp

variable P(2,2) symmetric

variable rho(2,1)

minimize((norm( A+*xold+B*U-A*xhatL(:,i)-inv_pos(P)*rho*(C*A*xold),2)))

subject to

[P P*A-rho*C

 (P*A-rho*C)' P

]>=0

P >= zeros(2,2)
cvx_end

this give an error as Cannot perform the operation {convex}*{affine} then I define a convex variable as a matrix instead of inv§ But it give error as Only scalar quadratic forms can be specified in CVX .
now I don’t know how to solve it. I want to ask you if it is possible please help me.

I will assume this is non-convex unless you can prove otherwise.