Notice (8) : compact(): Undefined variable: etagMatches [CORE/src/Http/Response.php , line 1864 ]Code Context $timeMatches = strtotime ( $this -> modified ()) === strtotime ( $modifiedSince );
}
$checks = compact ( 'etagMatches' , 'timeMatches' ); $request = object(Cake\Http\ServerRequest) {
params => [
'plugin' => null,
'controller' => 'Pages',
'action' => 'display',
'_ext' => null,
'pass' => [
[maximum depth reached]
],
'_matchedRoute' => '/',
'isAjax' => false
]
data => []
query => []
cookies => []
url => ''
base => ''
webroot => '/'
here => '/'
trustProxy => false
[protected] _environment => [
'USER' => 'apache',
'HOME' => '/usr/share/httpd',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_X_CLIENT_REAL_IP' => '216.73.216.84',
'HTTP_X_FORWARDED_FOR' => '216.73.216.84',
'HTTP_HOST' => 'branch.momo-3.com',
'SCRIPT_FILENAME' => '/home/subcli/branch/webroot/index.php',
'REDIRECT_STATUS' => '200',
'SERVER_NAME' => 'branch.momo-3.com',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.0.170.149',
'REMOTE_PORT' => '37592',
'REMOTE_ADDR' => '52.197.47.33',
'SERVER_SOFTWARE' => 'nginx/1.20.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REQUEST_SCHEME' => 'http',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'DOCUMENT_ROOT' => '/home/subcli/branch/webroot',
'DOCUMENT_URI' => '/index.php',
'REQUEST_URI' => '/',
'SCRIPT_NAME' => '/index.php',
'CONTENT_LENGTH' => '',
'CONTENT_TYPE' => '',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1764986911.2912,
'REQUEST_TIME' => (int) 1764986911,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
'HTTP_X_REQUESTED_WITH' => null,
'HTTP_IF_NONE_MATCH' => null,
'HTTP_IF_MODIFIED_SINCE' => null
]
[protected] _input => null
[protected] _detectors => [
'get' => [
[maximum depth reached]
],
'post' => [
[maximum depth reached]
],
'put' => [
[maximum depth reached]
],
'patch' => [
[maximum depth reached]
],
'delete' => [
[maximum depth reached]
],
'head' => [
[maximum depth reached]
],
'options' => [
[maximum depth reached]
],
'ssl' => [
[maximum depth reached]
],
'ajax' => [
[maximum depth reached]
],
'flash' => [
[maximum depth reached]
],
'requested' => [
[maximum depth reached]
],
'json' => [
[maximum depth reached]
],
'xml' => [
[maximum depth reached]
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => [
'ajax' => false,
'get' => true,
'head' => false,
'options' => false
]
[protected] stream => object(Zend\Diactoros\PhpInputStream) {}
[protected] uri => object(Zend\Diactoros\Uri) {}
[protected] session => object(Cake\Network\Session) {}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
}
$etags = []
$modifiedSince = null
$responseTag = null compact - [internal], line ??
Cake\Http\Response::checkNotModified() - CORE/src/Http/Response.php, line 1864
Cake\Controller\Component\RequestHandlerComponent::beforeRender() - CORE/src/Controller/Component/RequestHandlerComponent.php, line 332
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 414
Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 391
Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 78
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 610
App\Controller\PagesController::display() - APP/Controller/PagesController.php, line 57
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 440
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 119
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 93
Cake\Routing\Dispatcher::dispatch() - CORE/src/Routing/Dispatcher.php, line 60
[main] - ROOT/webroot/index.php, line 36 Notice (8) : compact() [<a href='https://secure.php.net/function.compact'>function.compact</a>]: Undefined variable: timeMatches [CORE/src/Http/Response.php , line 1864 ]Code Context $timeMatches = strtotime ( $this -> modified ()) === strtotime ( $modifiedSince );
}
$checks = compact ( 'etagMatches' , 'timeMatches' ); $request = object(Cake\Http\ServerRequest) {
params => [
'plugin' => null,
'controller' => 'Pages',
'action' => 'display',
'_ext' => null,
'pass' => [
[maximum depth reached]
],
'_matchedRoute' => '/',
'isAjax' => false
]
data => []
query => []
cookies => []
url => ''
base => ''
webroot => '/'
here => '/'
trustProxy => false
[protected] _environment => [
'USER' => 'apache',
'HOME' => '/usr/share/httpd',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_X_CLIENT_REAL_IP' => '216.73.216.84',
'HTTP_X_FORWARDED_FOR' => '216.73.216.84',
'HTTP_HOST' => 'branch.momo-3.com',
'SCRIPT_FILENAME' => '/home/subcli/branch/webroot/index.php',
'REDIRECT_STATUS' => '200',
'SERVER_NAME' => 'branch.momo-3.com',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.0.170.149',
'REMOTE_PORT' => '37592',
'REMOTE_ADDR' => '52.197.47.33',
'SERVER_SOFTWARE' => 'nginx/1.20.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REQUEST_SCHEME' => 'http',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'DOCUMENT_ROOT' => '/home/subcli/branch/webroot',
'DOCUMENT_URI' => '/index.php',
'REQUEST_URI' => '/',
'SCRIPT_NAME' => '/index.php',
'CONTENT_LENGTH' => '',
'CONTENT_TYPE' => '',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1764986911.2912,
'REQUEST_TIME' => (int) 1764986911,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
'HTTP_X_REQUESTED_WITH' => null,
'HTTP_IF_NONE_MATCH' => null,
'HTTP_IF_MODIFIED_SINCE' => null,
'HTTP_REFERER' => null
]
[protected] _input => null
[protected] _detectors => [
'get' => [
[maximum depth reached]
],
'post' => [
[maximum depth reached]
],
'put' => [
[maximum depth reached]
],
'patch' => [
[maximum depth reached]
],
'delete' => [
[maximum depth reached]
],
'head' => [
[maximum depth reached]
],
'options' => [
[maximum depth reached]
],
'ssl' => [
[maximum depth reached]
],
'ajax' => [
[maximum depth reached]
],
'flash' => [
[maximum depth reached]
],
'requested' => [
[maximum depth reached]
],
'json' => [
[maximum depth reached]
],
'xml' => [
[maximum depth reached]
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => [
'ajax' => false,
'get' => true,
'head' => false,
'options' => false
]
[protected] stream => object(Zend\Diactoros\PhpInputStream) {}
[protected] uri => object(Zend\Diactoros\Uri) {}
[protected] session => object(Cake\Network\Session) {}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
}
$etags = []
$modifiedSince = null
$responseTag = null compact - [internal], line ??
Cake\Http\Response::checkNotModified() - CORE/src/Http/Response.php, line 1864
Cake\Controller\Component\RequestHandlerComponent::beforeRender() - CORE/src/Controller/Component/RequestHandlerComponent.php, line 332
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 414
Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 391
Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 78
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 610
App\Controller\PagesController::display() - APP/Controller/PagesController.php, line 57
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 440
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 119
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 93
Cake\Routing\Dispatcher::dispatch() - CORE/src/Routing/Dispatcher.php, line 60
[main] - ROOT/webroot/index.php, line 36 Notice (8) : compact() [<a href='https://secure.php.net/function.compact'>function.compact</a>]: Undefined variable: etagMatches [CORE/src/Http/Response.php , line 1864 ]Code Context $timeMatches = strtotime ( $this -> modified ()) === strtotime ( $modifiedSince );
}
$checks = compact ( 'etagMatches' , 'timeMatches' ); $request = object(Cake\Http\ServerRequest) {
params => [
'plugin' => null,
'controller' => 'Pages',
'action' => 'display',
'_ext' => null,
'pass' => [
[maximum depth reached]
],
'_matchedRoute' => '/',
'isAjax' => false
]
data => []
query => []
cookies => []
url => ''
base => ''
webroot => '/'
here => '/'
trustProxy => false
[protected] _environment => [
'USER' => 'apache',
'HOME' => '/usr/share/httpd',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_X_CLIENT_REAL_IP' => '216.73.216.84',
'HTTP_X_FORWARDED_FOR' => '216.73.216.84',
'HTTP_HOST' => 'branch.momo-3.com',
'SCRIPT_FILENAME' => '/home/subcli/branch/webroot/index.php',
'REDIRECT_STATUS' => '200',
'SERVER_NAME' => 'branch.momo-3.com',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.0.170.149',
'REMOTE_PORT' => '37592',
'REMOTE_ADDR' => '52.197.47.33',
'SERVER_SOFTWARE' => 'nginx/1.20.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REQUEST_SCHEME' => 'http',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'DOCUMENT_ROOT' => '/home/subcli/branch/webroot',
'DOCUMENT_URI' => '/index.php',
'REQUEST_URI' => '/',
'SCRIPT_NAME' => '/index.php',
'CONTENT_LENGTH' => '',
'CONTENT_TYPE' => '',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1764986911.2912,
'REQUEST_TIME' => (int) 1764986911,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
'HTTP_X_REQUESTED_WITH' => null,
'HTTP_IF_NONE_MATCH' => null,
'HTTP_IF_MODIFIED_SINCE' => null,
'HTTP_REFERER' => null
]
[protected] _input => null
[protected] _detectors => [
'get' => [
[maximum depth reached]
],
'post' => [
[maximum depth reached]
],
'put' => [
[maximum depth reached]
],
'patch' => [
[maximum depth reached]
],
'delete' => [
[maximum depth reached]
],
'head' => [
[maximum depth reached]
],
'options' => [
[maximum depth reached]
],
'ssl' => [
[maximum depth reached]
],
'ajax' => [
[maximum depth reached]
],
'flash' => [
[maximum depth reached]
],
'requested' => [
[maximum depth reached]
],
'json' => [
[maximum depth reached]
],
'xml' => [
[maximum depth reached]
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => [
'ajax' => false,
'get' => true,
'head' => false,
'options' => false
]
[protected] stream => object(Zend\Diactoros\PhpInputStream) {}
[protected] uri => object(Zend\Diactoros\Uri) {}
[protected] session => object(Cake\Network\Session) {}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
}
$etags = []
$modifiedSince = null
$responseTag = null compact - [internal], line ??
Cake\Http\Response::checkNotModified() - CORE/src/Http/Response.php, line 1864
Cake\Controller\Component\RequestHandlerComponent::beforeRender() - CORE/src/Controller/Component/RequestHandlerComponent.php, line 332
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 414
Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 391
Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 78
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 610
Cake\Error\ExceptionRenderer::_outputMessage() - CORE/src/Error/ExceptionRenderer.php, line 325
Cake\Error\ExceptionRenderer::render() - CORE/src/Error/ExceptionRenderer.php, line 200
Cake\Error\ErrorHandler::_displayException() - CORE/src/Error/ErrorHandler.php, line 137
Cake\Error\BaseErrorHandler::handleException() - CORE/src/Error/BaseErrorHandler.php, line 187
Cake\Error\BaseErrorHandler::wrapAndHandleException() - CORE/src/Error/BaseErrorHandler.php, line 171
[main] - [internal], line ?? Notice (8) : compact() [<a href='https://secure.php.net/function.compact'>function.compact</a>]: Undefined variable: timeMatches [CORE/src/Http/Response.php , line 1864 ]Code Context $timeMatches = strtotime ( $this -> modified ()) === strtotime ( $modifiedSince );
}
$checks = compact ( 'etagMatches' , 'timeMatches' ); $request = object(Cake\Http\ServerRequest) {
params => [
'plugin' => null,
'controller' => 'Pages',
'action' => 'display',
'_ext' => null,
'pass' => [
[maximum depth reached]
],
'_matchedRoute' => '/',
'isAjax' => false
]
data => []
query => []
cookies => []
url => ''
base => ''
webroot => '/'
here => '/'
trustProxy => false
[protected] _environment => [
'USER' => 'apache',
'HOME' => '/usr/share/httpd',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_X_CLIENT_REAL_IP' => '216.73.216.84',
'HTTP_X_FORWARDED_FOR' => '216.73.216.84',
'HTTP_HOST' => 'branch.momo-3.com',
'SCRIPT_FILENAME' => '/home/subcli/branch/webroot/index.php',
'REDIRECT_STATUS' => '200',
'SERVER_NAME' => 'branch.momo-3.com',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.0.170.149',
'REMOTE_PORT' => '37592',
'REMOTE_ADDR' => '52.197.47.33',
'SERVER_SOFTWARE' => 'nginx/1.20.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REQUEST_SCHEME' => 'http',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'DOCUMENT_ROOT' => '/home/subcli/branch/webroot',
'DOCUMENT_URI' => '/index.php',
'REQUEST_URI' => '/',
'SCRIPT_NAME' => '/index.php',
'CONTENT_LENGTH' => '',
'CONTENT_TYPE' => '',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1764986911.2912,
'REQUEST_TIME' => (int) 1764986911,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
'HTTP_X_REQUESTED_WITH' => null,
'HTTP_IF_NONE_MATCH' => null,
'HTTP_IF_MODIFIED_SINCE' => null,
'HTTP_REFERER' => null
]
[protected] _input => null
[protected] _detectors => [
'get' => [
[maximum depth reached]
],
'post' => [
[maximum depth reached]
],
'put' => [
[maximum depth reached]
],
'patch' => [
[maximum depth reached]
],
'delete' => [
[maximum depth reached]
],
'head' => [
[maximum depth reached]
],
'options' => [
[maximum depth reached]
],
'ssl' => [
[maximum depth reached]
],
'ajax' => [
[maximum depth reached]
],
'flash' => [
[maximum depth reached]
],
'requested' => [
[maximum depth reached]
],
'json' => [
[maximum depth reached]
],
'xml' => [
[maximum depth reached]
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => [
'ajax' => false,
'get' => true,
'head' => false,
'options' => false
]
[protected] stream => object(Zend\Diactoros\PhpInputStream) {}
[protected] uri => object(Zend\Diactoros\Uri) {}
[protected] session => object(Cake\Network\Session) {}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
}
$etags = []
$modifiedSince = null
$responseTag = null compact - [internal], line ??
Cake\Http\Response::checkNotModified() - CORE/src/Http/Response.php, line 1864
Cake\Controller\Component\RequestHandlerComponent::beforeRender() - CORE/src/Controller/Component/RequestHandlerComponent.php, line 332
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 414
Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 391
Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 78
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 610
Cake\Error\ExceptionRenderer::_outputMessage() - CORE/src/Error/ExceptionRenderer.php, line 325
Cake\Error\ExceptionRenderer::render() - CORE/src/Error/ExceptionRenderer.php, line 200
Cake\Error\ErrorHandler::_displayException() - CORE/src/Error/ErrorHandler.php, line 137
Cake\Error\BaseErrorHandler::handleException() - CORE/src/Error/BaseErrorHandler.php, line 187
Cake\Error\BaseErrorHandler::wrapAndHandleException() - CORE/src/Error/BaseErrorHandler.php, line 171
[main] - [internal], line ??
Error: SQLSTATE[HY000] [1045] Access denied for user 'click'@'localhost' (using password: YES)
/home/subcli/branch/vendor/cakephp/cakephp/src/Database/Driver/PDODriverTrait.php
toggle arguments
$connection = new PDO (
$dsn ,
$config [ 'username' ],
$config [ 'password' ],
$config [ 'flags' ]
);
$this -> connection ( $connection );
return true ;
/home/subcli/branch/vendor/cakephp/cakephp/src/Database/Driver/Mysql.php
toggle arguments
} 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 ) {
/home/subcli/branch/vendor/cakephp/cakephp/src/Database/Schema/BaseSchema.php
toggle arguments
* @ param \ Cake \ Database \ Driver $driver The driver to use.
*/
public function __construct ( Driver $driver )
{
$driver -> connect ();
$this -> _driver = $driver ;
}
/**
/home/subcli/branch/vendor/cakephp/cakephp/src/Database/Dialect/MysqlDialectTrait.php
toggle arguments
*/
public function schemaDialect ()
{
if (! $this -> _schemaDialect ) {
$this -> _schemaDialect = new MysqlSchema ( $this );
}
return $this -> _schemaDialect ;
}
/home/subcli/branch/vendor/cakephp/cakephp/src/Database/Schema/Collection.php
toggle arguments
*/
public function __construct ( ConnectionInterface $connection )
{
$this -> _connection = $connection ;
$this -> _dialect = $connection -> driver ()-> schemaDialect ();
}
/**
* Get the list of tables available in the current connection .
/home/subcli/branch/vendor/cakephp/cakephp/src/Database/Schema/CachedCollection.php
toggle 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 -> setCacheMetadata ( $cacheKey );
}
/**
/home/subcli/branch/vendor/cakephp/cakephp/src/Database/Connection.php
toggle arguments
return $this -> _schemaCollection ;
}
if (!empty( $this -> _config [ 'cacheMetadata' ])) {
return $this -> _schemaCollection = new CachedCollection ( $this , $this -> _config [ 'cacheMetadata' ]);
}
return $this -> _schemaCollection = new SchemaCollection ( $this );
}
/home/subcli/branch/vendor/cakephp/cakephp/src/ORM/Table.php
toggle arguments
{
if ( $this -> _schema === null ) {
$this -> _schema = $this -> _initializeSchema (
$this -> getConnection ()
-> getSchemaCollection ()
-> describe ( $this -> getTable ())
);
}
/home/subcli/branch/vendor/cakephp/cakephp/src/ORM/Query.php
toggle arguments
*/
public function addDefaultTypes ( Table $table )
{
$alias = $table -> getAlias ();
$map = $table -> getSchema ()-> typeMap ();
$fields = [];
foreach ( $map as $f => $type ) {
$fields [ $f ] = $fields [ $alias . '.' . $f ] = $fields [ $alias . '__' . $f ] = $type ;
}
/home/subcli/branch/vendor/cakephp/cakephp/src/ORM/Query.php
toggle arguments
parent :: __construct ( $connection );
$this -> repository ( $table );
if ( $this -> _repository ) {
$this -> addDefaultTypes ( $this -> _repository );
}
}
/**
/home/subcli/branch/vendor/cakephp/cakephp/src/ORM/Table.php
toggle arguments
* {@ inheritDoc }
*/
public function query ()
{
return new Query ( $this -> getConnection (), $this );
}
/**
* {@ inheritDoc }
/home/subcli/branch/vendor/cakephp/cakephp/src/ORM/Table.php
toggle arguments
* @return \ Cake \ ORM \ Query The query builder
*/
public function find ( $type = 'all' , $options = [])
{
$query = $this -> query ();
$query -> select ();
return $this -> callFinder ( $type , $query , $options );
}
/home/subcli/admin/src/Model/Table/ConfigurationsTable.php
toggle arguments
} else {
$where [ 'configuration_code' ] = $code ;
}
}
$tmp = $this -> find ( 'all' )-> where ( $where );
foreach( $tmp as $r ):
if( is_array ( $code ) || $code == null ) {
$result [ $r -> configuration_code ][ $r -> configuration_key ] = $r -> configuration_value ;
} else {
/home/subcli/branch/src/Controller/AppController.php
toggle arguments
}
if(! $this -> request -> is ( 'ajax' )) {
$this -> loadModel ( 'Configurations' );
$siteInfo = $this -> Configurations -> configurations ([ 'Basic' , 'Construction' ]);
$this -> set ( compact ( 'siteInfo' ));
$loginUser = $this -> Auth -> user ();
if(!empty( $loginUser )) {
$this -> loadModel ( 'Users' );
/home/subcli/branch/vendor/cakephp/cakephp/src/Event/EventManager.php
toggle arguments
protected function _callListener (callable $listener , Event $event )
{
$data = $event -> getData ();
return $listener ( $event , ... array_values ( $data ));
}
/**
* Returns a list of all listeners for an eventKey in the order they should be called
/home/subcli/branch/vendor/cakephp/cakephp/src/Event/EventManager.php
toggle arguments
foreach ( $listeners as $listener ) {
if ( $event -> isStopped ()) {
break;
}
$result = $this -> _callListener ( $listener [ 'callable' ], $event );
if ( $result === false ) {
$event -> stopPropagation ();
}
if ( $result !== null ) {
/home/subcli/branch/vendor/cakephp/cakephp/src/Event/EventDispatcherTrait.php
toggle arguments
$subject = $this ;
}
$event = new $this -> _eventClass ( $name , $subject , $data );
$this -> eventManager ()-> dispatch ( $event );
return $event ;
}
}
/home/subcli/branch/vendor/cakephp/cakephp/src/Controller/Controller.php
toggle arguments
$builder -> getClassName ( $this -> viewClass );
$this -> autoRender = false ;
$event = $this -> dispatchEvent ( 'Controller.beforeRender' );
if ( $event -> getResult () instanceof Response ) {
return $event -> getResult ();
}
if ( $event -> isStopped ()) {
/home/subcli/branch/src/Controller/PagesController.php
toggle arguments
}
$this -> set ( compact ( 'page' , 'subpage' ));
try {
$this -> render ( implode ( '/' , $path ));
} catch ( MissingTemplateException $e ) {
if ( Configure :: read ( 'debug' )) {
throw $e ;
}
/home/subcli/branch/vendor/cakephp/cakephp/src/Controller/Controller.php
toggle arguments
}
/* @var callable $callable */
$callable = [ $this , $request -> getParam ( 'action' )];
return $callable (... array_values ( $request -> getParam ( 'pass' )));
}
/**
* Merge components , helpers vars from
/home/subcli/branch/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php
toggle arguments
if ( $result instanceof Response ) {
return $result ;
}
$response = $controller -> invokeAction ();
if ( $response !== null && !( $response instanceof Response )) {
throw new LogicException ( 'Controller actions can only return Cake\Http\Response or null.' );
}
/home/subcli/branch/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php
toggle arguments
} else {
$controller = $this -> factory -> create ( $request , $response );
}
$response = $this -> _invoke ( $controller );
if (isset( $request -> params [ 'return' ])) {
return $response ;
}
/home/subcli/branch/vendor/cakephp/cakephp/src/Routing/Dispatcher.php
toggle arguments
*/
public function dispatch ( ServerRequest $request , Response $response )
{
$actionDispatcher = new ActionDispatcher ( null , $this -> eventManager (), $this -> _filters );
$response = $actionDispatcher -> dispatch ( $request , $response );
if (isset( $request -> params [ 'return' ])) {
return $response -> body ();
}
/home/subcli/branch/webroot/index.php
toggle arguments
$dispatcher = DispatcherFactory :: create ();
$dispatcher -> dispatch (
Request :: createFromGlobals (),
new Response ()
);
If you want to customize this error message, create
src/Template/Error/error500.ctp
toggle vendor stack frames
〉 PDO->__construct
CORE/src/Database/Driver/PDODriverTrait.php, line 47
〉 Cake\Database\Driver\Mysql->_connect
CORE/src/Database/Driver/Mysql.php, line 104
〉 Cake\Database\Driver\Mysql->connect
CORE/src/Database/Schema/BaseSchema.php, line 45
〉 Cake\Database\Schema\BaseSchema->__construct
CORE/src/Database/Dialect/MysqlDialectTrait.php, line 63
〉 Cake\Database\Driver\Mysql->schemaDialect
CORE/src/Database/Schema/Collection.php, line 52
〉 Cake\Database\Schema\Collection->__construct
CORE/src/Database/Schema/CachedCollection.php, line 42
〉 Cake\Database\Schema\CachedCollection->__construct
CORE/src/Database/Connection.php, line 355
〉 Cake\Database\Connection->getSchemaCollection
CORE/src/ORM/Table.php, line 530
〉 Cake\ORM\Table->getSchema
CORE/src/ORM/Query.php, line 210
〉 Cake\ORM\Query->addDefaultTypes
CORE/src/ORM/Query.php, line 167
〉 Cake\ORM\Query->__construct
CORE/src/ORM/Table.php, line 1569
〉 Cake\ORM\Table->query
CORE/src/ORM/Table.php, line 1171
〉 Cake\ORM\Table->find
/home/subcli/admin/src/Model/Table/ConfigurationsTable.php, line 72
〉 App\Model\Table\ConfigurationsTable->configurations
APP/Controller/AppController.php, line 92
〉 App\Controller\AppController->beforeRender
CORE/src/Event/EventManager.php, line 414
〉 Cake\Event\EventManager->_callListener
CORE/src/Event/EventManager.php, line 391
〉 Cake\Event\EventManager->dispatch
CORE/src/Event/EventDispatcherTrait.php, line 78
〉 Cake\Controller\Controller->dispatchEvent
CORE/src/Controller/Controller.php, line 610
〉 Cake\Controller\Controller->render
APP/Controller/PagesController.php, line 57
〉 App\Controller\PagesController->display
CORE/src/Controller/Controller.php, line 440
〉 Cake\Controller\Controller->invokeAction
CORE/src/Http/ActionDispatcher.php, line 119
〉 Cake\Http\ActionDispatcher->_invoke
CORE/src/Http/ActionDispatcher.php, line 93
〉 Cake\Http\ActionDispatcher->dispatch
CORE/src/Routing/Dispatcher.php, line 60
〉 Cake\Routing\Dispatcher->dispatch
ROOT/webroot/index.php, line 36