Notice (8): Trying to get property of non-object [APP/Controller/PagesController.php, line 572]Code Context'limit' => 1
])->first();
return $this->redirect(['action' => 'slownikTekst', 'slug' => $word->slug], 301);
$slug = 'mnie-czy-mi-jak-sie-pisze' $shortcuts_redirect = [ (int) 0 => 'jak-piszemy-skrot-od-doktor', (int) 1 => 'jak-piszemy-skrot-od-jak-wyzej', (int) 2 => 'jak-piszemy-skrot-od-magister', (int) 3 => 'jak-piszemy-skrot-od-miedzy-innymi', (int) 4 => 'jak-piszemy-skrot-od-to-jest', (int) 5 => 'pkt-czy-pkt-jak-piszemy-skrot', (int) 6 => 'jak-piszemy-skrot-od-wyzej-wymieniony' ] $shortcuts_redirect_real = [ (int) 0 => 'skrot-od-doktor', (int) 1 => 'skrot-od-jak-wyzej', (int) 2 => 'skrot-od-magister', (int) 3 => 'skrot-od-miedzy-innymi', (int) 4 => 'skrot-od-to-jest', (int) 5 => 'skrot-od-punkt', (int) 6 => 'skrot-od-wyzej-wymieniony' ] $poradnik_jezykowy = object(Cake\ORM\Entity) { 'id' => (int) 546, 'title' => 'Mnie czy mi jak się pisze?', 'seo_title' => 'Mnie czy mi jak się pisze?', 'slug' => 'mnie-czy-mi-jak-sie-pisze', 'category' => 'Co znaczy', 'content' => '<p><strong>Jak piszemy: mnie czy mi? Obie formy są poprawne. </strong></p> <p>Zaimki "mnie" i "mi" są poprawnymi formami deklinacyjnymi zaimka "ja". Nie są one stosowane zamiennie, ale w różnych kontekstach. "Mnie" używamy, kiedy w zdani pada na nią akcetnt, "mi" zaś użyjemy, gdy jest nieakcentowana. "Mnie" będziemy zatem używać na początku zdania, a "mi" na końcu i w środku.</p> <p><strong>Przykłady użycia:<br></strong>Czy możesz podać <strong>mi </strong>sól? <strong><br></strong>Zawieziesz <strong>mnie </strong>na bal?<br>Nigdy <strong>mnie </strong>nie zapomnij. <br>Boli <strong>mnie </strong>noga. <br>Daj <strong>mi </strong>spokój!</p>', 'correct_spelling' => '', 'incorrect_spelling' => '', 'context1' => 'mnie', 'context2' => 'mi', 'created' => null, 'modified' => null, '[new]' => false, '[accessible]' => [ '*' => true ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[errors]' => [], '[invalid]' => [], '[repository]' => 'Linguisticguides' } $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT `Linguisticguides`.`id` AS `Linguisticguides__id`, `Linguisticguides`.`title` AS `Linguisticguides__title`, `Linguisticguides`.`seo_title` AS `Linguisticguides__seo_title`, `Linguisticguides`.`slug` AS `Linguisticguides__slug`, `Linguisticguides`.`category` AS `Linguisticguides__category`, `Linguisticguides`.`content` AS `Linguisticguides__content`, `Linguisticguides`.`correct_spelling` AS `Linguisticguides__correct_spelling`, `Linguisticguides`.`incorrect_spelling` AS `Linguisticguides__incorrect_spelling`, `Linguisticguides`.`context1` AS `Linguisticguides__context1`, `Linguisticguides`.`context2` AS `Linguisticguides__context2`, `Linguisticguides`.`created` AS `Linguisticguides__created`, `Linguisticguides`.`modified` AS `Linguisticguides__modified` FROM `linguisticguides` `Linguisticguides` WHERE `slug` = :c0 LIMIT 1', 'params' => [ ':c0' => [ [maximum depth reached] ] ], 'defaultTypes' => [ 'Linguisticguides__id' => 'integer', 'Linguisticguides.id' => 'integer', 'id' => 'integer', 'Linguisticguides__title' => 'string', 'Linguisticguides.title' => 'string', 'title' => 'string', 'Linguisticguides__seo_title' => 'string', 'Linguisticguides.seo_title' => 'string', 'seo_title' => 'string', 'Linguisticguides__slug' => 'string', 'Linguisticguides.slug' => 'string', 'slug' => 'string', 'Linguisticguides__category' => 'string', 'Linguisticguides.category' => 'string', 'category' => 'string', 'Linguisticguides__content' => 'text', 'Linguisticguides.content' => 'text', 'content' => 'text', 'Linguisticguides__correct_spelling' => 'string', 'Linguisticguides.correct_spelling' => 'string', 'correct_spelling' => 'string', 'Linguisticguides__incorrect_spelling' => 'string', 'Linguisticguides.incorrect_spelling' => 'string', 'incorrect_spelling' => 'string', 'Linguisticguides__context1' => 'string', 'Linguisticguides.context1' => 'string', 'context1' => 'string', 'Linguisticguides__context2' => 'string', 'Linguisticguides.context2' => 'string', 'context2' => 'string', 'Linguisticguides__created' => 'datetime', 'Linguisticguides.created' => 'datetime', 'created' => 'datetime', 'Linguisticguides__modified' => 'datetime', 'Linguisticguides.modified' => 'datetime', 'modified' => 'datetime' ], 'decorators' => (int) 1, 'executed' => true, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(Cake\ORM\Table) {} } $word = nullApp\Controller\PagesController::poradnikJezykowyTekst() - APP/Controller/PagesController.php, line 572 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 52 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 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 82 [main] - ROOT/webroot/index.php, line 43
{ |
|
if (!$emitter) { |
|
$emitter = new SapiStreamEmitter(); |
|
} |
|
$emitter->emit($response); |
|
} |
|
|
|
/** |
|
* Set the application. |
object(Zend\Diactoros\Response) { [protected] headers => [ 'Location' => [ (int) 0 => 'https://www.interpunkcja.pl/slownik' ], 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ] [protected] headerNames => [ 'location' => 'Location', '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) 301 [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\Stream) { [protected] resource => resource [protected] stream => 'php://memory' } }
$server = new Server(new Application(dirname(__DIR__) . '/config')); |
|
|
|
// Run the request/response through the application |
|
// and emit the response. |
|
$server->emit($server->run()); |
|
|
object(Zend\Diactoros\Response) { [protected] headers => [ 'Location' => [ (int) 0 => 'https://www.interpunkcja.pl/slownik' ], 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ] [protected] headerNames => [ 'location' => 'Location', '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) 301 [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\Stream) { [protected] resource => resource [protected] stream => 'php://memory' } }
Some of the Table objects in your application were created by instantiating "Cake\ORM\Table" instead of any other specific subclass.
This could be the cause for this exception. Auto-Tables are created for you under the following circumstances:
Please try correcting the issue for the following table aliases:
If you want to customize this error message, create src/Template/Error/error500.ctp