generatedata icon indicating copy to clipboard operation
generatedata copied to clipboard

Deprecated: Function get_magic_quotes_gpc() is deprecated in $_PATH\generateData\library.php on line 50

Open Shabasha opened this issue 5 years ago • 2 comments

Hello

First of All sorry for my bad english

I have Apache 2.41 VC16 64bit installed with PHP 7.4.0+ and MySQL 8.0.19

When i downloaded the latest version of generateData ( 3.4.1 ) , i found that the following message was thrown when i tried for the first time to start the installation from web browsing.

Deprecated: Function get_magic_quotes_gpc() is deprecated in $_PATH\generateData\library.php on line 50

In the meantime , waiting for any official replacement for this function that may be announced by PHP Community.

Are there anything wrong or do i miss something in my installation ?

Please help !

Shabasha avatar Feb 09 '20 16:02 Shabasha

I think that PHP7.4.X does not support anymore this function , is there any replacement for that ? or do i need to downgrade from PHP 7.4.x to 7.x ?

Shabasha avatar Feb 20 '20 17:02 Shabasha

Hey @Shabasha, sorry for not responding sooner!

No worries, I'll release a patch release to address this. In the meantime, you can safely just remove these lines in your library.php file: https://github.com/benkeen/generatedata/blob/v3/library.php#L49-L64

It was just to handle backward compatibility with very old PHP versions.

benkeen avatar Feb 28 '20 03:02 benkeen

Closing. Old issue.

benkeen avatar Aug 07 '23 19:08 benkeen