I have successfully installed this module. All functions work nice, but on the admins profile page I receive this warning:
warning: preg_match() expects parameter 2 to be string, array given in .../includes/bootstrap.inc on line 723.
Hope for support and thanks to autor for so nice module )
Comments
Comment #1
deekayen commentedI'm not able to reproduce this. Are there any more details you can provide that would help me reproduce it?
Comment #2
amaisano commentedI was able to reproduce this problem, as it is occurring with my installation, but it happens on line 771 (which may be the same line, in the newer bootstrap.inc). The disabling of the fields works, but the error message still pops up.
(using bootstrap.inc,v 1.206.2.11 2009/02/25 13:49:54)
Error: warning: preg_match() expects parameter 2 to be string, array given in /home/thomsonr/public_html/includes/bootstrap.inc on line 771.
It may have something to do with the Profile Checkboxes (6.x-1.1: Replaces list selection options with checkboxes). Is this a known conflict and is there a workaround?
Thanks.
Comment #3
Bastlynn commentedThis isn't a known conflict - but given that this is an error coming out of the bootstrap well before user_readonly starts mucking around with anything I'm pretty sure it's not this module. User_readonly consists of a configuration page, and form_alter to an existing form, which would be called after bootstrap was completed.
Best of luck - but I don't think this one is us. If you go into the code and can pull out the function the error in the bootstrap is part of that might point towards an ultimate cause.