Warning (2): Declaration of Cake\Chronos\Traits\FrozenTimeTrait::setTime($hours, $minutes, $seconds = 0) should be compatible with DateTime::setTime($hour, $minute, $second = NULL, $microseconds = NULL) [ROOT/vendor/cakephp/chronos/src/MutableDate.php, line 24]Code Context* in each respective date.
*/
class MutableDate extends DateTime implements ChronosInterface
$file = '/home/marcos/public_html/vendor/cakephp/chronos/src/MutableDate.php'include - ROOT/vendor/cakephp/chronos/src/MutableDate.php, line 24 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 ?? include - CORE/src/I18n/Date.php, line 26 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 ?? class_exists - [internal], line ?? Cake\Database\Type\DateTimeType::_setClassName() - CORE/src/Database/Type/DateTimeType.php, line 250 Cake\Database\Type\DateTimeType::__construct() - CORE/src/Database/Type/DateTimeType.php, line 85 Cake\Database\Type::build() - CORE/src/Database/Type.php, line 106 require - ROOT/config/bootstrap.php, line 202 [main] - ROOT/webroot/index.php, line 27
Error: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
$connection = new PDO( |
|
$dsn, |
|
$config['username'], |
|
$config['password'], |
|
$config['flags'] |
|
); |
|
$this->connection($connection); |
|
return true; |
|
} |
'mysql:host=localhost;port=3306;dbname=yaumedicinachinesa;charset=utf8' 'root' 'root' [ (int) 12 => false, (int) 1000 => true, (int) 3 => (int) 2 ]
} else { |
|
$dsn = "mysql:unix_socket={$config['unix_socket']};dbname={$config['database']}"; |
|
} |
|
|
|
$this->_connect($dsn, $config); |
|
|
|
if (!empty($config['init'])) { |
|
$connection = $this->connection(); |
|
foreach ((array)$config['init'] as $command) { |
'mysql:host=localhost;port=3306;dbname=yaumedicinachinesa;charset=utf8' [ 'driver' => 'Cake\Database\Driver\Mysql', 'persistent' => false, 'host' => 'localhost', 'username' => 'root', 'password' => 'root', 'database' => 'yaumedicinachinesa', 'encoding' => 'utf8', 'timezone' => '+0:00', 'cacheMetadata' => true, 'log' => false, 'quoteIdentifiers' => false, 'name' => 'default', 'port' => '3306', 'flags' => [ (int) 12 => false, (int) 1000 => true, (int) 3 => (int) 2 ], 'init' => [ (int) 0 => 'SET time_zone = '+0:00'', (int) 1 => 'SET NAMES utf8' ] ]
* @param \Cake\Database\Driver $driver The driver to use. |
|
*/ |
|
public function __construct(Driver $driver) |
|
{ |
|
$driver->connect(); |
|
$this->_driver = $driver; |
|
} |
|
|
|
/** |
No arguments
*/ |
|
public function schemaDialect() |
|
{ |
|
if (!$this->_schemaDialect) { |
|
$this->_schemaDialect = new MysqlSchema($this); |
|
} |
|
return $this->_schemaDialect; |
|
} |
|
|
object(Cake\Database\Driver\Mysql) { 'connected' => false }
*/ |
|
public function __construct(ConnectionInterface $connection) |
|
{ |
|
$this->_connection = $connection; |
|
$this->_dialect = $connection->driver()->schemaDialect(); |
|
} |
|
|
|
/** |
|
* Get the list of tables available in the current connection. |
No arguments
* @param string|bool $cacheKey The cache key or boolean false to disable caching. |
|
*/ |
|
public function __construct(ConnectionInterface $connection, $cacheKey = true) |
|
{ |
|
parent::__construct($connection); |
|
$this->cacheMetadata($cacheKey); |
|
} |
|
|
|
/** |
object(Cake\Database\Connection) { 'config' => [ 'password' => '*****', 'username' => '*****', 'host' => '*****', 'database' => '*****', 'driver' => 'Cake\Database\Driver\Mysql', 'persistent' => false, 'encoding' => 'utf8', 'timezone' => 'UTC', 'cacheMetadata' => true, 'log' => false, 'quoteIdentifiers' => false, 'name' => 'default' ], 'driver' => object(Cake\Database\Driver\Mysql) { 'connected' => false }, 'transactionLevel' => (int) 0, 'transactionStarted' => false, 'useSavePoints' => false, 'logQueries' => true, 'logger' => object(DebugKit\Database\Log\DebugLog) { [protected] _queries => [[maximum depth reached]] [protected] _logger => null [protected] _connectionName => 'default' [protected] _totalTime => (int) 0 [protected] _totalRows => (int) 0 } }
return $this->_schemaCollection; |
|
} |
|
|
|
if (!empty($this->_config['cacheMetadata'])) { |
|
return $this->_schemaCollection = new CachedCollection($this, $this->_config['cacheMetadata']); |
|
} |
|
|
|
return $this->_schemaCollection = new SchemaCollection($this); |
|
} |
object(Cake\Database\Connection) { 'config' => [ 'password' => '*****', 'username' => '*****', 'host' => '*****', 'database' => '*****', 'driver' => 'Cake\Database\Driver\Mysql', 'persistent' => false, 'encoding' => 'utf8', 'timezone' => 'UTC', 'cacheMetadata' => true, 'log' => false, 'quoteIdentifiers' => false, 'name' => 'default' ], 'driver' => object(Cake\Database\Driver\Mysql) { 'connected' => false }, 'transactionLevel' => (int) 0, 'transactionStarted' => false, 'useSavePoints' => false, 'logQueries' => true, 'logger' => object(DebugKit\Database\Log\DebugLog) { [protected] _queries => [[maximum depth reached]] [protected] _logger => null [protected] _connectionName => 'default' [protected] _totalTime => (int) 0 [protected] _totalRows => (int) 0 } } true
if ($schema === null) { |
|
if ($this->_schema === null) { |
|
$this->_schema = $this->_initializeSchema( |
|
$this->connection() |
|
->schemaCollection() |
|
->describe($this->table()) |
|
); |
|
} |
|
return $this->_schema; |
No arguments
*/ |
|
public function addDefaultTypes(Table $table) |
|
{ |
|
$alias = $table->alias(); |
|
$map = $table->schema()->typeMap(); |
|
$fields = []; |
|
foreach ($map as $f => $type) { |
|
$fields[$f] = $fields[$alias . '.' . $f] = $fields[$alias . '__' . $f] = $type; |
|
} |
No arguments
parent::__construct($connection); |
|
$this->repository($table); |
|
|
|
if ($this->_repository) { |
|
$this->addDefaultTypes($this->_repository); |
|
} |
|
} |
|
|
|
/** |
object(App\Model\Table\ServicesTable) { 'registryAlias' => 'Services', 'table' => 'services', 'alias' => 'Services', 'entityClass' => 'App\Model\Entity\Service', 'associations' => [], 'behaviors' => [], 'defaultConnection' => 'default', 'connectionName' => 'default' }
* {@inheritDoc} |
|
*/ |
|
public function query() |
|
{ |
|
return new Query($this->connection(), $this); |
|
} |
|
|
|
/** |
|
* {@inheritDoc} |
object(Cake\Database\Connection) { 'config' => [ 'password' => '*****', 'username' => '*****', 'host' => '*****', 'database' => '*****', 'driver' => 'Cake\Database\Driver\Mysql', 'persistent' => false, 'encoding' => 'utf8', 'timezone' => 'UTC', 'cacheMetadata' => true, 'log' => false, 'quoteIdentifiers' => false, 'name' => 'default' ], 'driver' => object(Cake\Database\Driver\Mysql) { 'connected' => false }, 'transactionLevel' => (int) 0, 'transactionStarted' => false, 'useSavePoints' => false, 'logQueries' => true, 'logger' => object(DebugKit\Database\Log\DebugLog) { [protected] _queries => [[maximum depth reached]] [protected] _logger => null [protected] _connectionName => 'default' [protected] _totalTime => (int) 0 [protected] _totalRows => (int) 0 } } object(App\Model\Table\ServicesTable) { 'registryAlias' => 'Services', 'table' => 'services', 'alias' => 'Services', 'entityClass' => 'App\Model\Entity\Service', 'associations' => [], 'behaviors' => [], 'defaultConnection' => 'default', 'connectionName' => 'default' }
* @return \Cake\ORM\Query The query builder |
|
*/ |
|
public function find($type = 'all', $options = []) |
|
{ |
|
$query = $this->query(); |
|
$query->select(); |
|
return $this->callFinder($type, $query, $options); |
|
} |
|
|
No arguments
public function beforeFilter(Event $event) |
|
{ |
|
$this->Auth->allow(); |
|
$this->loadModel('Services'); |
|
$menu_services = $this->Services->find('all')->select(['id','name','slug'])->where(['status'=>1])->order(['ordem'=>'asc']); |
|
$this->loadModel('Infos'); |
|
$info = $this->Infos->find()->where(['id'=>1])->first(); |
|
$this->set(compact('menu_services','info')); |
|
} |
'all'
$data = array_values($data); |
|
} |
|
switch ($length) { |
|
case 0: |
|
return $listener($event); |
|
case 1: |
|
return $listener($event, $data[0]); |
|
case 2: |
|
return $listener($event, $data[0], $data[1]); |
object(Cake\Event\Event) { data => null result => null [protected] _name => 'Controller.initialize' [protected] _subject => object(App\Controller\SiteController) { name => 'Site' helpers => [[maximum depth reached]] request => object(Cake\Network\Request) {} response => object(Cake\Network\Response) {} paginate => [[maximum depth reached]] autoRender => true components => [[maximum depth reached]] View => null plugin => null passedArgs => [[maximum depth reached]] modelClass => 'Site' viewClass => null viewVars => [[maximum depth reached]] RequestHandler => object(Cake\Controller\Component\RequestHandlerComponent) {} Flash => object(Cake\Controller\Component\FlashComponent) {} Auth => object(Cake\Controller\Component\AuthComponent) {} Services => object(App\Model\Table\ServicesTable) {} [protected] session => object(Cake\Network\Session) {} [protected] _responseClass => 'Cake\Network\Response' [protected] _components => object(Cake\Controller\ComponentRegistry) {} [protected] _validViewOptions => [ [maximum depth reached] ] [protected] _eventManager => object(Cake\Event\EventManager) {} [protected] _eventClass => '\Cake\Event\Event' [protected] _tableLocator => object(Cake\ORM\Locator\TableLocator) {} [protected] _modelFactories => [ [maximum depth reached] ] [protected] _modelType => 'Table' [protected] _viewBuilder => null } [protected] _stopped => false }
foreach ($listeners as $listener) { |
|
if ($event->isStopped()) { |
|
break; |
|
} |
|
$result = $this->_callListener($listener['callable'], $event); |
|
if ($result === false) { |
|
$event->stopPropagation(); |
|
} |
|
if ($result !== null) { |
[ (int) 0 => object(App\Controller\SiteController) { name => 'Site' helpers => [] request => object(Cake\Network\Request) {} response => object(Cake\Network\Response) {} paginate => [] autoRender => true components => [] View => null plugin => null passedArgs => [] modelClass => 'Site' viewClass => null viewVars => [] RequestHandler => object(Cake\Controller\Component\RequestHandlerComponent) {} Flash => object(Cake\Controller\Component\FlashComponent) {} Auth => object(Cake\Controller\Component\AuthComponent) {} Services => object(App\Model\Table\ServicesTable) {} [protected] session => object(Cake\Network\Session) {} [protected] _responseClass => 'Cake\Network\Response' [protected] _components => object(Cake\Controller\ComponentRegistry) {} [protected] _validViewOptions => [ (int) 0 => 'passedArgs' ] [protected] _eventManager => object(Cake\Event\EventManager) {} [protected] _eventClass => '\Cake\Event\Event' [protected] _tableLocator => object(Cake\ORM\Locator\TableLocator) {} [protected] _modelFactories => [ 'Table' => [ [maximum depth reached] ] ] [protected] _modelType => 'Table' [protected] _viewBuilder => null }, (int) 1 => 'beforeFilter' ] object(Cake\Event\Event) { data => null result => null [protected] _name => 'Controller.initialize' [protected] _subject => object(App\Controller\SiteController) { name => 'Site' helpers => [[maximum depth reached]] request => object(Cake\Network\Request) {} response => object(Cake\Network\Response) {} paginate => [[maximum depth reached]] autoRender => true components => [[maximum depth reached]] View => null plugin => null passedArgs => [[maximum depth reached]] modelClass => 'Site' viewClass => null viewVars => [[maximum depth reached]] RequestHandler => object(Cake\Controller\Component\RequestHandlerComponent) {} Flash => object(Cake\Controller\Component\FlashComponent) {} Auth => object(Cake\Controller\Component\AuthComponent) {} Services => object(App\Model\Table\ServicesTable) {} [protected] session => object(Cake\Network\Session) {} [protected] _responseClass => 'Cake\Network\Response' [protected] _components => object(Cake\Controller\ComponentRegistry) {} [protected] _validViewOptions => [ [maximum depth reached] ] [protected] _eventManager => object(Cake\Event\EventManager) {} [protected] _eventClass => '\Cake\Event\Event' [protected] _tableLocator => object(Cake\ORM\Locator\TableLocator) {} [protected] _modelFactories => [ [maximum depth reached] ] [protected] _modelType => 'Table' [protected] _viewBuilder => null } [protected] _stopped => false }
$subject = $this; |
|
} |
|
|
|
$event = new $this->_eventClass($name, $subject, $data); |
|
$this->eventManager()->dispatch($event); |
|
|
|
return $event; |
|
} |
|
} |
object(Cake\Event\Event) { data => null result => null [protected] _name => 'Controller.initialize' [protected] _subject => object(App\Controller\SiteController) { name => 'Site' helpers => [[maximum depth reached]] request => object(Cake\Network\Request) {} response => object(Cake\Network\Response) {} paginate => [[maximum depth reached]] autoRender => true components => [[maximum depth reached]] View => null plugin => null passedArgs => [[maximum depth reached]] modelClass => 'Site' viewClass => null viewVars => [[maximum depth reached]] RequestHandler => object(Cake\Controller\Component\RequestHandlerComponent) {} Flash => object(Cake\Controller\Component\FlashComponent) {} Auth => object(Cake\Controller\Component\AuthComponent) {} Services => object(App\Model\Table\ServicesTable) {} [protected] session => object(Cake\Network\Session) {} [protected] _responseClass => 'Cake\Network\Response' [protected] _components => object(Cake\Controller\ComponentRegistry) {} [protected] _validViewOptions => [ [maximum depth reached] ] [protected] _eventManager => object(Cake\Event\EventManager) {} [protected] _eventClass => '\Cake\Event\Event' [protected] _tableLocator => object(Cake\ORM\Locator\TableLocator) {} [protected] _modelFactories => [ [maximum depth reached] ] [protected] _modelType => 'Table' [protected] _viewBuilder => null } [protected] _stopped => false }
* @return \Cake\Network\Response|null |
|
*/ |
|
public function startupProcess() |
|
{ |
|
$event = $this->dispatchEvent('Controller.initialize'); |
|
if ($event->result instanceof Response) { |
|
return $event->result; |
|
} |
|
$event = $this->dispatchEvent('Controller.startup'); |
'Controller.initialize'
* instance of Response |
|
*/ |
|
protected function _invoke(Controller $controller) |
|
{ |
|
$result = $controller->startupProcess(); |
|
if ($result instanceof Response) { |
|
return $result; |
|
} |
|
|
No arguments
'_ext' => empty($request->params['_ext']) ? null : $request->params['_ext'] |
|
]); |
|
} |
|
|
|
$response = $this->_invoke($controller); |
|
if (isset($request->params['return'])) { |
|
return $response->body(); |
|
} |
|
|
object(App\Controller\SiteController) { name => 'Site' helpers => [] request => object(Cake\Network\Request) { params => [ [maximum depth reached] ] data => [[maximum depth reached]] query => [[maximum depth reached]] cookies => [[maximum depth reached]] url => '' base => '' webroot => '/' here => '/' trustProxy => false [protected] _environment => [ [maximum depth reached] ] [protected] _detectors => [ [maximum depth reached] ] [protected] _detectorCache => [ [maximum depth reached] ] [protected] _input => '' [protected] _session => object(Cake\Network\Session) {} } response => object(Cake\Network\Response) { [protected] _statusCodes => [ [maximum depth reached] ] [protected] _mimeTypes => [ [maximum depth reached] ] [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => [[maximum depth reached]] [protected] _body => null [protected] _file => null [protected] _fileRange => [[maximum depth reached]] [protected] _charset => 'UTF-8' [protected] _cacheDirectives => [[maximum depth reached]] [protected] _cookies => [[maximum depth reached]] } paginate => [] autoRender => true components => [] View => null plugin => null passedArgs => [] modelClass => 'Site' viewClass => null viewVars => [] RequestHandler => object(Cake\Controller\Component\RequestHandlerComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [ [maximum depth reached] ], '_config' => [ [maximum depth reached] ] } Flash => object(Cake\Controller\Component\FlashComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [ [maximum depth reached] ] } Auth => object(Cake\Controller\Component\AuthComponent) { 'components' => [ [maximum depth reached] ], 'implementedEvents' => [ [maximum depth reached] ], '_config' => [ [maximum depth reached] ] } Services => object(App\Model\Table\ServicesTable) { 'registryAlias' => 'Services', 'table' => 'services', 'alias' => 'Services', 'entityClass' => 'App\Model\Entity\Service', 'associations' => [[maximum depth reached]], 'behaviors' => [[maximum depth reached]], 'defaultConnection' => 'default', 'connectionName' => 'default' } [protected] session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '1440' [protected] _isCLI => false } [protected] _responseClass => 'Cake\Network\Response' [protected] _components => object(Cake\Controller\ComponentRegistry) { '_Controller' => object(App\Controller\SiteController) {}, '_loaded' => [ [maximum depth reached] ], '_eventManager' => object(Cake\Event\EventManager) {}, '_eventClass' => '\Cake\Event\Event' } [protected] _validViewOptions => [ (int) 0 => 'passedArgs' ] [protected] _eventManager => object(Cake\Event\EventManager) { '_listeners' => [ [maximum depth reached] ], '_isGlobal' => false, '_generalManager' => '(object) EventManager' } [protected] _eventClass => '\Cake\Event\Event' [protected] _tableLocator => object(Cake\ORM\Locator\TableLocator) { [protected] _config => [[maximum depth reached]] [protected] _instances => [ [maximum depth reached] ] [protected] _fallbacked => [[maximum depth reached]] [protected] _options => [ [maximum depth reached] ] } [protected] _modelFactories => [ 'Table' => [ (int) 0 => object(Cake\ORM\Locator\TableLocator) {}, (int) 1 => 'get' ] ] [protected] _modelType => 'Table' [protected] _viewBuilder => null }
|
|
$dispatcher = DispatcherFactory::create(); |
|
$dispatcher->dispatch( |
|
Request::createFromGlobals(), |
|
new Response() |
|
); |
|
|
object(Cake\Network\Request) { params => [ 'plugin' => null, 'controller' => 'Site', 'action' => 'index', '_ext' => null, 'pass' => [], 'isAjax' => false ] data => [] query => [] cookies => [] url => '' base => '' webroot => '/' here => '/' trustProxy => false [protected] _environment => [ 'CONTEXT_DOCUMENT_ROOT' => '/home/marcos/public_html', 'CONTEXT_PREFIX' => '', 'DOCUMENT_ROOT' => '/home/marcos/public_html', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'HTTPS' => 'on', 'HTTP_ACCEPT' => '*/*', 'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate', 'HTTP_HOST' => 'mail.yaumedicinachinesa.com.br', 'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', 'HTTP_X_HTTPS' => '1', 'PATH' => '/bin:/usr/bin', 'QUERY_STRING' => '', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://mail.yaumedicinachinesa.com.br/', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'mail.yaumedicinachinesa.com.br', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'Z-zB3_jinuqfDCi8IO6XmwAAAAY', 'REDIRECT_SCRIPT_URI' => 'https://mail.yaumedicinachinesa.com.br/', 'REDIRECT_SCRIPT_URL' => '/', 'REDIRECT_SSL_TLS_SNI' => 'mail.yaumedicinachinesa.com.br', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'Z-zB3_jinuqfDCi8IO6XmwAAAAY', 'REDIRECT_URL' => '/webroot/', 'REMOTE_ADDR' => '18.217.0.242', 'REMOTE_PORT' => '45070', 'REQUEST_METHOD' => 'GET', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/', 'SCRIPT_FILENAME' => '/home/marcos/public_html/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'https://mail.yaumedicinachinesa.com.br/', 'SCRIPT_URL' => '/', 'SERVER_ADDR' => '10.0.0.6', 'SERVER_ADMIN' => 'webmaster@yaumedicinachinesa.com.br', 'SERVER_NAME' => 'mail.yaumedicinachinesa.com.br', 'SERVER_PORT' => '443', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SSL_TLS_SNI' => 'mail.yaumedicinachinesa.com.br', 'TZ' => 'America/Sao_Paulo', 'UNIQUE_ID' => 'Z-zB3_jinuqfDCi8IO6XmwAAAAY', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1743569375.4681, 'REQUEST_TIME' => (int) 1743569375, 'argv' => [], 'argc' => (int) 0, 'HTTP_X_HTTP_METHOD_OVERRIDE' => null, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null, 'HTTP_IF_NONE_MATCH' => null, 'HTTP_IF_MODIFIED_SINCE' => null ] [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'post' => false, 'put' => false, 'patch' => false, 'delete' => false ] [protected] _input => '' [protected] _session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '1440' [protected] _isCLI => false } } object(Cake\Network\Response) { [protected] _statusCodes => [ (int) 100 => 'Continue', (int) 101 => 'Switching Protocols', (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) 300 => 'Multiple Choices', (int) 301 => 'Moved Permanently', (int) 302 => 'Found', (int) 303 => 'See Other', (int) 304 => 'Not Modified', (int) 305 => 'Use 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) 422 => 'Unprocessable Entity', (int) 429 => 'Too Many Requests', (int) 500 => 'Internal Server Error', (int) 501 => 'Not Implemented', (int) 502 => 'Bad Gateway', (int) 503 => 'Service Unavailable', (int) 504 => 'Gateway Time-out', (int) 505 => 'Unsupported Version' ] [protected] _mimeTypes => [ 'html' => [ (int) 0 => 'text/html', (int) 1 => '*/*' ], 'json' => 'application/json', 'xml' => [ (int) 0 => 'application/xml', (int) 1 => 'text/xml' ], 'rss' => 'application/rss+xml', 'ai' => 'application/postscript', 'bcpio' => 'application/x-bcpio', 'bin' => 'application/octet-stream', 'ccad' => 'application/clariscad', 'cdf' => 'application/x-netcdf', 'class' => 'application/octet-stream', 'cpio' => 'application/x-cpio', 'cpt' => 'application/mac-compactpro', 'csh' => 'application/x-csh', 'csv' => [ (int) 0 => 'text/csv', (int) 1 => 'application/vnd.ms-excel' ], 'dcr' => 'application/x-director', 'dir' => 'application/x-director', 'dms' => 'application/octet-stream', 'doc' => 'application/msword', 'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'drw' => 'application/drafting', 'dvi' => 'application/x-dvi', 'dwg' => 'application/acad', 'dxf' => 'application/dxf', 'dxr' => 'application/x-director', 'eot' => 'application/vnd.ms-fontobject', 'eps' => 'application/postscript', 'exe' => 'application/octet-stream', 'ez' => 'application/andrew-inset', 'flv' => 'video/x-flv', 'gtar' => 'application/x-gtar', 'gz' => 'application/x-gzip', 'bz2' => 'application/x-bzip', '7z' => 'application/x-7z-compressed', 'hdf' => 'application/x-hdf', 'hqx' => 'application/mac-binhex40', 'ico' => 'image/x-icon', 'ips' => 'application/x-ipscript', 'ipx' => 'application/x-ipix', 'js' => 'application/javascript', 'jsonapi' => 'application/vnd.api+json', 'latex' => 'application/x-latex', 'lha' => 'application/octet-stream', 'lsp' => 'application/x-lisp', 'lzh' => 'application/octet-stream', 'man' => 'application/x-troff-man', 'me' => 'application/x-troff-me', 'mif' => 'application/vnd.mif', 'ms' => 'application/x-troff-ms', 'nc' => 'application/x-netcdf', 'oda' => 'application/oda', 'otf' => 'font/otf', 'pdf' => 'application/pdf', 'pgn' => 'application/x-chess-pgn', 'pot' => 'application/vnd.ms-powerpoint', 'pps' => 'application/vnd.ms-powerpoint', 'ppt' => 'application/vnd.ms-powerpoint', 'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation', 'ppz' => 'application/vnd.ms-powerpoint', 'pre' => 'application/x-freelance', 'prt' => 'application/pro_eng', 'ps' => 'application/postscript', 'roff' => 'application/x-troff', 'scm' => 'application/x-lotusscreencam', 'set' => 'application/set', 'sh' => 'application/x-sh', 'shar' => 'application/x-shar', 'sit' => 'application/x-stuffit', 'skd' => 'application/x-koan', 'skm' => 'application/x-koan', 'skp' => 'application/x-koan', 'skt' => 'application/x-koan', 'smi' => 'application/smil', 'smil' => 'application/smil', 'sol' => 'application/solids', 'spl' => 'application/x-futuresplash', 'src' => 'application/x-wais-source', 'step' => 'application/STEP', 'stl' => 'application/SLA', 'stp' => 'application/STEP', 'sv4cpio' => 'application/x-sv4cpio', 'sv4crc' => 'application/x-sv4crc', 'svg' => 'image/svg+xml', 'svgz' => 'image/svg+xml', 'swf' => 'application/x-shockwave-flash', 't' => 'application/x-troff', 'tar' => 'application/x-tar', 'tcl' => 'application/x-tcl', 'tex' => 'application/x-tex', 'texi' => 'application/x-texinfo', 'texinfo' => 'application/x-texinfo', 'tr' => 'application/x-troff', 'tsp' => 'application/dsptype', 'ttc' => 'font/ttf', 'ttf' => 'font/ttf', 'unv' => 'application/i-deas', 'ustar' => 'application/x-ustar', 'vcd' => 'application/x-cdlink', 'vda' => 'application/vda', 'xlc' => 'application/vnd.ms-excel', 'xll' => 'application/vnd.ms-excel', 'xlm' => 'application/vnd.ms-excel', 'xls' => 'application/vnd.ms-excel', 'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'xlw' => 'application/vnd.ms-excel', 'zip' => 'application/zip', 'aif' => 'audio/x-aiff', 'aifc' => 'audio/x-aiff', 'aiff' => 'audio/x-aiff', 'au' => 'audio/basic', 'kar' => 'audio/midi', 'mid' => 'audio/midi', 'midi' => 'audio/midi', 'mp2' => 'audio/mpeg', 'mp3' => 'audio/mpeg', 'mpga' => 'audio/mpeg', 'ogg' => 'audio/ogg', 'oga' => 'audio/ogg', 'spx' => 'audio/ogg', 'ra' => 'audio/x-realaudio', 'ram' => 'audio/x-pn-realaudio', 'rm' => 'audio/x-pn-realaudio', 'rpm' => 'audio/x-pn-realaudio-plugin', 'snd' => 'audio/basic', 'tsi' => 'audio/TSP-audio', 'wav' => 'audio/x-wav', 'aac' => 'audio/aac', 'asc' => 'text/plain', 'c' => 'text/plain', 'cc' => 'text/plain', 'css' => 'text/css', 'etx' => 'text/x-setext', 'f' => 'text/plain', 'f90' => 'text/plain', 'h' => 'text/plain', 'hh' => 'text/plain', 'htm' => [ (int) 0 => 'text/html', (int) 1 => '*/*' ], 'ics' => 'text/calendar', 'm' => 'text/plain', 'rtf' => 'text/rtf', 'rtx' => 'text/richtext', 'sgm' => 'text/sgml', 'sgml' => 'text/sgml', 'tsv' => 'text/tab-separated-values', 'tpl' => 'text/template', 'txt' => 'text/plain', 'text' => 'text/plain', 'avi' => 'video/x-msvideo', 'fli' => 'video/x-fli', 'mov' => 'video/quicktime', 'movie' => 'video/x-sgi-movie', 'mpe' => 'video/mpeg', 'mpeg' => 'video/mpeg', 'mpg' => 'video/mpeg', 'qt' => 'video/quicktime', 'viv' => 'video/vnd.vivo', 'vivo' => 'video/vnd.vivo', 'ogv' => 'video/ogg', 'webm' => 'video/webm', 'mp4' => 'video/mp4', 'm4v' => 'video/mp4', 'f4v' => 'video/mp4', 'f4p' => 'video/mp4', 'm4a' => 'audio/mp4', 'f4a' => 'audio/mp4', 'f4b' => 'audio/mp4', 'gif' => 'image/gif', 'ief' => 'image/ief', 'jpg' => 'image/jpeg', 'jpeg' => 'image/jpeg', 'jpe' => 'image/jpeg', 'pbm' => 'image/x-portable-bitmap', 'pgm' => 'image/x-portable-graymap', 'png' => 'image/png', 'pnm' => 'image/x-portable-anymap', 'ppm' => 'image/x-portable-pixmap', 'ras' => 'image/cmu-raster', 'rgb' => 'image/x-rgb', 'tif' => 'image/tiff', 'tiff' => 'image/tiff', 'xbm' => 'image/x-xbitmap', 'xpm' => 'image/x-xpixmap', 'xwd' => 'image/x-xwindowdump', 'ice' => 'x-conference/x-cooltalk', 'iges' => 'model/iges', 'igs' => 'model/iges', 'mesh' => 'model/mesh', 'msh' => 'model/mesh', 'silo' => 'model/mesh', 'vrml' => 'model/vrml', 'wrl' => 'model/vrml', 'mime' => 'www/mime', 'pdb' => 'chemical/x-pdb', 'xyz' => 'chemical/x-pdb', 'javascript' => 'application/javascript', 'form' => 'application/x-www-form-urlencoded', 'file' => 'multipart/form-data', 'xhtml' => [ (int) 0 => 'application/xhtml+xml', (int) 1 => 'application/xhtml', (int) 2 => 'text/xhtml' ], 'xhtml-mobile' => 'application/vnd.wap.xhtml+xml', 'atom' => 'application/atom+xml', 'amf' => 'application/x-amf', 'wap' => [ (int) 0 => 'text/vnd.wap.wml', (int) 1 => 'text/vnd.wap.wmlscript', (int) 2 => 'image/vnd.wap.wbmp' ], 'wml' => 'text/vnd.wap.wml', 'wmlscript' => 'text/vnd.wap.wmlscript', 'wbmp' => 'image/vnd.wap.wbmp', 'woff' => 'application/x-font-woff', 'webp' => 'image/webp', 'appcache' => 'text/cache-manifest', 'manifest' => 'text/cache-manifest', 'htc' => 'text/x-component', 'rdf' => 'application/xml', 'crx' => 'application/x-chrome-extension', 'oex' => 'application/x-opera-extension', 'xpi' => 'application/x-xpinstall', 'safariextz' => 'application/octet-stream', 'webapp' => 'application/x-web-app-manifest+json', 'vcf' => 'text/x-vcard', 'vtt' => 'text/vtt', 'mkv' => 'video/x-matroska', 'pkpass' => 'application/vnd.apple.pkpass', 'ajax' => 'text/html' ] [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => [] [protected] _body => null [protected] _file => null [protected] _fileRange => [] [protected] _charset => 'UTF-8' [protected] _cacheDirectives => [] [protected] _cookies => [] }
If you are using SQL keywords as table column names, you can enable identifier quoting for your database connection in config/app.php.
If you want to customize this error message, create src/Template/Error/pdo_error.ctp