When I update to rc3,there are some errors.And I reinstall Drupal and install rc3,but still when I edit a published node.
warning: preg_match() expects parameter 2 to be string, array given in D:\wamp\www\includes\bootstrap.inc on line 761.

Thanks a lot about your work.

Comments

rjerome’s picture

Could you please provide more details about your installation like Operating System, PHP version, MySQL version.

Also when you say you are editing a published node, how did you get the biblo data in? Did you import from file or manually enter it into the form?

Do you see anything missing from the node when you display it? Author or keyword missing?

xtian_chin’s picture

Thanks your reply.
I install it on Wampserver2.Local OS is windows xp sp2,and MySQL:5.0.51b,PHP:5.2.6.
I imported some datas from RIS format file and imput manually into form.Thay all report errors.
All required node field have been fill in.

ralessi’s picture

Hi Jerome,

I get the same error on all my biblio nodes, when editing them, just after having upgraded from one dev version to another. I have been sticking to dev for several months.

ar-jan’s picture

Me too. I upgraded from RC2 to 3, then to 4. Just now I found this error. I'm working on a LAMP: Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.4 with Suhosin-Patch, MySQL 5.0.51a.
All my Biblio nodes have been entered manually. No missing data afaik.

rjerome’s picture

Hmmm, I can't reproduce this. Did you run update.php after installation? Could you try clearing the caches on admin/settings/performance near the bottom of the page.

xtian_chin’s picture

I think I found the problems.I uncheck all biblio_*_authors on required colum options in admin/settings/biblio/fields,the same to uncheck all authors the book type in optionadmin/settings/biblio/fields/type/ ,and I give biblio node at least one keywords.
Then It seems disappear.

rjerome’s picture

Ok so your narrowing it down, but there are still quite a few variables there. What if you start undoing those things one at a time and see when the error reappears.

rjerome’s picture

Never mind, I found the problem. It's with the keyword handling.

rjerome’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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