Active
Project:
Addresses
Version:
6.x-1.06
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Feb 2009 at 23:12 UTC
Updated:
4 Aug 2010 at 10:45 UTC
I'm running Drupal 6.10. I enabled the addresses module and added an address field to my content type, and now I'm getting these errors:
* warning: Illegal offset type in siteroot\includes\form.inc on line 1363.
* warning: Illegal offset type in siteroot\includes\form.inc on line 1363.
* warning: Illegal offset type in siteroot\includes\form.inc on line 1363.
* warning: preg_match() expects parameter 2 to be string, array given in siteroot\includes\bootstrap.inc on line 771.
* warning: preg_match() expects parameter 2 to be string, array given in siteroot\includes\bootstrap.inc on line 771.
* warning: preg_match() expects parameter 2 to be string, array given in siteroot\includes\bootstrap.inc on line 771.
Disabling the module resolves the issue.
Comments
Comment #1
andersonmh commented+1 - Subscribing
Has there been a patch on this?
Comment #2
kriskd commentedJust got this error as well.
Comment #3
selwynpolit commentedMe too. It would be nice to use this.
Comment #4
Iowagirl commentedI was able to remove the error by choosing "none" instead of "hidden" under the User addresses fields option.
Comment #5
pimok3000 commentedI Get the same error, but without having the Adresses Module installed. With my installation it seems to be an issue with the coresearches module. When i disable these 2 modules
Content search 6.x-1.0 (or last dev, doesn´t make a difference)
User search 6.x-1.0 (or last dev, doesn´t make a difference)
all is well again.
Maybe it has something to do with the patch that normally needs to be applied besides installing the module, but i didn´t apply it as it changes to much core code. By simply disabling the coresearches Module solves the problem.
Comment #6
imp7 commentedI confirm this error, when I changed it to none and saved there is no error. However when I edit the field again after saving all the values are lost and set to normal instead the field configure form. This must be only in the form as the values are still set to none in the add node form.
Comment #7
codycraven commentedCan someone who is having this issue please try to reproduce the error with the current dev release?
If you are able to reproduce the error please include all steps taken and other contributed modules that are installed.
I have not been able to come across this issue.
Comment #8
ampdude commentedHi there. I hope I'm posting in the right place, as I'm a n00b here and all. I had the same Illegal offset error as well. I am using 6.x-1.06. I do not have the core search enabled. The error definitely appears when setting fields to 'hidden' and disappears when set to 'none.' I haven't seen settings revert, though. So far, what has been set to 'none,' continues to remain at, 'none.'
Comment #9
codycraven commentedampdude, thanks for the update. I see the error when setting an option to hidden - this is something that I will look to resolve before the next release.
If anyone else has time to research a solution for this please post a patch :D
Comment #10
codycraven commentedComment #11
codycraven commented#512354: Error upon setting fields to "none"
Comment #12
libak commentedTry set the #type to 'value' instead. I had a Select List which I wanted to be hidden and I got the error Removed by changing the type.
Comment #13
AlexisWilke commentedI'm reopening this one because I do not think this is a duplicate of #512354: Error upon setting fields to "none".
And today I was finally able to see the CCK working. I made many little fixes and maybe it helped... Hmmm... I also uninstalled and re-installed with the database fix for the user table.
Thank you.
Alexis