The value "52.14.236.72, 64.252.77.0" is not a valid IP address.
Error: An Internal Error Has Occurred.
Stack Trace
- APP/Controller/PagesController.php line 2155 → MaxMind\Db\Reader->get(string)
public function showCookieBanner() {
$reader = new Reader(APP.'Vendor'.DS.'maxmind'.DS.'GeoIP2-City.mmdb');
$visitorIp = $_SERVER['HTTP_X_FORWARDED_FOR'] ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $this->request->clientIp();
$record = $reader->get($visitorIp);
$reader->close();
'52.14.236.72, 64.252.77.0'
- APP/Controller/PagesController.php line 37 → PagesController->showCookieBanner()
$paramsCount = !empty($courseParams) ? count($courseParams) : 0;
$this->set('allCourseTypes', $this->allCourseTypes);
$this->showCookieBanner = $this->showCookieBanner();
$this->set('showCookieBanner', $this->showCookieBanner);
- [internal function] → PagesController->home(string, string, string, string, string, string)
'kuwait' 'mubarak-al-kabeer' 'media-creative-and-design' 'adobe' 'photoshop' 'full-time'
- CORE/Cake/Controller/Controller.php line 485 → ReflectionMethod->invokeArgs(PagesController, array)
'action' => $request->params['action']
));
}
return $method->invokeArgs($this, $request->params['pass']);
object(PagesController) { name => 'Pages' cacheAction => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) page => '' showCookieBanner => false uses => array( [maximum depth reached] ) allCourseTypes => array( [maximum depth reached] ) hook => '' resultsFound => '' components => array( [maximum depth reached] ) siteUrl => 'https://courses.laimoon.com/' langUrl => 'https://courses.laimoon.com/' linkedIn => array( [maximum depth reached] ) global_location_id => (int) 225 global_location_ids => '116,276,277,278,279,280,281' profileInfo => null defaultLoginGroup => (int) 0 loc => 'kuwait' is_mobile => '' course_type_id => (int) 0 langCode => 'en' referralPage => '' langUrlPrefix => '' locationMetaTitles => array( [maximum depth reached] ) languageMapping => array( [maximum depth reached] ) paymentMethod => null request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Pages' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'home' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'CourseCategory' modelKey => 'page' validationErrors => null Acl => object(AclComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Auth => object(AuthComponent) {} DynamoSession => object(DynamoSessionComponent) {} Laimoon => object(LaimoonComponent) {} RequestHandler => object(RequestHandlerComponent) {} Search => object(SearchComponent) {} Localization => object(LocalizationComponent) {} LaimoonCountry => object(LaimoonCountry) {} Currency => object(Currency) {} IpCountry => object(IpCountry) {} } array( (int) 0 => 'kuwait', (int) 1 => 'mubarak-al-kabeer', (int) 2 => 'media-creative-and-design', (int) 3 => 'adobe', (int) 4 => 'photoshop', (int) 5 => 'full-time' )
- CORE/Cake/Routing/Dispatcher.php line 186 → Controller->invokeAction(CakeRequest)
$controller->startupProcess();
$render = true;
$result = $controller->invokeAction($request);
if ($result instanceof CakeResponse) {
object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'kuwait/mubarak-al-kabeer/media-creative-and-design/adobe/photoshop/full-time' base => '' webroot => '/' here => '/kuwait/mubarak-al-kabeer/media-creative-and-design/adobe/photoshop/full-time' }
- CORE/Cake/Routing/Dispatcher.php line 161 → Dispatcher->_invoke(PagesController, CakeRequest, CakeResponse)
));
}
$response = $this->_invoke($controller, $request, $response);
if (isset($request->params['return'])) {
object(PagesController) { name => 'Pages' cacheAction => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) page => '' showCookieBanner => false uses => array( [maximum depth reached] ) allCourseTypes => array( [maximum depth reached] ) hook => '' resultsFound => '' components => array( [maximum depth reached] ) siteUrl => 'https://courses.laimoon.com/' langUrl => 'https://courses.laimoon.com/' linkedIn => array( [maximum depth reached] ) global_location_id => (int) 225 global_location_ids => '116,276,277,278,279,280,281' profileInfo => null defaultLoginGroup => (int) 0 loc => 'kuwait' is_mobile => '' course_type_id => (int) 0 langCode => 'en' referralPage => '' langUrlPrefix => '' locationMetaTitles => array( [maximum depth reached] ) languageMapping => array( [maximum depth reached] ) paymentMethod => null request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Pages' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'home' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'CourseCategory' modelKey => 'page' validationErrors => null Acl => object(AclComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Auth => object(AuthComponent) {} DynamoSession => object(DynamoSessionComponent) {} Laimoon => object(LaimoonComponent) {} RequestHandler => object(RequestHandlerComponent) {} Search => object(SearchComponent) {} Localization => object(LocalizationComponent) {} LaimoonCountry => object(LaimoonCountry) {} Currency => object(Currency) {} IpCountry => object(IpCountry) {} } object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'kuwait/mubarak-al-kabeer/media-creative-and-design/adobe/photoshop/full-time' base => '' webroot => '/' here => '/kuwait/mubarak-al-kabeer/media-creative-and-design/adobe/photoshop/full-time' } object(CakeResponse) { }
- APP/webroot/index.php line 99 → Dispatcher->dispatch(CakeRequest, CakeResponse)
App::uses('Dispatcher', 'Routing');
$Dispatcher = new Dispatcher();
$Dispatcher->dispatch(new CakeRequest(), new CakeResponse(array('charset' => Configure::read('App.encoding'))));
object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'kuwait/mubarak-al-kabeer/media-creative-and-design/adobe/photoshop/full-time' base => '' webroot => '/' here => '/kuwait/mubarak-al-kabeer/media-creative-and-design/adobe/photoshop/full-time' } object(CakeResponse) { }