Oukay, found the problem. It wasn't the php code but a typoscript mistake: module.tx_hfmultilang { persistence { classes { Tx_Hfmultilang_Domain_Model_Multilang { /* mapping... */ } The comments started on the same line as the mapping. D'oh! Maybe this helps somebody