Prado\Exceptions\TPhpErrorException

Description

[Unknown Error] Function get_magic_quotes_gpc() is deprecated (@line 195 in file /home/pdcge/public_html/protected/vendor/pradosoft/prado/framework/Web/THttpRequest.php).

Source File

/home/pdcge/public_html/protected/vendor/pradosoft/prado/framework/Web/THttpRequest.php (195)

0184: 
0185:         if ($this->_cgiFix & self::CGIFIX__PATH_INFO && isset($_SERVER['ORIG_PATH_INFO'])) {
0186:             $this->_pathInfo = substr($_SERVER['ORIG_PATH_INFO'], strlen($_SERVER['SCRIPT_NAME']));
0187:         } elseif (isset($_SERVER['PATH_INFO'])) {
0188:             $this->_pathInfo = $_SERVER['PATH_INFO'];
0189:         } elseif (strpos($_SERVER['PHP_SELF'], $_SERVER['SCRIPT_NAME']) === 0 && $_SERVER['PHP_SELF'] !== $_SERVER['SCRIPT_NAME']) {
0190:             $this->_pathInfo = substr($_SERVER['PHP_SELF'], strlen($_SERVER['SCRIPT_NAME']));
0191:         } else {
0192:             $this->_pathInfo = '';
0193:         }
0194: 
0195: if (get_magic_quotes_gpc()) {
0196: if (isset($_GET)) { 0197: $_GET = $this->stripSlashes($_GET); 0198: } 0199: if (isset($_POST)) { 0200: $_POST = $this->stripSlashes($_POST); 0201: } 0202: if (isset($_REQUEST)) { 0203: $_REQUEST = $this->stripSlashes($_REQUEST); 0204: } 0205: if (isset($_COOKIE)) { 0206: $_COOKIE = $this->stripSlashes($_COOKIE); 0207: }

Stack Trace

#0 /home/pdcge/public_html/protected/vendor/pradosoft/prado/framework/Web/THttpRequest.php(195): Prado\PradoBase::phpErrorHandler(8192, 'Function get_ma...', '/home/pdcge/pub...', 195, Array)
#1 /home/pdcge/public_html/protected/vendor/pradosoft/prado/framework/TApplication.php(998): Prado\Web\THttpRequest->init(Object(Prado\Xml\TXmlElement))
#2 /home/pdcge/public_html/protected/vendor/pradosoft/prado/framework/TApplication.php(1045): Prado\TApplication->applyConfiguration(Object(Prado\TApplicationConfiguration), false)
#3 /home/pdcge/public_html/protected/vendor/pradosoft/prado/framework/TApplication.php(369): Prado\TApplication->initApplication()
#4 /home/pdcge/public_html/index.php(216): Prado\TApplication->run()
#5 {main}
2022-12-04 07:43 Apache PRADO/4.0.1