The following error is reported when installing the Bibliography module in an upgrade from Drupal 6 to 7 (last versions). The Bib module worked fine in D6:

Recoverable fatal error: Argument 1 passed to drupal_http_build_query() must be an array, string given, called in /home/drupaladmin7/drupal-7.12/includes/common.inc on line 2192 and defined in drupal_http_build_query() (line 477 of /home/drupaladmin7/drupal-7.12/includes/common.inc).

The error dissapears removing the module and updating the installation
Some ideas?
Thanks.

Comments

rjerome’s picture

Afraid I don't have any ideas off the top of my head. This happened during the update? Unfortunately, that error message doesn't lead me to anything concrete in the Biblio module. I'll test an upgrade and see if I can reproduce it.

Ron.

jparets’s picture

Dear Ron,
The error occurs after trying the Biblio installation. I follow this steps:
1. Install the database from D6
2. Update with D7
3. Install the Biblio module
4. ...... crash!
I thougt that the problem was due to other modules or themes, but I reproduced the error when Bibliography is the first module installed after upgrading from 6 to 7.
I deactivated also all my blocks and reproduced the error with different themes.
Can be the error due to the addition of additional CCk fields in biblio content? I have two File fields in order to attach files to biblio content, which worked fine in D6. But the error also appears after migrating this fields to the D7 format.
If you need more information, please, ask me
Thanks.

rjerome’s picture

Have you tried leaving the Biblio module enabled in the D6 installation when you dump the database and installing the Biblio code in the D7 tree BEFORE running the upgrade, thus allowing Biblio to get upgraded at the same time as the core modules?

Ron.

jparets’s picture

I tried, but the error persist.
Sorry.
I read that this kind of error can be due to l() or url() function calls. I revised the biblio.module file and seems to be correct.
José

rjerome’s picture

Which (D6) version of the Biblio module are you starting from?

jparets’s picture

I had 1.15 but updating to 1.17 the error persists.

I noticed the following error in updating the database when upgrading to D7:
Notice: Undefined index: biblio_citeproc_style in biblio_citeproc_theme_registry_alter() (line 51 of /home/drupaladmin7/sites/all/modules/biblio/modules/CiteProc/biblio_citeproc.module).
Thanks.

rjerome’s picture

Ah, maybe we are getting a bit closer... I'll keep digging.

liam morland’s picture

Issue summary: View changes
Status: Active » Closed (cannot reproduce)

If this is still a problem, please re-open and provide details.