The value "18.189.178.189, 64.252.77.51" 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.189.178.189, 64.252.77.51'
- 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)
'pakistan' 'sialkot' 'administration-and-secretarial' 'part-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/pt/' linkedIn => array( [maximum depth reached] ) global_location_id => (int) 225 global_location_ids => '164,979,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071' profileInfo => null defaultLoginGroup => (int) 0 loc => 'pakistan' is_mobile => '' course_type_id => (int) 0 langCode => 'pt' referralPage => '' langUrlPrefix => 'pt/' 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 => 'pakistan', (int) 1 => 'sialkot', (int) 2 => 'administration-and-secretarial', (int) 3 => 'part-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 => 'pt/pakistan/sialkot/administration-and-secretarial/part-time' base => '' webroot => '/' here => '/pt/pakistan/sialkot/administration-and-secretarial/part-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/pt/' linkedIn => array( [maximum depth reached] ) global_location_id => (int) 225 global_location_ids => '164,979,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071' profileInfo => null defaultLoginGroup => (int) 0 loc => 'pakistan' is_mobile => '' course_type_id => (int) 0 langCode => 'pt' referralPage => '' langUrlPrefix => 'pt/' 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 => 'pt/pakistan/sialkot/administration-and-secretarial/part-time' base => '' webroot => '/' here => '/pt/pakistan/sialkot/administration-and-secretarial/part-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 => 'pt/pakistan/sialkot/administration-and-secretarial/part-time' base => '' webroot => '/' here => '/pt/pakistan/sialkot/administration-and-secretarial/part-time' } object(CakeResponse) { }