$basePath = $modx->config['base_path']; include_once($basePath . 'assets/modules/error404logger/e404logger.class.inc.php'); $e = & $modx->Event; switch ($e->name) { case 'OnPageNotFound' : { $e404 = new Error404Logger(); $e404->insert($_SERVER["REMOTE_ADDR"], $_SERVER["REQUEST_URI"], $_SERVER["HTTP_REFERER"]); break; } }
I’m getting this error reported via the Reports=>System Events each time I access the module
Event Id: 1 Source: Error 404 Logger - Module Date: 18-Jan-2008 04:07 PM User: admin Undefined index: tab
The module is working great, what an eye opener!
Any ideas?
David
It’s a known bug and there are nobody want to solve it, because module still works despite it.