Random Error flooding console

Whenever I check the console in-game I get this being spammed into my console.

MENU ERROR: lua/includes/modules/hook.lua:54: attempt to index upvalue ‘gmod’ (a nil value)
lua/includes/modules/hook.lua:54

Its not preventing me from playing, but it is intrusive as the console does prove information etc.

Really? http://forum.facepunch.com/showthread.php?t=1355215