[PhpException]
Description
preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead
Stack Trace
10.
/var/www/partnerestates/data/www/partnerestates.com/extends/mpdf/includes/functions.php (96) view- 93.
function strcode2utf($str,$lo=true) {
- 94.
//converts all the &#nnn; and &#xhhh; in a string to Unicode
- 95.
if ($lo) { $lo = 1; } else { $lo = 0; }
- 96.
$str = preg_replace('/\&\#([0-9]+)\;/me', "code2utf('\\1',{$lo})",$str);
- 97.
$str = preg_replace('/\&\#x([0-9a-fA-F]+)\;/me', "codeHex2utf('\\1',{$lo})",$str);
- 98.
return $str;
- 99.
}
9. error_handler
() view
8. preg_replace
/var/www/partnerestates/data/www/partnerestates.com/extends/mpdf/includes/functions.php (96) view
- 93.
function strcode2utf($str,$lo=true) {
- 94.
//converts all the &#nnn; and &#xhhh; in a string to Unicode
- 95.
if ($lo) { $lo = 1; } else { $lo = 0; }
- 96.
$str = preg_replace('/\&\#([0-9]+)\;/me', "code2utf('\\1',{$lo})",$str);
- 97.
$str = preg_replace('/\&\#x([0-9a-fA-F]+)\;/me', "codeHex2utf('\\1',{$lo})",$str);
- 98.
return $str;
- 99.
}
7. strcode2utf
/var/www/partnerestates/data/www/partnerestates.com/extends/mpdf/mpdf.php (30666) view
- 30663.
- 30664.
// converts all &#nnn; or &#xHHH; to UTF-8 multibyte
- 30665.
// If $lo==true then includes ASCII < 128
- 30666.
$html = strcode2utf($html,$lo);
- 30667.
return ($html);
- 30668.
}
- 30669.
6. mPDF->purify_utf8
/var/www/partnerestates/data/www/partnerestates.com/extends/mpdf/mpdf.php (12824) view
- 12821.
if ($success) { $html = $success; }
- 12822.
}
- 12823.
}
- 12824.
$html = $this->purify_utf8($html,false);
- 12825.
if ($init) {
- 12826.
$this->blklvl = 0;
- 12827.
$this->lastblocklevelchange = 0;
5. mPDF->WriteHTML
/var/www/partnerestates/data/www/partnerestates.com/applications/public/supermarket/controller.php (483) view
- 480.
- 481.
$this->setTemplateName('pdf');
- 482.
$mpdf->list_indent_first_level = 0;
- 483.
$mpdf->WriteHTML($this->renderAction());
- 484.
$mpdf->Output($slug . '.pdf', 'I');
- 485.
Application::getInstance()->stop();
- 486.
}
4. SupermarketPageController->do_get_pdf
/var/www/partnerestates/data/www/partnerestates.com/framework/classes/PageController.php (143) view
- 140.
(method_exists($this, $preMethodName)) AND $this->$preMethodName(Application::getInstance());
- 141.
- 142.
//execute action
- 143.
$result = $this->$methodName(Application::getInstance());
- 144.
- 145.
//executes postExecute method
- 146.
(method_exists($this, $postMethodName)) AND $this->$postMethodName(Application::getInstance());
3. PageController->execute
/var/www/partnerestates/data/www/partnerestates.com/framework/classes/Application.php (146) view
- 143.
- 144.
// check access to controller and action
- 145.
if ($this->Module->Access->authorize($this->controller, $oPageController->getActionName())) {
- 146.
$oPageController->execute();
- 147.
} else {
- 148.
$oPageController->executeAuthorize();
- 149.
}
2. Application->execute
/var/www/partnerestates/data/www/partnerestates.com/framework/classes/Application.php (106) view
- 103.
$this->language = Request::get('application_language', $this->language);
- 104.
- 105.
// execute Application
- 106.
$this->execute();
- 107.
- 108.
if (!empty(self::$ActionStack)) {
- 109.
end(self::$ActionStack);
1. Application->run
/var/www/partnerestates/data/www/partnerestates.com/index.php (15) view
- 12.
- 13.
$nApplicationStartTime = microtime(1);
- 14.
$Application = Application::getInstance();
- 15.
$Application->run();
- 16.
$nApplicationStopTime = microtime(1);
- 17.
- 18.
// echo '<!--Page generated in ' . round((float)($nApplicationStopTime - $nApplicationStartTime), 3) . ' seconds-->';