I found that if I hid fields (I tried hiding the Business Name and Category), then the profile page would show:

* warning: Illegal offset type in ...\includes\form.inc on line 1358.
* warning: Illegal offset type in ...\includes\form.inc on line 1358.
* warning: preg_match() expects parameter 2 to be string, array given in ...\includes\bootstrap.inc on line 761.
* warning: preg_match() expects parameter 2 to be string, array given in ...\includes\bootstrap.inc on line 761.

where ... is the file path.

I tried this after attempting to tag these fields as "None", which wouldn't stick, so it appears impossible not to have these fields.

Comments

Witch’s picture

i have the same problem. but without installing addresses extras. i guess its a problem of adresses module self!

AlexisWilke’s picture

Buffer2k,

Must be! 8-)

There are still some problems in these sub-modules but I did not yet find the time to fix them...

Soon I hope!

Thank you.
Alexis

aries’s picture

http://drupal.org/node/408382

Please let me know if you still experience the bug fixed in that patch.

ailgm’s picture

For me, that patch eliminates the Illegal offset warnings, but the preg_match warnings still appear.

aries’s picture

Can you give me the proper error msg?

ailgm’s picture

This? Or something else?

Type php
Date 20 Mar 2009 - 2:53pm
User admin
Location .../index.php?q=user/1/edit
Referrer .../index.php?q=user/1
Message preg_match() expects parameter 2 to be string, array given in ...\includes\bootstrap.inc on line 761.
Severity error

AlexisWilke’s picture

Status: Active » Fixed

This is pretty old and with the newest version I cannot reproduce the problem. Let me know if you're still using this module and still have a problem by reopening this issue.

Thank you.
Alexis

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.