Error

Description

Call to undefined function split()

Source File

/customers/2/2/9/peterbonde.com/httpd.www/framework/PradoBase.php (451)

0440:     {
0441:         static $languages=null;
0442:         if($languages===null)
0443:         {
0444:             if(!isset($_SERVER['HTTP_ACCEPT_LANGUAGE']))
0445:                 $languages[0]='en';
0446:             else
0447:             {
0448:                 $languages=array();
0449:                 foreach(explode(',',$_SERVER['HTTP_ACCEPT_LANGUAGE']) as $language)
0450:                 {
0451: $array=split(';q=',trim($language));
0452: $languages[trim($array[0])]=isset($array[1])?(float)$array[1]:1.0; 0453: } 0454: arsort($languages); 0455: $languages=array_keys($languages); 0456: if(empty($languages)) 0457: $languages[0]='en'; 0458: } 0459: } 0460: return $languages; 0461: } 0462: 0463: /**

Stack Trace

#0 /customers/2/2/9/peterbonde.com/httpd.www/framework/PradoBase.php(472): PradoBase::getUserLanguages()
#1 /customers/2/2/9/peterbonde.com/httpd.www/framework/Exceptions/TException.php(84): PradoBase::getPreferredLanguage()
#2 /customers/2/2/9/peterbonde.com/httpd.www/framework/Exceptions/TException.php(66): TException->getErrorMessageFile()
#3 /customers/2/2/9/peterbonde.com/httpd.www/framework/Exceptions/TException.php(49): TException->translateErrorMessage('prado_alias_inv...')
#4 /customers/2/2/9/peterbonde.com/httpd.www/framework/PradoBase.php(364): TException->__construct('prado_alias_inv...', 'template', '/customers/pete...')
#5 /customers/2/2/9/peterbonde.com/httpd.www/framework/TApplication.php(837): PradoBase::setPathOfAlias('template', '/customers/pete...')
#6 /customers/2/2/9/peterbonde.com/httpd.www/framework/TApplication.php(927): TApplication->applyConfiguration(Object(TApplicationConfiguration), false)
#7 /customers/2/2/9/peterbonde.com/httpd.www/framework/TApplication.php(364): TApplication->initApplication()
#8 /customers/2/2/9/peterbonde.com/httpd.www/front/index.php(40): TApplication->run()
#9 {main}
2019-05-24 05:39 Apache PRADO/3.1.2