Function get_magic_quotes_gpc() is deprecated

To be completed by the original poster:

CMS Version

2.3.0

Installation Method

Custom install

Operating System

Debian 10

Issue

When switching log level from Production to Test, I get this error message and cannot use the CMS anymore:

Fatal Error - sorry this shouldn’t happen. Function get_magic_quotes_gpc() is deprecated

Maybe this is due to PHP 7.4 which is currently installed on the server.

What would you suggest?

  • downgrade to 7.3;
  • wait for a patch?;
  • change log level from Test to Production on the DB - and where?

Thank you.

I’ve set Server Mode back to Production with:

UPDATE setting SET value = "Production" WHERE settingId = '40';

Now it’s working again, but I need to have a look at the logs because I cannot connect a display to the CMS again.

Up to you for troubleshooting.

We’ve not done any testing with PHP 7.4. I’d recommend using PHP 7.3 (which is what we ship in the Docker containers) until we have PHP 7.4 support.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.