weird DB error with custom patch

The modifications I done to the core: http://pastebin.com/vzSREcxR

What’s the issue? Always on start up I get this error:

Table ‘disenchant_loot_template’ entry 2998272 (item disenchant id) does not exist but used as loot id in DB.

Other core modifications? No.

I don’t understand how it comes to this error /emoticons/default_smile.png)

Can someone take a look please?