这是一个不太规范的松散句子,在英语语法上把它叫做“loose sentence”。这个句子也是正确的句子,但不规范。规范的句子结构应该是:
There is something wrong with my layout and I have to alter it.
或者:There is something wrong with my layout ; I have to alter it.
严格地说这句话是有毛病的。因为在英语中逗号是不能作为连词用,去连接两句话。但不知你的这个句子出自哪里?如果是网上的,那很正常,无须追究。
两个单句当然两个谓语