Code Context } else {
$homePageFinder= file_get_contents($CACHE_DIRECTORY . 'routes' . DS.'homepage.json');
$homePageFinder=json_decode($homePageFinder,true);
$event = object(Cake\Event\Event) {
result => null
[protected] _name => 'Dispatcher.beforeDispatch'
[protected] _subject => object(Cake\Http\ActionDispatcher) {}
[protected] _data => [
'request' => object(Cake\Http\ServerRequest) {},
'response' => object(Cake\Http\Response) {}
]
[protected] _stopped => false
}
$request = object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [[maximum depth reached]]
]
[protected] data => []
[protected] query => []
[protected] cookies => []
[protected] _environment => [
'REDIRECT_REDIRECT_SCRIPT_URL' => '/professional-tools',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://dev1.megogrid.com/professional-tools',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'dev1.megogrid.com',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_SCRIPT_URL' => '/professional-tools',
'REDIRECT_SCRIPT_URI' => 'https://dev1.megogrid.com/professional-tools',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'dev1.megogrid.com',
'REDIRECT_STATUS' => '200',
'SCRIPT_URL' => '/professional-tools',
'SCRIPT_URI' => 'https://dev1.megogrid.com/professional-tools',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'dev1.megogrid.com',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_HOST' => 'dev1.megogrid.com',
'HTTP_X_FORWARDED_PORT' => '443',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_X_FORWARDED_FOR' => '216.73.216.6',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.52 (Ubuntu) Server at dev1.megogrid.com Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.52 (Ubuntu)',
'SERVER_NAME' => 'dev1.megogrid.com',
'SERVER_ADDR' => '10.0.0.171',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '216.73.216.6',
'DOCUMENT_ROOT' => '/xmedia/websites_new/clients/mevofit_updated',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/xmedia/websites_new/clients/mevofit_updated',
'SERVER_ADMIN' => '[no address given]',
'SCRIPT_FILENAME' => '/xmedia/websites_new/clients/mevofit_updated/webroot/index.php',
'REMOTE_PORT' => '24580',
'REDIRECT_URL' => '/webroot/professional-tools',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/professional-tools',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1761641446.877,
'REQUEST_TIME' => (int) 1761641446,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'professional-tools'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/professional-tools'
[protected] trustedProxies => []
[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 => []
[protected] stream => object(Laminas\Diactoros\PhpInputStream) {}
[protected] uri => object(Laminas\Diactoros\Uri) {}
[protected] session => object(Cake\Http\Session) {}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params',
(int) 4 => 'here'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
'data' => [
[maximum depth reached]
],
'query' => [
[maximum depth reached]
],
'params' => [
[maximum depth reached]
],
'cookies' => [
[maximum depth reached]
],
'url' => [
[maximum depth reached]
],
'base' => [
[maximum depth reached]
],
'webroot' => [
[maximum depth reached]
],
'here' => [
[maximum depth reached]
]
]
[private] mergeFilesAsObjects => false
}
$url = 'professional-tools'
$urlParts = [
(int) 0 => 'professional-tools'
]
$dirPath = 'professional-tools'
$CACHE_DIRECTORY = '/xmedia/websites_new/clients/cached_files/dev1.megogrid.com/professional-tools/live/'
$filePath = []file_get_contents - [internal], line ??
Cache\Routing\Filter\LiveWebsiteCacheFilter::beforeDispatch() - ROOT/plugins/Cache/src/Routing/Filter/LiveWebsiteCacheFilter.php, line 80
Cake\Routing\DispatcherFilter::handle() - CORE/src/Routing/DispatcherFilter.php, line 143
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 351
Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 328
Cake\Http\ActionDispatcher::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 112
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 79
Cake\Routing\Dispatcher::dispatch() - CORE/src/Routing/Dispatcher.php, line 66
[main] - ROOT/webroot/index.php, line 36