I got the following error when I installed corolla 7.x-1.17, made my default theme went to the home page and back to appearance tab.
Warning: preg_replace(): Compilation failed: unrecognized character after (? at offset 9 in drupal_load_stylesheet_content() (line 3502 of /home/seth/april_2/includes/common.inc).
Here is the code it is referring to:
line 3487 $contents = preg_replace('<
3488 (?|
3489 # Strip leading and trailing whitespace.
3490 \s*([@{};,])\s*
3491 # Strip only leading whitespace from:
3492 # - Closing parenthesis: Retain "@media (bar) and foo".
3493 | \s+([\)])
3494 # Strip only trailing whitespace from:
3495 # - Opening parenthesis: Retain "@media (bar) and foo".
3496 # - Colon: Retain :pseudo-selectors.
3497 | ([\(:])\s+
3498 )
3499 >xS',
3500 '\1',
3501 $contents
3502 );
3503 // End the file with a new line.
3504 $contents .= "\n";
Comments
Comment #1
lurkerfilms commentedI get this on all third party themes I tried: corolla, koi, titan.
Comment #2
ngmaloney commentedGetting same issue. Drupal Beta 3, fresh install, displays following:
Warning: preg_replace(): Compilation failed: unrecognized character after (? at offset 9 in drupal_load_stylesheet_content() (line 3504 of /nfs/c04/h04/mnt/67551/domains/metachunk.com/html/includes/common.inc).
Comment #3
ngmaloney commentedLooks like this is not an issue with this theme. It is an issue with PCRE version. See http://drupal.org/node/962318
Comment #4
ngmaloney commented