Notice (8): Trying to get property 'foreign_key' of non-object [APP/Controller/CategoriesController.php, line 94]Code Context ->where([
'AND' => ['Categories.id' => $translation->foreign_key, 'ltc.locale' => I18n::locale()]
]);
$saleType = 'hotel'
$query = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT TranslationCategories.id AS `TranslationCategories__id`, TranslationCategories.locale AS `TranslationCategories__locale`, TranslationCategories.model AS `TranslationCategories__model`, TranslationCategories.foreign_key AS `TranslationCategories__foreign_key`, TranslationCategories.field AS `TranslationCategories__field`, TranslationCategories.content AS `TranslationCategories__content` FROM translation_categories TranslationCategories WHERE (field = :c0 AND content = :c1) LIMIT 1',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'TranslationCategories__id' => 'string',
'TranslationCategories.id' => 'string',
'id' => 'string',
'TranslationCategories__locale' => 'string',
'TranslationCategories.locale' => 'string',
'locale' => 'string',
'TranslationCategories__model' => 'string',
'TranslationCategories.model' => 'string',
'model' => 'string',
'TranslationCategories__foreign_key' => 'string',
'TranslationCategories.foreign_key' => 'string',
'foreign_key' => 'string',
'TranslationCategories__field' => 'string',
'TranslationCategories.field' => 'string',
'field' => 'string',
'TranslationCategories__content' => 'text',
'TranslationCategories.content' => 'text',
'content' => 'text'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\TranslationCategoriesTable) {}
}
$translation = nullApp\Controller\CategoriesController::index() - APP/Controller/CategoriesController.php, line 94
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 606
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 120
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 256
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
App\Middleware\NitroPackMiddleware::__invoke() - APP/Middleware/NitroPackMiddleware.php, line 14
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 164
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 100
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 97
[main] - ROOT/webroot/index.php, line 22
Warning (512): Unable to emit headers. Headers sent in file=/usr/share/nginx/sites/luxury-discounts/production/vendor/cakephp/cakephp/src/Error/Debugger.php line=855 [CORE/src/Http/ResponseEmitter.php, line 53]Code Context if (Configure::read('debug')) {
trigger_error($message, E_USER_WARNING);
} else {
$response = object(Cake\Http\Response) {
'status' => (int) 302,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
],
'Access-Control-Allow-Origin' => [
[maximum depth reached]
],
'Access-Control-Allow-Methods' => [
[maximum depth reached]
],
'Access-Control-Allow-Headers' => [
[maximum depth reached]
],
'Access-Control-Max-Age' => [
[maximum depth reached]
],
'Location' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => ''
}
$maxBufferLength = (int) 8192
$file = '/usr/share/nginx/sites/luxury-discounts/production/vendor/cakephp/cakephp/src/Error/Debugger.php'
$line = (int) 855
$message = 'Unable to emit headers. Headers sent in file=/usr/share/nginx/sites/luxury-discounts/production/vendor/cakephp/cakephp/src/Error/Debugger.php line=855'Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 53
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 140
[main] - ROOT/webroot/index.php, line 22
Warning (2): Cannot modify header information - headers already sent by (output started at /usr/share/nginx/sites/luxury-discounts/production/vendor/cakephp/cakephp/src/Error/Debugger.php:855) [CORE/src/Http/ResponseEmitter.php, line 154]Code Context $response->getStatusCode(),
($reasonPhrase ? ' ' . $reasonPhrase : '')
));
$response = object(Cake\Http\Response) {
'status' => (int) 302,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
],
'Access-Control-Allow-Origin' => [
[maximum depth reached]
],
'Access-Control-Allow-Methods' => [
[maximum depth reached]
],
'Access-Control-Allow-Headers' => [
[maximum depth reached]
],
'Access-Control-Max-Age' => [
[maximum depth reached]
],
'Location' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => ''
}
$reasonPhrase = 'Found'header - [internal], line ??
Cake\Http\ResponseEmitter::emitStatusLine() - CORE/src/Http/ResponseEmitter.php, line 154
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 59
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 140
[main] - ROOT/webroot/index.php, line 22
Warning (2): Cannot modify header information - headers already sent by (output started at /usr/share/nginx/sites/luxury-discounts/production/vendor/cakephp/cakephp/src/Error/Debugger.php:855) [CORE/src/Http/ResponseEmitter.php, line 183]Code Context foreach ($values as $value) {
header(sprintf(
'%s: %s',
$response = object(Cake\Http\Response) {
'status' => (int) 302,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
],
'Access-Control-Allow-Origin' => [
[maximum depth reached]
],
'Access-Control-Allow-Methods' => [
[maximum depth reached]
],
'Access-Control-Allow-Headers' => [
[maximum depth reached]
],
'Access-Control-Max-Age' => [
[maximum depth reached]
],
'Location' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => ''
}
$cookies = [
'language' => [
'name' => 'language',
'value' => 'tr',
'path' => '/',
'domain' => '.nitropack.luxury-discounts.com',
'secure' => false,
'httpOnly' => false,
'expire' => '1803685084',
'samesite' => null
],
'autolanguage' => [
'name' => 'autolanguage',
'value' => 'tr',
'path' => '/',
'domain' => '.nitropack.luxury-discounts.com',
'secure' => false,
'httpOnly' => false,
'expire' => '1803685084',
'samesite' => null
],
'calendarcurrency' => [
'name' => 'calendarcurrency',
'value' => 'TRY',
'path' => '/',
'domain' => '.nitropack.luxury-discounts.com',
'secure' => false,
'httpOnly' => false,
'expire' => '1803685084',
'samesite' => null
]
]
$values = [
(int) 0 => 'text/html; charset=UTF-8'
]
$name = 'Content-Type'
$first = true
$value = 'text/html; charset=UTF-8'header - [internal], line ??
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 183
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 60
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 140
[main] - ROOT/webroot/index.php, line 22
Warning (2): Cannot modify header information - headers already sent by (output started at /usr/share/nginx/sites/luxury-discounts/production/vendor/cakephp/cakephp/src/Error/Debugger.php:855) [CORE/src/Http/ResponseEmitter.php, line 183]Code Context foreach ($values as $value) {
header(sprintf(
'%s: %s',
$response = object(Cake\Http\Response) {
'status' => (int) 302,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
],
'Access-Control-Allow-Origin' => [
[maximum depth reached]
],
'Access-Control-Allow-Methods' => [
[maximum depth reached]
],
'Access-Control-Allow-Headers' => [
[maximum depth reached]
],
'Access-Control-Max-Age' => [
[maximum depth reached]
],
'Location' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => ''
}
$cookies = [
'language' => [
'name' => 'language',
'value' => 'tr',
'path' => '/',
'domain' => '.nitropack.luxury-discounts.com',
'secure' => false,
'httpOnly' => false,
'expire' => '1803685084',
'samesite' => null
],
'autolanguage' => [
'name' => 'autolanguage',
'value' => 'tr',
'path' => '/',
'domain' => '.nitropack.luxury-discounts.com',
'secure' => false,
'httpOnly' => false,
'expire' => '1803685084',
'samesite' => null
],
'calendarcurrency' => [
'name' => 'calendarcurrency',
'value' => 'TRY',
'path' => '/',
'domain' => '.nitropack.luxury-discounts.com',
'secure' => false,
'httpOnly' => false,
'expire' => '1803685084',
'samesite' => null
]
]
$values = [
(int) 0 => '*'
]
$name = 'Access-Control-Allow-Origin'
$first = true
$value = '*'header - [internal], line ??
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 183
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 60
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 140
[main] - ROOT/webroot/index.php, line 22
Warning (2): Cannot modify header information - headers already sent by (output started at /usr/share/nginx/sites/luxury-discounts/production/vendor/cakephp/cakephp/src/Error/Debugger.php:855) [CORE/src/Http/ResponseEmitter.php, line 183]Code Context foreach ($values as $value) {
header(sprintf(
'%s: %s',
$response = object(Cake\Http\Response) {
'status' => (int) 302,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
],
'Access-Control-Allow-Origin' => [
[maximum depth reached]
],
'Access-Control-Allow-Methods' => [
[maximum depth reached]
],
'Access-Control-Allow-Headers' => [
[maximum depth reached]
],
'Access-Control-Max-Age' => [
[maximum depth reached]
],
'Location' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => ''
}
$cookies = [
'language' => [
'name' => 'language',
'value' => 'tr',
'path' => '/',
'domain' => '.nitropack.luxury-discounts.com',
'secure' => false,
'httpOnly' => false,
'expire' => '1803685084',
'samesite' => null
],
'autolanguage' => [
'name' => 'autolanguage',
'value' => 'tr',
'path' => '/',
'domain' => '.nitropack.luxury-discounts.com',
'secure' => false,
'httpOnly' => false,
'expire' => '1803685084',
'samesite' => null
],
'calendarcurrency' => [
'name' => 'calendarcurrency',
'value' => 'TRY',
'path' => '/',
'domain' => '.nitropack.luxury-discounts.com',
'secure' => false,
'httpOnly' => false,
'expire' => '1803685084',
'samesite' => null
]
]
$values = [
(int) 0 => '*'
]
$name = 'Access-Control-Allow-Methods'
$first = true
$value = '*'header - [internal], line ??
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 183
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 60
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 140
[main] - ROOT/webroot/index.php, line 22
Warning (2): Cannot modify header information - headers already sent by (output started at /usr/share/nginx/sites/luxury-discounts/production/vendor/cakephp/cakephp/src/Error/Debugger.php:855) [CORE/src/Http/ResponseEmitter.php, line 183]Code Context foreach ($values as $value) {
header(sprintf(
'%s: %s',
$response = object(Cake\Http\Response) {
'status' => (int) 302,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
],
'Access-Control-Allow-Origin' => [
[maximum depth reached]
],
'Access-Control-Allow-Methods' => [
[maximum depth reached]
],
'Access-Control-Allow-Headers' => [
[maximum depth reached]
],
'Access-Control-Max-Age' => [
[maximum depth reached]
],
'Location' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => ''
}
$cookies = [
'language' => [
'name' => 'language',
'value' => 'tr',
'path' => '/',
'domain' => '.nitropack.luxury-discounts.com',
'secure' => false,
'httpOnly' => false,
'expire' => '1803685084',
'samesite' => null
],
'autolanguage' => [
'name' => 'autolanguage',
'value' => 'tr',
'path' => '/',
'domain' => '.nitropack.luxury-discounts.com',
'secure' => false,
'httpOnly' => false,
'expire' => '1803685084',
'samesite' => null
],
'calendarcurrency' => [
'name' => 'calendarcurrency',
'value' => 'TRY',
'path' => '/',
'domain' => '.nitropack.luxury-discounts.com',
'secure' => false,
'httpOnly' => false,
'expire' => '1803685084',
'samesite' => null
]
]
$values = [
(int) 0 => 'Content-Type, x-xsrf-token'
]
$name = 'Access-Control-Allow-Headers'
$first = true
$value = 'Content-Type, x-xsrf-token'header - [internal], line ??
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 183
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 60
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 140
[main] - ROOT/webroot/index.php, line 22
Warning (2): Cannot modify header information - headers already sent by (output started at /usr/share/nginx/sites/luxury-discounts/production/vendor/cakephp/cakephp/src/Error/Debugger.php:855) [CORE/src/Http/ResponseEmitter.php, line 183]Code Context foreach ($values as $value) {
header(sprintf(
'%s: %s',
$response = object(Cake\Http\Response) {
'status' => (int) 302,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
],
'Access-Control-Allow-Origin' => [
[maximum depth reached]
],
'Access-Control-Allow-Methods' => [
[maximum depth reached]
],
'Access-Control-Allow-Headers' => [
[maximum depth reached]
],
'Access-Control-Max-Age' => [
[maximum depth reached]
],
'Location' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => ''
}
$cookies = [
'language' => [
'name' => 'language',
'value' => 'tr',
'path' => '/',
'domain' => '.nitropack.luxury-discounts.com',
'secure' => false,
'httpOnly' => false,
'expire' => '1803685084',
'samesite' => null
],
'autolanguage' => [
'name' => 'autolanguage',
'value' => 'tr',
'path' => '/',
'domain' => '.nitropack.luxury-discounts.com',
'secure' => false,
'httpOnly' => false,
'expire' => '1803685084',
'samesite' => null
],
'calendarcurrency' => [
'name' => 'calendarcurrency',
'value' => 'TRY',
'path' => '/',
'domain' => '.nitropack.luxury-discounts.com',
'secure' => false,
'httpOnly' => false,
'expire' => '1803685084',
'samesite' => null
]
]
$values = [
(int) 0 => '172800'
]
$name = 'Access-Control-Max-Age'
$first = true
$value = '172800'header - [internal], line ??
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 183
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 60
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 140
[main] - ROOT/webroot/index.php, line 22
Warning (2): Cannot modify header information - headers already sent by (output started at /usr/share/nginx/sites/luxury-discounts/production/vendor/cakephp/cakephp/src/Error/Debugger.php:855) [CORE/src/Http/ResponseEmitter.php, line 183]Code Context foreach ($values as $value) {
header(sprintf(
'%s: %s',
$response = object(Cake\Http\Response) {
'status' => (int) 302,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
],
'Access-Control-Allow-Origin' => [
[maximum depth reached]
],
'Access-Control-Allow-Methods' => [
[maximum depth reached]
],
'Access-Control-Allow-Headers' => [
[maximum depth reached]
],
'Access-Control-Max-Age' => [
[maximum depth reached]
],
'Location' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => ''
}
$cookies = [
'language' => [
'name' => 'language',
'value' => 'tr',
'path' => '/',
'domain' => '.nitropack.luxury-discounts.com',
'secure' => false,
'httpOnly' => false,
'expire' => '1803685084',
'samesite' => null
],
'autolanguage' => [
'name' => 'autolanguage',
'value' => 'tr',
'path' => '/',
'domain' => '.nitropack.luxury-discounts.com',
'secure' => false,
'httpOnly' => false,
'expire' => '1803685084',
'samesite' => null
],
'calendarcurrency' => [
'name' => 'calendarcurrency',
'value' => 'TRY',
'path' => '/',
'domain' => '.nitropack.luxury-discounts.com',
'secure' => false,
'httpOnly' => false,
'expire' => '1803685084',
'samesite' => null
]
]
$values = [
(int) 0 => 'https://trnitropack.luxury-discounts.com/search?lang=en'
]
$name = 'Location'
$first = true
$value = 'https://trnitropack.luxury-discounts.com/search?lang=en'header - [internal], line ??
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 183
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 60
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 140
[main] - ROOT/webroot/index.php, line 22
Warning (2): Cannot modify header information - headers already sent by (output started at /usr/share/nginx/sites/luxury-discounts/production/vendor/cakephp/cakephp/src/Error/Debugger.php:855) [CORE/src/Http/ResponseEmitter.php, line 269]Code Context setcookie(
$name,
$value,
$name = 'language'
$value = 'tr'
$options = [
'path' => '/',
'domain' => '.nitropack.luxury-discounts.com',
'secure' => false,
'samesite' => null,
'httponly' => false,
'expires' => '1803685084'
]
setcookie - [internal], line ??
Cake\Http\ResponseEmitter::setcookie() - CORE/src/Http/ResponseEmitter.php, line 269
Cake\Http\ResponseEmitter::emitCookies() - CORE/src/Http/ResponseEmitter.php, line 211
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 192
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 60
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 140
[main] - ROOT/webroot/index.php, line 22
Warning (2): Cannot modify header information - headers already sent by (output started at /usr/share/nginx/sites/luxury-discounts/production/vendor/cakephp/cakephp/src/Error/Debugger.php:855) [CORE/src/Http/ResponseEmitter.php, line 269]Code Context setcookie(
$name,
$value,
$name = 'autolanguage'
$value = 'tr'
$options = [
'path' => '/',
'domain' => '.nitropack.luxury-discounts.com',
'secure' => false,
'samesite' => null,
'httponly' => false,
'expires' => '1803685084'
]
setcookie - [internal], line ??
Cake\Http\ResponseEmitter::setcookie() - CORE/src/Http/ResponseEmitter.php, line 269
Cake\Http\ResponseEmitter::emitCookies() - CORE/src/Http/ResponseEmitter.php, line 211
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 192
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 60
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 140
[main] - ROOT/webroot/index.php, line 22
Warning (2): Cannot modify header information - headers already sent by (output started at /usr/share/nginx/sites/luxury-discounts/production/vendor/cakephp/cakephp/src/Error/Debugger.php:855) [CORE/src/Http/ResponseEmitter.php, line 269]Code Context setcookie(
$name,
$value,
$name = 'calendarcurrency'
$value = 'TRY'
$options = [
'path' => '/',
'domain' => '.nitropack.luxury-discounts.com',
'secure' => false,
'samesite' => null,
'httponly' => false,
'expires' => '1803685084'
]
setcookie - [internal], line ??
Cake\Http\ResponseEmitter::setcookie() - CORE/src/Http/ResponseEmitter.php, line 269
Cake\Http\ResponseEmitter::emitCookies() - CORE/src/Http/ResponseEmitter.php, line 211
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 192
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 60
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 140
[main] - ROOT/webroot/index.php, line 22