Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Get Magic Quotes Depreciated
11-25-2021, 06:23 PM,
#1
Bug  Get Magic Quotes Depreciated
Hi 

My system is running fine, except I keep on getting the following:

Deprecated: Function get_magic_quotes_gpc() is deprecated in C:\var\www\htdocs\weberp\includes\session.php on line 62

I am using PHP 7.4   

Any idea on how to resolve without reverting to Ver 5 or opening any security loopholes
Reply
11-25-2021, 06:55 PM,
#2
RE: Get Magic Quotes Depreciated
It won't do any harm, and this issue is sorted in 4.15.2 which is imminent.

To hide the warning change the error_reporting() in config.php to read

error_reporting(E_ALL && ~E_NOTICE && ~E_DEPRECATED);

Tim
Reply
11-25-2021, 07:00 PM,
#3
RE: Get Magic Quotes Depreciated
(11-25-2021, 06:55 PM)TimSchofield Wrote: It won't do any harm, and this issue is sorted in 4.15.2 which is imminent.

To hide the warning change the error_reporting() in config.php to read

error_reporting(E_ALL && ~E_NOTICE && ~E_DEPRECATED);

Tim

Thank you very much TIm,
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)