Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2012-09-11 01:59:47

BryanA.
Member
From: Maryland, USA
Registered: 2007-08-12
Posts: 104

SOLVED: Suddenly Function split() Deprecated

Dear Developers! I only use Textpattern across many websites! :) Sometimes hosting with GoDaddy burps and PHP is very far over my head. What am I looking at here:

Deprecated: Function split() is deprecated in /home/content/d/i/n/dinarius/html/foodnewsie/textpattern/lib/txplib_misc.php(594) : eval()’d code on line 449

That’s all I get – I made no changes that I’m aware of and I can’t figure out what 449 is connected to.

Last edited by BryanA. (2012-09-11 12:22:31)


Voice Actor – starting up a site for that good book stuff.

Offline

#2 2012-09-11 05:57:45

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: SOLVED: Suddenly Function split() Deprecated

This warning comes from an old PHP function used in a plugin. Try disabling and re-enabling plugins one-by-one until the error vanishes to find the culprit.

BTW: You really should not use Textpattern 4.2.0 due to serious security issues. Upgrade ASAP.

Offline

#3 2012-09-11 12:22:02

BryanA.
Member
From: Maryland, USA
Registered: 2007-08-12
Posts: 104

Re: SOLVED: Suddenly Function split() Deprecated

Deprecated line 449 turned out to be Nathan Arthur’s tru_tags 3.2 That’s a pity because it’s great/simple.

I’m already reading the upgrade instructions on 4.5.0 – thank you! Changed to solved.


Voice Actor – starting up a site for that good book stuff.

Offline

#4 2012-09-11 14:27:50

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,306

Re: SOLVED: Suddenly Function split() Deprecated

BryanA. wrote:

Deprecated line 449 turned out to be Nathan Arthur’s tru_tags 3.2 That’s a pity because it’s great/simple

Before switching or ditching: Try to replace all occurrences of split() in tru_tags to explode() and see how it works.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#5 2012-10-01 17:09:03

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: SOLVED: Suddenly Function split() Deprecated

BryanA. wrote:

turned out to be Nathan Arthur’s tru_tags 3.2

Ah, thanks! That saved me a lot of time :) The trigger in my case was a PHP upgrade from 5.2.17 to 5.3.17.

Offline

#6 2012-10-01 18:44:47

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: SOLVED: Suddenly Function split() Deprecated

I have recently installed v3.7 of the plugin and the split() function is not there.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#7 2012-10-01 19:47:53

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: SOLVED: Suddenly Function split() Deprecated

Thanks, Yiannis, good to know. The plugin was still active on my site, but not in use anymore. So disabling it was the simplest solution for me. Bryan will be happy to hear it, I guess :)

Offline

Board footer

Powered by FluxBB