Update causes watchdog Error "Missing argument 3 for marc_form_alter()"

nrasmus - June 13, 2008 - 19:15
Project:MARC
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

I just applied your recent update, and am getting "Missing argument 3 for marc_form_alter(), called in /var/www/apache2-default/includes/form.inc on line 365 and defined in /path to modules//marc/marc.module on line 70." It first appeard on the update.php page, then repeatedly in watchdog.

#1

aaustin - June 14, 2008 - 18:00

Sorry, I am having problems with CVS, I tried to note this on the project page:

I am currently having some learning pains with CVS, I have managed to replace the Drupal 5.x-dev version with code for Drupal 6. I will try to fix this. However, the Drupal 6 version is much nicer and you will want to use that version moving forward.

#2

nrasmus - June 25, 2008 - 14:53

Just checking in--is there anywhere that the pre-June 13 of the 5.x version exists? I foolishly upgraded w/o a recent file system backup.

I didn't see your note, btw, because the "Update Status" module (in core for 6) links directly to the download page--might want to just remove the wrong version.

#3

aaustin - June 25, 2008 - 16:48

I'm sorry, I still haven't figured this out. You can still get the individual files for the MARC module here:

http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/marc

The actual marc.module file is here, download the 1.2 version
http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/marc/marc.m...

You need the 1.2 version of the marc.install file and the 1.1 version of the marc.info file.

 
 

Drupal is a registered trademark of Dries Buytaert.