The value "18.188.87.124, 64.252.75.118" 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();
'18.188.87.124, 64.252.75.118'
- 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)
'ireland' 'sligo' 'soft-skills' 'presentology' '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/ar/' linkedIn => array( [maximum depth reached] ) global_location_id => (int) 225 global_location_ids => '104,104,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416' profileInfo => null defaultLoginGroup => (int) 0 loc => 'ireland' is_mobile => '' course_type_id => (int) 0 langCode => 'ar' referralPage => '' langUrlPrefix => 'ar/' 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 => 'ireland', (int) 1 => 'sligo', (int) 2 => 'soft-skills', (int) 3 => 'presentology', (int) 4 => '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 => 'ar/ireland/sligo/soft-skills/presentology/full-time' base => '' webroot => '/' here => '/ar/ireland/sligo/soft-skills/presentology/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/ar/' linkedIn => array( [maximum depth reached] ) global_location_id => (int) 225 global_location_ids => '104,104,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416' profileInfo => null defaultLoginGroup => (int) 0 loc => 'ireland' is_mobile => '' course_type_id => (int) 0 langCode => 'ar' referralPage => '' langUrlPrefix => 'ar/' 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 => 'ar/ireland/sligo/soft-skills/presentology/full-time' base => '' webroot => '/' here => '/ar/ireland/sligo/soft-skills/presentology/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 => 'ar/ireland/sligo/soft-skills/presentology/full-time' base => '' webroot => '/' here => '/ar/ireland/sligo/soft-skills/presentology/full-time' } object(CakeResponse) { }