Deprecated (8192): Array and string offset access syntax with curly braces is deprecated [CORE/src/Filesystem/Folder.php, line 576]Code Contextfunction includeFile($file)
{
include $file;
$file = '/home/socialsuite/public_html/socialsuite/vendor/composer/../cakephp/cakephp/src/Filesystem/Folder.php'
include - ROOT/vendor/composer/ClassLoader.php, line 412
Composer\Autoload\includeFile - ROOT/vendor/composer/ClassLoader.php, line 412
Composer\Autoload\ClassLoader::loadClass() - ROOT/vendor/composer/ClassLoader.php, line 301
spl_autoload_call - [internal], line ??
Cake\Filesystem\File::__construct() - CORE/src/Filesystem/File.php, line 85
Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 96
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 92
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
DebugKit\Middleware\DebugKitMiddleware::__invoke() - ROOT/vendor/cakephp/debug_kit/src/Middleware/DebugKitMiddleware.php, line 52
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51
Cake\Http\Server::run() - CORE/src/Http/Server.php, line 80
[main] - ROOT/webroot/index.php, line 37
Warning (512): Unable to emit headers. Headers sent in file=/home/socialsuite/public_html/socialsuite/vendor/cakephp/cakephp/src/Error/Debugger.php line=822 [CORE/src/Http/ResponseEmitter.php, line 48]Code Context $message = "Unable to emit headers. Headers sent in file=$file line=$line";
if (Configure::read('debug')) {
trigger_error($message, E_USER_WARNING);
$response = object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
],
'Cache-Control' => [
[maximum depth reached]
],
'Date' => [
[maximum depth reached]
],
'Last-Modified' => [
[maximum depth reached]
],
'Expires' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => [],
'cacheDirectives' => [],
'body' => 'var __debugKitId,
__debugKitBaseUrl;
var elem = document.getElementById('__debug_kit');
if (elem) {
__debugKitId = elem.getAttribute('data-id');
__debugKitBaseUrl = elem.getAttribute('data-url');
elem = null;
}
(function(win, doc) {
var iframe;
var bodyOverflow;
var onMessage = function(event) {
if (event.data === 'collapse') {
iframe.height = 40;
iframe.width = 40;
doc.body.style.overflow = bodyOverflow;
return;
}
if (event.data === 'toolbar') {
iframe.height = 40;
iframe.width = '100%';
doc.body.style.overflow = bodyOverflow;
return;
}
if (event.data === 'expand') {
iframe.width = '100%';
iframe.height = '100%';
doc.body.style.overflow = 'hidden';
return;
}
};
var onReady = function() {
if (!win.__debugKitId) {
return;
}
var body = doc.body;
// Cannot use css text, because of CSP compatibility.
iframe = doc.createElement('iframe');
iframe.style.position = 'fixed';
iframe.style.bottom = 0;
iframe.style.right = 0;
iframe.style.border = 0;
iframe.style.outline = 0;
iframe.style.overflow = 'hidden';
iframe.style.zIndex = 99999;
iframe.height = 40;
iframe.width = 40;
iframe.src = __debugKitBaseUrl + 'debug-kit/toolbar/' + __debugKitId;
body.appendChild(iframe);
bodyOverflow = body.style.overflow;
window.addEventListener('message', onMessage, false);
};
var logAjaxRequest = function(original) {
return function() {
if (this.readyState === 4 && this.getResponseHeader('X-DEBUGKIT-ID')) {
var params = {
requestId: this.getResponseHeader('X-DEBUGKIT-ID'),
status: this.status,
date: new Date,
method: this._arguments && this._arguments[0],
url: this._arguments && this._arguments[1],
type: this.getResponseHeader('Content-Type')
};
iframe.contentWindow.postMessage('ajax-completed$$' + JSON.stringify(params), window.location.origin);
}
if (original) {
return original.apply(this, [].slice.call(arguments));
}
};
};
var proxyAjaxOpen = function() {
var proxied = window.XMLHttpRequest.prototype.open;
window.XMLHttpRequest.prototype.open = function() {
this._arguments = arguments;
return proxied.apply(this, [].slice.call(arguments));
};
};
var proxyAjaxSend = function() {
var proxied = window.XMLHttpRequest.prototype.send;
window.XMLHttpRequest.prototype.send = function() {
this.onreadystatechange = logAjaxRequest(this.onreadystatechange);
return proxied.apply(this, [].slice.call(arguments));
};
};
// Bind on ready callback.
if (doc.addEventListener) {
doc.addEventListener('DOMContentLoaded', onReady, false);
doc.addEventListener('DOMContentLoaded', proxyAjaxOpen, false);
doc.addEventListener('DOMContentLoaded', proxyAjaxSend, false);
} else {
throw new Error('Unable to add event listener for DebugKit. Please use a browser' +
'that supports addEventListener().');
}
}(window, document));
'
}
$maxBufferLength = (int) 8192
$file = '/home/socialsuite/public_html/socialsuite/vendor/cakephp/cakephp/src/Error/Debugger.php'
$line = (int) 822
$message = 'Unable to emit headers. Headers sent in file=/home/socialsuite/public_html/socialsuite/vendor/cakephp/cakephp/src/Error/Debugger.php line=822'Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 48
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 105
[main] - ROOT/webroot/index.php, line 37
Warning (2): Cannot modify header information - headers already sent by (output started at /home/socialsuite/public_html/socialsuite/vendor/cakephp/cakephp/src/Error/Debugger.php:822) [CORE/src/Http/ResponseEmitter.php, line 148]Code Context $response->getProtocolVersion(),
$response->getStatusCode(),
($reasonPhrase ? ' ' . $reasonPhrase : '')
$response = object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
],
'Cache-Control' => [
[maximum depth reached]
],
'Date' => [
[maximum depth reached]
],
'Last-Modified' => [
[maximum depth reached]
],
'Expires' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => [],
'cacheDirectives' => [],
'body' => ''
}
$reasonPhrase = 'OK'header - [internal], line ??
Cake\Http\ResponseEmitter::emitStatusLine() - CORE/src/Http/ResponseEmitter.php, line 148
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 54
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 105
[main] - ROOT/webroot/index.php, line 37
Warning (2): Cannot modify header information - headers already sent by (output started at /home/socialsuite/public_html/socialsuite/vendor/cakephp/cakephp/src/Error/Debugger.php:822) [CORE/src/Http/ResponseEmitter.php, line 177]Code Context $first = true;
foreach ($values as $value) {
header(sprintf(
$response = object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
],
'Cache-Control' => [
[maximum depth reached]
],
'Date' => [
[maximum depth reached]
],
'Last-Modified' => [
[maximum depth reached]
],
'Expires' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => [],
'cacheDirectives' => [],
'body' => ''
}
$cookies = []
$values = [
(int) 0 => 'application/javascript'
]
$name = 'Content-Type'
$first = true
$value = 'application/javascript'header - [internal], line ??
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 177
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 55
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 105
[main] - ROOT/webroot/index.php, line 37
Warning (2): Cannot modify header information - headers already sent by (output started at /home/socialsuite/public_html/socialsuite/vendor/cakephp/cakephp/src/Error/Debugger.php:822) [CORE/src/Http/ResponseEmitter.php, line 177]Code Context $first = true;
foreach ($values as $value) {
header(sprintf(
$response = object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
],
'Cache-Control' => [
[maximum depth reached]
],
'Date' => [
[maximum depth reached]
],
'Last-Modified' => [
[maximum depth reached]
],
'Expires' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => [],
'cacheDirectives' => [],
'body' => ''
}
$cookies = []
$values = [
(int) 0 => 'public,max-age=86400'
]
$name = 'Cache-Control'
$first = true
$value = 'public,max-age=86400'header - [internal], line ??
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 177
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 55
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 105
[main] - ROOT/webroot/index.php, line 37
Warning (2): Cannot modify header information - headers already sent by (output started at /home/socialsuite/public_html/socialsuite/vendor/cakephp/cakephp/src/Error/Debugger.php:822) [CORE/src/Http/ResponseEmitter.php, line 177]Code Context $first = true;
foreach ($values as $value) {
header(sprintf(
$response = object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
],
'Cache-Control' => [
[maximum depth reached]
],
'Date' => [
[maximum depth reached]
],
'Last-Modified' => [
[maximum depth reached]
],
'Expires' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => [],
'cacheDirectives' => [],
'body' => ''
}
$cookies = []
$values = [
(int) 0 => 'Sat, 6 Dec 2025 5:16:53 GMT'
]
$name = 'Date'
$first = true
$value = 'Sat, 6 Dec 2025 5:16:53 GMT'header - [internal], line ??
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 177
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 55
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 105
[main] - ROOT/webroot/index.php, line 37
Warning (2): Cannot modify header information - headers already sent by (output started at /home/socialsuite/public_html/socialsuite/vendor/cakephp/cakephp/src/Error/Debugger.php:822) [CORE/src/Http/ResponseEmitter.php, line 177]Code Context $first = true;
foreach ($values as $value) {
header(sprintf(
$response = object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
],
'Cache-Control' => [
[maximum depth reached]
],
'Date' => [
[maximum depth reached]
],
'Last-Modified' => [
[maximum depth reached]
],
'Expires' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => [],
'cacheDirectives' => [],
'body' => ''
}
$cookies = []
$values = [
(int) 0 => 'Thu, 8 Mar 2018 18:21:10 GMT'
]
$name = 'Last-Modified'
$first = true
$value = 'Thu, 8 Mar 2018 18:21:10 GMT'header - [internal], line ??
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 177
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 55
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 105
[main] - ROOT/webroot/index.php, line 37
Warning (2): Cannot modify header information - headers already sent by (output started at /home/socialsuite/public_html/socialsuite/vendor/cakephp/cakephp/src/Error/Debugger.php:822) [CORE/src/Http/ResponseEmitter.php, line 177]Code Context $first = true;
foreach ($values as $value) {
header(sprintf(
$response = object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
],
'Cache-Control' => [
[maximum depth reached]
],
'Date' => [
[maximum depth reached]
],
'Last-Modified' => [
[maximum depth reached]
],
'Expires' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => [],
'cacheDirectives' => [],
'body' => ''
}
$cookies = []
$values = [
(int) 0 => 'Sun, 7 Dec 2025 5:16:53 GMT'
]
$name = 'Expires'
$first = true
$value = 'Sun, 7 Dec 2025 5:16:53 GMT'header - [internal], line ??
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 177
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 55
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 105
[main] - ROOT/webroot/index.php, line 37
var __debugKitId,
__debugKitBaseUrl;
var elem = document.getElementById('__debug_kit');
if (elem) {
__debugKitId = elem.getAttribute('data-id');
__debugKitBaseUrl = elem.getAttribute('data-url');
elem = null;
}
(function(win, doc) {
var iframe;
var bodyOverflow;
var onMessage = function(event) {
if (event.data === 'collapse') {
iframe.height = 40;
iframe.width = 40;
doc.body.style.overflow = bodyOverflow;
return;
}
if (event.data === 'toolbar') {
iframe.height = 40;
iframe.width = '100%';
doc.body.style.overflow = bodyOverflow;
return;
}
if (event.data === 'expand') {
iframe.width = '100%';
iframe.height = '100%';
doc.body.style.overflow = 'hidden';
return;
}
};
var onReady = function() {
if (!win.__debugKitId) {
return;
}
var body = doc.body;
// Cannot use css text, because of CSP compatibility.
iframe = doc.createElement('iframe');
iframe.style.position = 'fixed';
iframe.style.bottom = 0;
iframe.style.right = 0;
iframe.style.border = 0;
iframe.style.outline = 0;
iframe.style.overflow = 'hidden';
iframe.style.zIndex = 99999;
iframe.height = 40;
iframe.width = 40;
iframe.src = __debugKitBaseUrl + 'debug-kit/toolbar/' + __debugKitId;
body.appendChild(iframe);
bodyOverflow = body.style.overflow;
window.addEventListener('message', onMessage, false);
};
var logAjaxRequest = function(original) {
return function() {
if (this.readyState === 4 && this.getResponseHeader('X-DEBUGKIT-ID')) {
var params = {
requestId: this.getResponseHeader('X-DEBUGKIT-ID'),
status: this.status,
date: new Date,
method: this._arguments && this._arguments[0],
url: this._arguments && this._arguments[1],
type: this.getResponseHeader('Content-Type')
};
iframe.contentWindow.postMessage('ajax-completed$$' + JSON.stringify(params), window.location.origin);
}
if (original) {
return original.apply(this, [].slice.call(arguments));
}
};
};
var proxyAjaxOpen = function() {
var proxied = window.XMLHttpRequest.prototype.open;
window.XMLHttpRequest.prototype.open = function() {
this._arguments = arguments;
return proxied.apply(this, [].slice.call(arguments));
};
};
var proxyAjaxSend = function() {
var proxied = window.XMLHttpRequest.prototype.send;
window.XMLHttpRequest.prototype.send = function() {
this.onreadystatechange = logAjaxRequest(this.onreadystatechange);
return proxied.apply(this, [].slice.call(arguments));
};
};
// Bind on ready callback.
if (doc.addEventListener) {
doc.addEventListener('DOMContentLoaded', onReady, false);
doc.addEventListener('DOMContentLoaded', proxyAjaxOpen, false);
doc.addEventListener('DOMContentLoaded', proxyAjaxSend, false);
} else {
throw new Error('Unable to add event listener for DebugKit. Please use a browser' +
'that supports addEventListener().');
}
}(window, document));