Detect and inform author about layout malformed definition

[#44738399]