Hi,

immediately after disabling the "devel" module, im getting the following error:

# warning: preg_match() expects parameter 2 to be string, array given in /var/www/drupal/sites/all/modules/admin_menu/admin_menu.inc on line 244.
# warning: preg_match() expects parameter 2 to be string, array given in /var/www/drupal/sites/all/modules/admin_menu/admin_menu.inc on line 244.
[...]

(repeated several times). Location and referrer is /admin/build/modules.

This site is developed under Debian GNU/Linux "Lenny" where it works pretty well; however, when trying to go into productive operation under FreeBSD 7.0, we get an PHP core dump, referencing to PCRE troubles (which might or might not be caused by admin_menu).

Thanks & greetings, asb

CommentFileSizeAuthor
#3 devel_user_links.patch966 bytesinductor

Comments

amariotti’s picture

I'm also getting the error. It originally showed up when I enabled the devel module, but after disabling the devel module it's still showing up.

--Andrew

inductor’s picture

Same for me. Any chance to fix it?

inductor’s picture

Status: Active » Needs review
StatusFileSize
new966 bytes

This small patch seems to solve the bug. Review?

inductor’s picture

Status: Needs review » Closed (duplicate)