PHP error

Function get_magic_quotes_gpc() is deprecated

/homepages/5/d151253948/htdocs/humhub/protected/vendors/yii/web/CHttpRequest.php(122)

110         parent::init();
111         $this->normalizeRequest();
112     }
113 
114     /**
115      * Normalizes the request data.
116      * This method strips off slashes in request data if get_magic_quotes_gpc() returns true.
117      * It also performs CSRF validation if {@link enableCsrfValidation} is true.
118      */
119     protected function normalizeRequest()
120     {
121         // normalize request
122         if(function_exists('get_magic_quotes_gpc') && get_magic_quotes_gpc())
123         {
124             if(isset($_GET))
125                 $_GET=$this->stripSlashes($_GET);
126             if(isset($_POST))
127                 $_POST=$this->stripSlashes($_POST);
128             if(isset($_REQUEST))
129                 $_REQUEST=$this->stripSlashes($_REQUEST);
130             if(isset($_COOKIE))
131                 $_COOKIE=$this->stripSlashes($_COOKIE);
132         }
133 
134         if($this->enableCsrfValidation)

Stack Trace

#4
+
 /homepages/5/d151253948/htdocs/humhub/protected/components/WebApplication.php(39): CWebApplication->init()
34      * Also start interceptor to add event support
35      */
36     protected function init()
37     {
38 
39         parent::init();
40 
41         $this->interceptor->start();
42         $this->moduleManager->start();
43 
44         $this->interceptor->intercept($this);
#7
+
 /homepages/5/d151253948/htdocs/humhub/index.php(32): YiiBase::createApplication("WebApplication", "/homepages/5/d151253948/htdocs/humhub/protected/config/main.php")
27 ini_set('error_reporting', E_ALL);
28 
29 require_once($yii);
30 require_once($appClass);
31 
32 $app = Yii::createApplication('WebApplication', $config);
33 
34 Yii::import('application.vendors.*');
35 EZendAutoloader::$prefixes = array('Zend', 'Custom');
36 Yii::import("ext.yiiext.components.zendAutoloader.EZendAutoloader", true);
37 Yii::registerAutoloader(array("EZendAutoloader", "loadClass"), true);
2024-03-19 07:43:35 Apache Yii Framework/1.1.15