Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
textile: preg_replace(): The /e modifier is deprecated
What is the newest version of textile I can use on txp4.4.1. I’m stuck in this txp version for one site until the upgrade of postmaster is released.
At the moment I get
preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead
I read previous reports but I am wondering if I can suppress the warning.
ie. Can I just replace all instances of preg_replace
with preg_replace_callback
?
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: textile: preg_replace(): The /e modifier is deprecated
PHP-Textile v2.4.3 should still work as a simple drag-n-drop update. It’s a legacy update to the 2.4 tree and includes both new features (compared to the 2.2.0 used by Textpattern 4.4.1), fixes security issues and adds PHP 5.5+ compatibility.
That said, you will have to do other modifications to your Textpattern 4.4.1 install to be able to run it on PHP 5.5.0.
Offline
Re: textile: preg_replace(): The /e modifier is deprecated
Hi Jukka,
Thanks so much. 2.4.3 did the trick. Indeed I had to modify
- config.php
- txplib_misc.php
- taghandlers.php
from suggestions I found in this forum and now everything seems to be working just fine:)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline