break 2 is causing regex mode to fail. I am not sure why though as it makes sense to break out the foreach if the $url-parameter matches.
I’m using capture groups. Symphony errors out in both 2.3.6 (!) and 2.6.2. In both cases removing the break argument 2 resolves the issue. I don’t have the error log for 2.6.2 at hand, but 2.3.6 prints the following:
2015/08/12 23:48:43 > Warning: 2 - preg_match(): Unknown modifier 'r' in file /home/user/webapps/site/symphony/extensions/jit_image_manipulation/lib/image.php on line 63
2015/08/12 23:48:43 > Notice: Image class param dump - mode: 0, width: 0, height: 0, position: 0, background: 0, file: , external: 0, raw input: resize-width-huge-0/images/image.jpg
break 2
is causing regex mode to fail. I am not sure why though as it makes sense to break out theforeach
if the$url-parameter
matches.I’m using capture groups. Symphony errors out in both 2.3.6 (!) and 2.6.2. In both cases removing the break argument
2
resolves the issue. I don’t have the error log for 2.6.2 at hand, but 2.3.6 prints the following:The JIT recipe file is this: