Warning (2): file_put_contents(/home/www/portal_socios/admin/v4.2-1.0/logs/error.log): failed to open stream: Permission denied [CORE/src/Log/Engine/FileLog.php, line 131]Code Context if (!$mask) {
file_put_contents($pathname, $output, FILE_APPEND);
$level =
'warning'
$message = 'DebugKit is disabling itself as your host `admin-test.panacamara.com` is not in the known safe list of top-level-domains (localhost, invalid, test, example, local). If you would like to force DebugKit on use the `DebugKit.forceEnable` Configure option.'
$context = [
'scope' => [
],
]
$output = '2026-11-23 10:37:31 Warning: DebugKit is disabling itself as your host `admin-test.panacamara.com` is not in the known safe list of top-level-domains (localhost, invalid, test, example, local). If you would like to force DebugKit on use the `DebugKit.forceEnable` Configure option.
'
$filename = 'error.log'
$pathname = '/home/www/portal_socios/admin/v4.2-1.0/logs/error.log'
$mask = null
file_put_contents - [internal], line ??
Cake\Log\Engine\FileLog::log() - CORE/src/Log/Engine/FileLog.php, line 131
Cake\Log\Log::write() - CORE/src/Log/Log.php, line 390
Cake\Log\Log::warning() - CORE/src/Log/Log.php, line 475
DebugKit\ToolbarService::isSuspiciouslyProduction() - ROOT/vendor/cakephp/debug_kit/src/ToolbarService.php, line 169
DebugKit\ToolbarService::isEnabled() - ROOT/vendor/cakephp/debug_kit/src/ToolbarService.php, line 105
DebugKit\Plugin::bootstrap() - ROOT/vendor/cakephp/debug_kit/src/Plugin.php, line 48
Cake\Http\BaseApplication::pluginBootstrap() - CORE/src/Http/BaseApplication.php, line 181
Cake\Http\Server::bootstrap() - CORE/src/Http/Server.php, line 111
Cake\Http\Server::run() - CORE/src/Http/Server.php, line 79
[main] - ROOT/webroot/index.php, line 40
Warning: file_put_contents(/home/www/portal_socios/admin/v4.2-1.0/logs/error.log) [function.file-put-contents]: failed to open stream: Permission denied in /home/www/portal_socios/admin/v4.2-1.0/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 131
Notice (8): Array to string conversion [APP/Middleware/ApiHostAuthMiddleware.php, line 22]Code Context $this->_config['allowIp'] = (array) Configure::read("AppSettings.ApiVoto.allowIp", []);
$this->_config['token'] = (string) Configure::read("AppSettings.ApiVoto.token", []);
// dd($this->_config);
$config = [
'allowIp' => [
],
'token' => '',
]
App\Middleware\ApiHostAuthMiddleware::__construct() - APP/Middleware/ApiHostAuthMiddleware.php, line 22
require - ROOT/config/routes.php, line 18
Cake\Http\BaseApplication::routes() - CORE/src/Http/BaseApplication.php, line 197
Cake\Routing\Middleware\RoutingMiddleware::prepareRouteCollection() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 113
Cake\Routing\Middleware\RoutingMiddleware::buildRouteCollection() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 102
Cake\Routing\Middleware\RoutingMiddleware::loadRoutes() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 85
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 133
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 68
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 126
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 58
Cake\Http\Server::run() - CORE/src/Http/Server.php, line 90
[main] - ROOT/webroot/index.php, line 40
Warning: file_put_contents(/home/www/portal_socios/admin/v4.2-1.0/logs/debug.log) [function.file-put-contents]: failed to open stream: Permission denied in /home/www/portal_socios/admin/v4.2-1.0/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 131
Warning (512): Unable to emit headers. Headers sent in file=/home/www/portal_socios/admin/v4.2-1.0/vendor/cakephp/cakephp/src/Error/Debugger.php line=970 [CORE/src/Http/ResponseEmitter.php, line 71]Code Context $message = "Unable to emit headers. Headers sent in file=$file line=$line";
trigger_error($message, E_USER_WARNING);
}
$response = object(Laminas\Diactoros\Response\RedirectResponse) id:0 {
protected headers => [
'location' => [
'' => [maximum depth reached],
],
'Set-Cookie' => [
'' => [maximum depth reached],
],
]
protected headerNames => [
'location' => 'location',
'set-cookie' => 'Set-Cookie',
]
}
$file = '/home/www/portal_socios/admin/v4.2-1.0/vendor/cakephp/cakephp/src/Error/Debugger.php'
$line = (int) 970
$message = 'Unable to emit headers. Headers sent in file=/home/www/portal_socios/admin/v4.2-1.0/vendor/cakephp/cakephp/src/Error/Debugger.php line=970'
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 71
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 128
[main] - ROOT/webroot/index.php, line 40
Warning: file_put_contents(/home/www/portal_socios/admin/v4.2-1.0/logs/error.log) [function.file-put-contents]: failed to open stream: Permission denied in /home/www/portal_socios/admin/v4.2-1.0/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 131
Warning (2): Cannot modify header information - headers already sent by (output started at /home/www/portal_socios/admin/v4.2-1.0/vendor/cakephp/cakephp/src/Error/Debugger.php:970) [CORE/src/Http/ResponseEmitter.php, line 168]Code Context $response->getStatusCode(),
($reasonPhrase ? ' ' . $reasonPhrase : '')
));
$response = object(Laminas\Diactoros\Response\RedirectResponse) id:0 {
protected headers => [
'location' => [
'' => [maximum depth reached],
],
'Set-Cookie' => [
'' => [maximum depth reached],
],
]
protected headerNames => [
'location' => 'location',
'set-cookie' => 'Set-Cookie',
]
}
$reasonPhrase = 'Found'
header - [internal], line ??
Cake\Http\ResponseEmitter::emitStatusLine() - CORE/src/Http/ResponseEmitter.php, line 168
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 74
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 128
[main] - ROOT/webroot/index.php, line 40
Warning: file_put_contents(/home/www/portal_socios/admin/v4.2-1.0/logs/error.log) [function.file-put-contents]: failed to open stream: Permission denied in /home/www/portal_socios/admin/v4.2-1.0/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 131
Warning (2): Cannot modify header information - headers already sent by (output started at /home/www/portal_socios/admin/v4.2-1.0/vendor/cakephp/cakephp/src/Error/Debugger.php:970) [CORE/src/Http/ResponseEmitter.php, line 197]Code Context foreach ($values as $value) {
header(sprintf(
'%s: %s',
$response = object(Laminas\Diactoros\Response\RedirectResponse) id:0 {
protected headers => [
'location' => [
'' => [maximum depth reached],
],
'Set-Cookie' => [
'' => [maximum depth reached],
],
]
protected headerNames => [
'location' => 'location',
'set-cookie' => 'Set-Cookie',
]
}
$cookies = [
]
$values = [
(int) 0 => '/login',
]
$name = 'location'
$first = true
$value = '/login'
header - [internal], line ??
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 197
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 75
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 128
[main] - ROOT/webroot/index.php, line 40
Warning: file_put_contents(/home/www/portal_socios/admin/v4.2-1.0/logs/error.log) [function.file-put-contents]: failed to open stream: Permission denied in /home/www/portal_socios/admin/v4.2-1.0/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 131
Warning (2): Cannot modify header information - headers already sent by (output started at /home/www/portal_socios/admin/v4.2-1.0/vendor/cakephp/cakephp/src/Error/Debugger.php:970) [CORE/src/Http/ResponseEmitter.php, line 235]Code Context if (PHP_VERSION_ID >= 70300) {
return setcookie($cookie->getName(), $cookie->getScalarValue(), $cookie->getOptions());
}
$cookie = object(Cake\Http\Cookie\Cookie) id:0 {
protected name => 'csrfToken'
protected value => '6Dg3NJK+aETVBfNS+uxGAGRlNjQwYjQ1NTQ2MDhhMzE3NWIxZGUwMTlkZmRkZTZlOTRmYjg4NGU='
protected isExpanded => false
protected expiresAt => null
protected path => '/'
protected domain => ''
protected secure => false
protected httpOnly => true
protected sameSite => null
protected defaults => [
'expires' => null,
'path' => '/',
'domain' => '',
'secure' => false,
'httponly' => false,
'samesite' => null,
]
}
setcookie - [internal], line ??
Cake\Http\ResponseEmitter::setCookie() - CORE/src/Http/ResponseEmitter.php, line 235
Cake\Http\ResponseEmitter::emitCookies() - CORE/src/Http/ResponseEmitter.php, line 218
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 206
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 75
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 128
[main] - ROOT/webroot/index.php, line 40
Warning: file_put_contents(/home/www/portal_socios/admin/v4.2-1.0/logs/error.log) [function.file-put-contents]: failed to open stream: Permission denied in /home/www/portal_socios/admin/v4.2-1.0/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 131