Fixed method __responseWriteCallback producing E_NOTICE