Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
strange error in local development
On saving an article (write page), a popup window opens up with the following message:
Internal Error "preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead"
in /Applications/MAMP/htdocs/storie/textpattern/lib/classTextile.php at line 1860.
adminErrorHandler()
textpattern/lib/classTextile.php:1860 preg_replace()
textpattern/lib/classTextile.php:1204 Textile->footnoteRef()
textpattern/lib/classTextile.php:1155 Textile->graf()
textpattern/lib/classTextile.php:1026 Textile->fBlock()
This is happening in a local 4.5.5 txp installation with MAMP server environment. I never had such a problem before (I am not in a early stage of development) on the same local site.
The MAMP version is the latest 3.0.5 (OS X) with PHP 5.5.9
Help appreciated.
Offline
Re: strange error in local development
Textpattern 4.5.5 and PHP 5.5 don’t play well together if you’re in Debugging or Testing mode: they work fine, but those errors will continue to appear. Switching to Live mode will stop the errors being thrown.
Offline
Re: strange error in local development
Since Textile is throwing that error and it’s been fixed in the upcoming Textpattern v4.5.(6)7, you could just grab a later copy for now and pop that in your textpattern/lib
folder, replacing the existing classTextile.php
file that’s there.
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: strange error in local development
Bloke wrote #281848:
[…] the upcoming Textpattern v4.5.6
4.5.7, I think. 4.5.6 is blacklisted.
Edit: sorry, Stef – re-reading this I come across like a prize tool; not my intention, I assure you.
Last edited by gaekwad (2014-07-02 16:11:20)
Offline
Re: strange error in local development
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