Closed (works as designed)
Project:
ImageField
Version:
6.x-3.0-alpha4
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Oct 2008 at 10:35 UTC
Updated:
10 Mar 2009 at 22:24 UTC
Imagefield Version: 6.x-3.0-alpha2
CCK Version: 6.x-2.x-dev
Drupal Version: 6.6
I receive the following errors when creating content that uses imagefield. I disabled one module at a time until I could narrow down the source.
* warning: preg_match() expects parameter 2 to be string, array given in /home/mysite/public_html/includes/common.inc on line 1075.
* warning: preg_match() expects parameter 2 to be string, array given in /home/mysite/public_html/includes/common.inc on line 1075.
* warning: preg_match() expects parameter 2 to be string, array given in /home/mysite/public_html/includes/bootstrap.inc on line 732.
* warning: preg_match() expects parameter 2 to be string, array given in /home/mysite/public_html/includes/bootstrap.inc on line 732.
* warning: preg_match() expects parameter 2 to be string, array given in /home/mysite/public_html/includes/bootstrap.inc on line 732.
* warning: preg_match() expects parameter 2 to be string, array given in /home/mysite/public_html/includes/bootstrap.inc on line 732.Once I set file type and file size restrictions the errors were gone. Obviously this is by design but stupid people like me might be scratching their heads so I thought I would share.
Hope that helps others.
Comments
Comment #1
kenorb commentedI can confirm that with 6.x-3.0-alpha4
5 times:
on admin/content/node-type/product/fields/field_sklep_zdjecie?destinations[0]=admin/content/node-type/product/fields