How to convert this problem to adapt to DCP rules?

I use function entr.but sometimes it does not work well .and thank to your help Cannot perform the operation: {positive constant} .* {real affine} i know where is wrong with it. Now works well although it’s slow speed but I can accept it.