Closed (won't fix)
Project:
Ubercart
Version:
5.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Jun 2008 at 08:22 UTC
Updated:
27 Jun 2008 at 08:58 UTC
Hi
I've updated imagecache from 1.x to 2.0 and now i get this error in my ubercart-based shop:
warning: preg_match() expects parameter 2 to be string, array given in bootstrap.inc on line 670.
I think that this happens when generating some images thumbnails.
Any idea of what can be happening?
Thanks!!!
related:
http://drupal.org/node/260496
http://www.ubercart.org/forum/bug_reports/5121/preg_match_error
Comments
Comment #1
dopry commentedprobably because ubercart doesn't support imagecache 2.x
Comment #2
rszrama commentedPerhaps we're running on different Drupal's, but I can't find a preg_match() in all of bootstrap.inc. : P
In any event, I don't expect the 1.x branch of Ubercart to support Imagecache 2.x. However, there's no reason for it not to be supported in future versions. Look for it come Ubercart 2.0.
Comment #3
pcambraThanks for the explanation, Ryan.
The call of preg_match() is there since Drupal 5.7, in line 670 of bootstrap.inc, as part of the function drupal_validate_utf8.
Btw, it would be cool to get imagecache2 working properly with ubercart, as new cool-image-features are being released. I will give a try for solving this, keep you updated.Update, found the issue, it was a imagecache2 bug: http://drupal.org/node/275605