Notice (8) : Trying to get property of non-object [APP/Controller/CurrentIssueController.php , line 60 ]Code Context $test = $this -> loadModel ( 'Articles' )-> find ( 'all' )-> where ([ 'slug' => $slug ]);
$test2 = $test -> first ();
$id = $test2 -> id ;
$slug = null
$test = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Articles.id AS `Articles__id`, Articles.article_type_id AS `Articles__article_type_id`, Articles.title AS `Articles__title`, Articles.slug AS `Articles__slug`, Articles.subtitle AS `Articles__subtitle`, Articles.author AS `Articles__author`, Articles.job_title AS `Articles__job_title`, Articles.company AS `Articles__company`, Articles.bio AS `Articles__bio`, Articles.description AS `Articles__description`, Articles.body AS `Articles__body`, Articles.image_path AS `Articles__image_path`, Articles.logo_image_path AS `Articles__logo_image_path`, Articles.featured_image_path AS `Articles__featured_image_path`, Articles.og_description AS `Articles__og_description`, Articles.og_image_path AS `Articles__og_image_path`, Articles.created AS `Articles__created`, Articles.modified AS `Articles__modified` FROM articles Articles WHERE slug = :c0 LIMIT 1',
'params' => [
':c0' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Articles__id' => 'integer',
'Articles.id' => 'integer',
'id' => 'integer',
'Articles__article_type_id' => 'integer',
'Articles.article_type_id' => 'integer',
'article_type_id' => 'integer',
'Articles__title' => 'string',
'Articles.title' => 'string',
'title' => 'string',
'Articles__slug' => 'string',
'Articles.slug' => 'string',
'slug' => 'string',
'Articles__subtitle' => 'string',
'Articles.subtitle' => 'string',
'subtitle' => 'string',
'Articles__author' => 'string',
'Articles.author' => 'string',
'author' => 'string',
'Articles__job_title' => 'string',
'Articles.job_title' => 'string',
'job_title' => 'string',
'Articles__company' => 'string',
'Articles.company' => 'string',
'company' => 'string',
'Articles__bio' => 'text',
'Articles.bio' => 'text',
'bio' => 'text',
'Articles__description' => 'text',
'Articles.description' => 'text',
'description' => 'text',
'Articles__body' => 'text',
'Articles.body' => 'text',
'body' => 'text',
'Articles__image_path' => 'string',
'Articles.image_path' => 'string',
'image_path' => 'string',
'Articles__logo_image_path' => 'string',
'Articles.logo_image_path' => 'string',
'logo_image_path' => 'string',
'Articles__featured_image_path' => 'string',
'Articles.featured_image_path' => 'string',
'featured_image_path' => 'string',
'Articles__og_description' => 'text',
'Articles.og_description' => 'text',
'og_description' => 'text',
'Articles__og_image_path' => 'string',
'Articles.og_image_path' => 'string',
'og_image_path' => 'string',
'Articles__created' => 'datetime',
'Articles.created' => 'datetime',
'created' => 'datetime',
'Articles__modified' => 'datetime',
'Articles.modified' => 'datetime',
'modified' => 'datetime'
],
'decorators' => (int) 1,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ArticlesTable) {}
}
$test2 = null App\Controller\CurrentIssueController::editorsCut() - APP/Controller/CurrentIssueController.php, line 60
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 435
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 122
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 96
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 83
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 53
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 81
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 92
[main] - ROOT/webroot/index.php, line 37 Warning (512) : Unable to emit headers. Headers sent in file=/home/markmgfd/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php line=753 [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(Zend\Diactoros\Response) {
[protected] headers => [
'X-DEBUGKIT-ID' => [
[maximum depth reached]
],
'Content-Type' => [
[maximum depth reached]
]
]
[protected] headerNames => [
'x-debugkit-id' => 'X-DEBUGKIT-ID',
'content-type' => 'Content-Type'
]
[private] phrases => [
(int) 100 => 'Continue',
(int) 101 => 'Switching Protocols',
(int) 102 => 'Processing',
(int) 200 => 'OK',
(int) 201 => 'Created',
(int) 202 => 'Accepted',
(int) 203 => 'Non-Authoritative Information',
(int) 204 => 'No Content',
(int) 205 => 'Reset Content',
(int) 206 => 'Partial Content',
(int) 207 => 'Multi-status',
(int) 208 => 'Already Reported',
(int) 300 => 'Multiple Choices',
(int) 301 => 'Moved Permanently',
(int) 302 => 'Found',
(int) 303 => 'See Other',
(int) 304 => 'Not Modified',
(int) 305 => 'Use Proxy',
(int) 306 => 'Switch Proxy',
(int) 307 => 'Temporary Redirect',
(int) 400 => 'Bad Request',
(int) 401 => 'Unauthorized',
(int) 402 => 'Payment Required',
(int) 403 => 'Forbidden',
(int) 404 => 'Not Found',
(int) 405 => 'Method Not Allowed',
(int) 406 => 'Not Acceptable',
(int) 407 => 'Proxy Authentication Required',
(int) 408 => 'Request Time-out',
(int) 409 => 'Conflict',
(int) 410 => 'Gone',
(int) 411 => 'Length Required',
(int) 412 => 'Precondition Failed',
(int) 413 => 'Request Entity Too Large',
(int) 414 => 'Request-URI Too Large',
(int) 415 => 'Unsupported Media Type',
(int) 416 => 'Requested range not satisfiable',
(int) 417 => 'Expectation Failed',
(int) 418 => 'I'm a teapot',
(int) 422 => 'Unprocessable Entity',
(int) 423 => 'Locked',
(int) 424 => 'Failed Dependency',
(int) 425 => 'Unordered Collection',
(int) 426 => 'Upgrade Required',
(int) 428 => 'Precondition Required',
(int) 429 => 'Too Many Requests',
(int) 431 => 'Request Header Fields Too Large',
(int) 451 => 'Unavailable For Legal Reasons',
(int) 500 => 'Internal Server Error',
(int) 501 => 'Not Implemented',
(int) 502 => 'Bad Gateway',
(int) 503 => 'Service Unavailable',
(int) 504 => 'Gateway Time-out',
(int) 505 => 'HTTP Version not supported',
(int) 506 => 'Variant Also Negotiates',
(int) 507 => 'Insufficient Storage',
(int) 508 => 'Loop Detected',
(int) 511 => 'Network Authentication Required'
]
[private] reasonPhrase => ''
[private] statusCode => (int) 200
[private] protocol => '1.1'
[private] stream => object(Zend\Diactoros\Stream) {}
}
$maxBufferLength = (int) 8192
$file = '/home/markmgfd/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php'
$line = (int) 753
$message = 'Unable to emit headers. Headers sent in file=/home/markmgfd/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php line=753' Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 48
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 118
[main] - ROOT/webroot/index.php, line 37 Warning (2) : Cannot modify header information - headers already sent by (output started at /home/markmgfd/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php:753) [CORE/src/Http/ResponseEmitter.php , line 146 ]Code Context $response -> getStatusCode (),
( $reasonPhrase ? ' ' . $reasonPhrase : '' )
));
$response = object(Zend\Diactoros\Response) {
[protected] headers => [
'X-DEBUGKIT-ID' => [
[maximum depth reached]
],
'Content-Type' => [
[maximum depth reached]
]
]
[protected] headerNames => [
'x-debugkit-id' => 'X-DEBUGKIT-ID',
'content-type' => 'Content-Type'
]
[private] phrases => [
(int) 100 => 'Continue',
(int) 101 => 'Switching Protocols',
(int) 102 => 'Processing',
(int) 200 => 'OK',
(int) 201 => 'Created',
(int) 202 => 'Accepted',
(int) 203 => 'Non-Authoritative Information',
(int) 204 => 'No Content',
(int) 205 => 'Reset Content',
(int) 206 => 'Partial Content',
(int) 207 => 'Multi-status',
(int) 208 => 'Already Reported',
(int) 300 => 'Multiple Choices',
(int) 301 => 'Moved Permanently',
(int) 302 => 'Found',
(int) 303 => 'See Other',
(int) 304 => 'Not Modified',
(int) 305 => 'Use Proxy',
(int) 306 => 'Switch Proxy',
(int) 307 => 'Temporary Redirect',
(int) 400 => 'Bad Request',
(int) 401 => 'Unauthorized',
(int) 402 => 'Payment Required',
(int) 403 => 'Forbidden',
(int) 404 => 'Not Found',
(int) 405 => 'Method Not Allowed',
(int) 406 => 'Not Acceptable',
(int) 407 => 'Proxy Authentication Required',
(int) 408 => 'Request Time-out',
(int) 409 => 'Conflict',
(int) 410 => 'Gone',
(int) 411 => 'Length Required',
(int) 412 => 'Precondition Failed',
(int) 413 => 'Request Entity Too Large',
(int) 414 => 'Request-URI Too Large',
(int) 415 => 'Unsupported Media Type',
(int) 416 => 'Requested range not satisfiable',
(int) 417 => 'Expectation Failed',
(int) 418 => 'I'm a teapot',
(int) 422 => 'Unprocessable Entity',
(int) 423 => 'Locked',
(int) 424 => 'Failed Dependency',
(int) 425 => 'Unordered Collection',
(int) 426 => 'Upgrade Required',
(int) 428 => 'Precondition Required',
(int) 429 => 'Too Many Requests',
(int) 431 => 'Request Header Fields Too Large',
(int) 451 => 'Unavailable For Legal Reasons',
(int) 500 => 'Internal Server Error',
(int) 501 => 'Not Implemented',
(int) 502 => 'Bad Gateway',
(int) 503 => 'Service Unavailable',
(int) 504 => 'Gateway Time-out',
(int) 505 => 'HTTP Version not supported',
(int) 506 => 'Variant Also Negotiates',
(int) 507 => 'Insufficient Storage',
(int) 508 => 'Loop Detected',
(int) 511 => 'Network Authentication Required'
]
[private] reasonPhrase => 'OK'
[private] statusCode => (int) 200
[private] protocol => '1.1'
[private] stream => object(Zend\Diactoros\Stream) {}
}
$reasonPhrase = 'OK' header - [internal], line ??
Cake\Http\ResponseEmitter::emitStatusLine() - CORE/src/Http/ResponseEmitter.php, line 146
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 54
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 118
[main] - ROOT/webroot/index.php, line 37 Warning (2) : Cannot modify header information - headers already sent by (output started at /home/markmgfd/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php:753) [CORE/src/Http/ResponseEmitter.php , line 173 ]Code Context $name ,
$value
), $first );
$response = object(Zend\Diactoros\Response) {
[protected] headers => [
'X-DEBUGKIT-ID' => [
[maximum depth reached]
],
'Content-Type' => [
[maximum depth reached]
]
]
[protected] headerNames => [
'x-debugkit-id' => 'X-DEBUGKIT-ID',
'content-type' => 'Content-Type'
]
[private] phrases => [
(int) 100 => 'Continue',
(int) 101 => 'Switching Protocols',
(int) 102 => 'Processing',
(int) 200 => 'OK',
(int) 201 => 'Created',
(int) 202 => 'Accepted',
(int) 203 => 'Non-Authoritative Information',
(int) 204 => 'No Content',
(int) 205 => 'Reset Content',
(int) 206 => 'Partial Content',
(int) 207 => 'Multi-status',
(int) 208 => 'Already Reported',
(int) 300 => 'Multiple Choices',
(int) 301 => 'Moved Permanently',
(int) 302 => 'Found',
(int) 303 => 'See Other',
(int) 304 => 'Not Modified',
(int) 305 => 'Use Proxy',
(int) 306 => 'Switch Proxy',
(int) 307 => 'Temporary Redirect',
(int) 400 => 'Bad Request',
(int) 401 => 'Unauthorized',
(int) 402 => 'Payment Required',
(int) 403 => 'Forbidden',
(int) 404 => 'Not Found',
(int) 405 => 'Method Not Allowed',
(int) 406 => 'Not Acceptable',
(int) 407 => 'Proxy Authentication Required',
(int) 408 => 'Request Time-out',
(int) 409 => 'Conflict',
(int) 410 => 'Gone',
(int) 411 => 'Length Required',
(int) 412 => 'Precondition Failed',
(int) 413 => 'Request Entity Too Large',
(int) 414 => 'Request-URI Too Large',
(int) 415 => 'Unsupported Media Type',
(int) 416 => 'Requested range not satisfiable',
(int) 417 => 'Expectation Failed',
(int) 418 => 'I'm a teapot',
(int) 422 => 'Unprocessable Entity',
(int) 423 => 'Locked',
(int) 424 => 'Failed Dependency',
(int) 425 => 'Unordered Collection',
(int) 426 => 'Upgrade Required',
(int) 428 => 'Precondition Required',
(int) 429 => 'Too Many Requests',
(int) 431 => 'Request Header Fields Too Large',
(int) 451 => 'Unavailable For Legal Reasons',
(int) 500 => 'Internal Server Error',
(int) 501 => 'Not Implemented',
(int) 502 => 'Bad Gateway',
(int) 503 => 'Service Unavailable',
(int) 504 => 'Gateway Time-out',
(int) 505 => 'HTTP Version not supported',
(int) 506 => 'Variant Also Negotiates',
(int) 507 => 'Insufficient Storage',
(int) 508 => 'Loop Detected',
(int) 511 => 'Network Authentication Required'
]
[private] reasonPhrase => 'OK'
[private] statusCode => (int) 200
[private] protocol => '1.1'
[private] stream => object(Zend\Diactoros\Stream) {}
}
$name = 'X-DEBUGKIT-ID'
$values = [
(int) 0 => '4a70bf0f-ff93-4461-9deb-19e797e9fb99'
]
$first = true
$value = '4a70bf0f-ff93-4461-9deb-19e797e9fb99' header - [internal], line ??
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 173
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 55
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 118
[main] - ROOT/webroot/index.php, line 37 Warning (2) : Cannot modify header information - headers already sent by (output started at /home/markmgfd/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php:753) [CORE/src/Http/ResponseEmitter.php , line 173 ]Code Context $name ,
$value
), $first );
$response = object(Zend\Diactoros\Response) {
[protected] headers => [
'X-DEBUGKIT-ID' => [
[maximum depth reached]
],
'Content-Type' => [
[maximum depth reached]
]
]
[protected] headerNames => [
'x-debugkit-id' => 'X-DEBUGKIT-ID',
'content-type' => 'Content-Type'
]
[private] phrases => [
(int) 100 => 'Continue',
(int) 101 => 'Switching Protocols',
(int) 102 => 'Processing',
(int) 200 => 'OK',
(int) 201 => 'Created',
(int) 202 => 'Accepted',
(int) 203 => 'Non-Authoritative Information',
(int) 204 => 'No Content',
(int) 205 => 'Reset Content',
(int) 206 => 'Partial Content',
(int) 207 => 'Multi-status',
(int) 208 => 'Already Reported',
(int) 300 => 'Multiple Choices',
(int) 301 => 'Moved Permanently',
(int) 302 => 'Found',
(int) 303 => 'See Other',
(int) 304 => 'Not Modified',
(int) 305 => 'Use Proxy',
(int) 306 => 'Switch Proxy',
(int) 307 => 'Temporary Redirect',
(int) 400 => 'Bad Request',
(int) 401 => 'Unauthorized',
(int) 402 => 'Payment Required',
(int) 403 => 'Forbidden',
(int) 404 => 'Not Found',
(int) 405 => 'Method Not Allowed',
(int) 406 => 'Not Acceptable',
(int) 407 => 'Proxy Authentication Required',
(int) 408 => 'Request Time-out',
(int) 409 => 'Conflict',
(int) 410 => 'Gone',
(int) 411 => 'Length Required',
(int) 412 => 'Precondition Failed',
(int) 413 => 'Request Entity Too Large',
(int) 414 => 'Request-URI Too Large',
(int) 415 => 'Unsupported Media Type',
(int) 416 => 'Requested range not satisfiable',
(int) 417 => 'Expectation Failed',
(int) 418 => 'I'm a teapot',
(int) 422 => 'Unprocessable Entity',
(int) 423 => 'Locked',
(int) 424 => 'Failed Dependency',
(int) 425 => 'Unordered Collection',
(int) 426 => 'Upgrade Required',
(int) 428 => 'Precondition Required',
(int) 429 => 'Too Many Requests',
(int) 431 => 'Request Header Fields Too Large',
(int) 451 => 'Unavailable For Legal Reasons',
(int) 500 => 'Internal Server Error',
(int) 501 => 'Not Implemented',
(int) 502 => 'Bad Gateway',
(int) 503 => 'Service Unavailable',
(int) 504 => 'Gateway Time-out',
(int) 505 => 'HTTP Version not supported',
(int) 506 => 'Variant Also Negotiates',
(int) 507 => 'Insufficient Storage',
(int) 508 => 'Loop Detected',
(int) 511 => 'Network Authentication Required'
]
[private] reasonPhrase => 'OK'
[private] statusCode => (int) 200
[private] protocol => '1.1'
[private] stream => object(Zend\Diactoros\Stream) {}
}
$name = 'Content-Type'
$values = [
(int) 0 => 'text/html; charset=UTF-8'
]
$first = true
$value = 'text/html; charset=UTF-8' header - [internal], line ??
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 173
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 55
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 118
[main] - ROOT/webroot/index.php, line 37
Editor's Cut - Marketing Magnified
EDITOR'S CUT
New Year, New Strategies: Getting it Done in 2021
“New year, new me” is taking on a whole new meaning as we see brands embracing digital transformation and getting creative with how they recover from the devastations of 2020. Maybe it’s because 70% of marketers plan to increase their MarTech spend this year, according to CMO Council’s latest report, but something about this year feels different, in the best way possible. There is a beacon of hope for us ahead.
We all thought 2020 was going to be a big year…and I guess you could say it was, just not in the way we meant originally. 2021, however, we’re getting it done.
Marketers are prioritizing lower costs, increased efficiency, globalized and localized campaigns. This all falls under the umbrella of the eight strategic themes we at the CMO Council see for 2021 that you can read about in our most recent blog post here .
This month, we’re taking a deep-dive into digital transformation with Helena Mah’s Spotlight article and discussing ways to bond with your customers again in the—dare I say it—“new normal” we live in, in Dr. Steve Rapier’s Featured piece.
Be sure to check out our latest report, “Getting it Done in 2021 ” where we discuss all this and more. The best part? It’s free!
If you’d like to submit your original content for a future edition of Marketing Magnified, email content@cmocouncil.org for submission guidelines and details.
BE THE FIRST TO COMMENT