This question has been answered by spbox. See the first response.
case 'OnPageNotFound':
// Check whether active friendly_urls, if not, then the interrupt
if ($modx->getOption('friendly_urls') != 1) break;
$corePath = $modx->getOption('modxtalks.core_path',null,$modx->getOption('core_path').'components/modxtalks/');
require_once $corePath.'model/modxtalks/modxtalksrouter.class.php';
$routermt = new modxTalksRouter($modx);
$routermt->route();
break;Each context can have its own 404 page with the error_page setting. I don't really see why a plugin of any kind would be required. Wayfinder, pdoMenu, getResources, sitemap, and other Packages should serve almost any need.
You can right-click on your plugin and disable it.
You can also create a new 404 page, change the context value in the settings. Clear the site cache. And start from scratch without having to reinstall.
Delete the old 404 page.
Quote from: wshawn at Mar 04, 2015, 01:16 PM
And what do you mean by "change the context value in the settings"?
You stated in the original post that you had used the old Resource ID as the 404 page in the settings. If you create a new page you need to change that setting to point to the new page.
The 16 and 0 being returned to the page are a result of something called within the page. Look there.