void luaQ_getfield(lua_State *L, int index, const char *name)

This function is similar to lua_getfield but never propagates errors causes by executing the metatable __index functions. When such an error occurs, this function simply returns nil.