Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2021-05-07 05:51:02

wordgasm
Member
Registered: 2006-05-17
Posts: 83
Website

Deprecated: constants.php

I am seeing this everywhere in my website:

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/wordgasm/wordgasm/textpattern/lib/constants.php on line 136

What should I do? Should I just update my txp? I am running the 4.7.3 version.

Offline

#2 2021-05-07 05:52:58

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: Deprecated: constants.php

I believe Textpattern 4.8 removed that function – so upgrading will sort it out.

Offline

#3 2021-05-07 06:00:29

wordgasm
Member
Registered: 2006-05-17
Posts: 83
Website

Re: Deprecated: constants.php

Aww. Okay :/

Offline

#4 2021-05-07 08:48:27

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,220
Website

Re: Deprecated: constants.php

You should check your plugins, I don’t think Textpattern Core used that for a while, and had deprecated that function. Plugins might still use that though.

(updating to Textpattern 4.8.x might still be a good idea though)


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

Board footer

Powered by FluxBB