When running this on php 5.5 you get the above error. I've managed to replace the call with preg_replace_callback in the attached patch. Things still work on php 3.2.8 for me.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

davemybes’s picture

ibullock’s picture

Status: Active » Needs review
FileSize
2.08 KB

Rerolling patch to be relative to project directory. Also incidentally fixes some stray spaces.

lukasss’s picture

#2 It works for me and php-5.6.
Thanks. Him nedeed fixed

Leagnus’s picture

Yep, ibullock, thank you a lot. Patch #2 works fine.

lukasss’s picture

Status: Needs review » Reviewed & tested by the community