I'm using the Textile plug-in on a new project and it's spawning PHP errors all over the place and complaining thusly:
A PHP Error was encountered Severity: 8192
Message: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead
Filename: textile/pi.textile.php
Line Number: 918
Not one I've run into before but this is occurring in my local dev env on a new MacBook so it's a fresh install of MAMP running PHP 5.5.3.
Any ideas???
Update: I only see the PHP error in the front end templates when logged in as Admin.
The function generating the error is 'footNoteRef':
function footnoteRef($text)
{
return preg_replace('/(?<=\S)\[([0-9]+)\](\s)?/Ue',
'$this->footnoteID(\'\1\',\'\2\')', $text);
}
:)