Errors messages not showing

I have already done the code for width/height limitations and DPI limitation that is what I needed. It works great but It used to show the errors but not anymore. What can be the solution?

Thank you!