Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#2 | pagination-preg_replace-2334169-2-7.patch | 2.08 KB | ibullock |
#1 | pagination-preg_replace-php5.5.patch | 1.34 KB | davemybes |
Comments
Comment #1
davemybes CreditAttribution: davemybes commentedComment #2
ibullockRerolling patch to be relative to project directory. Also incidentally fixes some stray spaces.
Comment #3
lukasss CreditAttribution: lukasss commented#2 It works for me and php-5.6.
Thanks. Him nedeed fixed
Comment #4
Leagnus CreditAttribution: Leagnus commentedYep, ibullock, thank you a lot. Patch #2 works fine.
Comment #5
lukasss CreditAttribution: lukasss commented