Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
What to do/think of these messages?
Deprecated: Function split() is deprecated in /home/users/rottpftp/rottpod.nl/textpattern/include/txp_auth.php on line 77
Deprecated: Function split() is deprecated in /home/users/rottpftp/rottpod.nl/textpattern/include/txp_auth.php on line 144
Can I put comment tags around the code in include.php, without damaging the site or database?
Last edited by RedFox (2010-09-06 13:47:02)
Offline
Re: What to do/think of these messages?
RedFox wrote:
*Deprecated: Function split() is deprecated
Probably best not to comment them out! If you’re finding these warnings the quickest solution is usually to replace any split()
function with explode()
. As long as the first argument is a string you’re cookin’! If the first argument is a regular expression you can usually get away with using preg_split()
instead. Either way, check the PHP docs first for any syntax variations.
BTW, this was fixed in r3250 prior to TXP 4.2.0 so are you running an older version?
Last edited by Bloke (2010-09-06 14:00:07)
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Re: What to do/think of these messages?
Bloke wrote:
BTW, this was fixed in r3250 prior to TXP 4.2.0 so are you running an older version?
Thanks Bloke! I’m using Textpattern · 4.0.8 … so I guess I better update TXP to 4.2.0!
Last edited by RedFox (2010-09-06 14:31:07)
Offline
Pages: 1