[pmwiki-users] Problem with preg_replace / php / Yosemite

Michael Benjamin mikerb at mit.edu
Tue Nov 11 06:43:03 CST 2014

Hi Petko, Thank you, that helped. Although there are still recipes that 
need fixing, it seems the warning suppresion tip on the troubleshooting 
page did the trick for now. I'll try to reach out to the recipe authors 
and see if they are interested in updating the recipes.

Many thanks again for the quick help!


On Mon, 10 Nov 2014, Petko Yotov wrote:

> On 09.11.2014 16:57, Michael Benjamin wrote:
>> My page comes up with many many lines of:
>> Deprecated: preg_replace(): The /e modifier is deprecated, use
>> preg_replace_callback instead in
>> /Library/WebServer/Documents/mysite/pmwiki/pmwiki.php on line 1665
>> On Line 1665 of pmwiki.php there is:
>>   else $x=preg_replace($p,$r,$x);
>> This seems to be the culprit, but the PMWiki troubleshooting page
>>   http://www.pmwiki.org/wiki/PmWiki/Troubleshooting
>> seems to acknowledge this problem and state that it is fixed after
>> pmwiki-2.2.55
>> I must be missing something. Can someone help point it out to me?
> Have you enabled some old recipes incompatible with PHP 5.5? You can find out 
> which recipes are not designed for PHP 5.5 by following the instructions at 
> the Troubleshooting page.
> Petko

More information about the pmwiki-users mailing list