[2016-06-14 10:00:43] (ERROR @ /home/deb57431n8/domains/my-awesome-site.be/public_html/core/cache/includes/elements/modplugin/11.include.cache.php : 101) PHP warning: Cannot modify header information - headers already sent by (output started at /home/deb57431n8/domains/my-awesome-site.be/public_html/core/model/modx/modresponse.class.php:189)
What plugin has the id 11 ? you can get this by editing the file core/cache/includes/elements/modplugin/11.include.cache.php and looking at the end of line 2
domains/my-awesome-site.be/public_html/core/cache/includes/elements/modplugin/11.include.cache.php : 101
// Don't execute in manager past this point
if ($modx->context->get('key') == 'mgr') {
return;
}
[u][b]header ('X-XFPC-Cache-Active: Yes');[/b][/u]
$cache = true;
$refreshCache = false;
// If posting, don't cache
if (strtolower($_SERVER['REQUEST_METHOD']) == 'post') {
// Don't cache and remove cached file
$cache = false;
$refreshCache = true;
}Quote from: paulp at Jun 14, 2016, 07:56 AMWhat plugin has the id 11 ? you can get this by editing the file core/cache/includes/elements/modplugin/11.include.cache.php and looking at the end of line 2
Hi Paulp,
Great tip.
I looked into it, and ID 11 is the caching plugin "XFPC"
I opened thedomains/my-awesome-site.be/public_html/core/cache/includes/elements/modplugin/11.include.cache.php : 101
and the "error-line 101" is here now located at line 6, as is shown in the php error:
// Don't execute in manager past this point if ($modx->context->get('key') == 'mgr') { return; } header ('X-XFPC-Cache-Active: Yes'); $cache = true; $refreshCache = false; // If posting, don't cache if (strtolower($_SERVER['REQUEST_METHOD']) == 'post') { // Don't cache and remove cached file $cache = false; $refreshCache = true; }