Check for valid <interface> in theme layout file

Check that <interface> in theme layout file has defined the attribute id because interfaces must have an ID.