Reviewed & tested by the community
Project:
jQ
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Jun 2009 at 05:06 UTC
Updated:
16 Nov 2009 at 16:46 UTC
Jump to comment: Most recent file
Comments
Comment #1
waddles commentedLooking at mysql, I find the watchdog table is not handled correctly:
The variables column should contain either
N;for null, ora:[stuff]for an array.Comment #2
waddles commentedEnabling http://drupal.org/project/jquery_plugin and deleting the rows from the watchdog prevents this error being logged.
I think the bug is actually in jQ module:
Instead of WATCHDOG_ERROR, the watchdog function is expecting a
$variablesarray. http://api.drupal.org/api/function/watchdog/6Comment #3
waddles commentedHere's a patch to fix the watchdog calls in
jq/jq.add.incso they're D6 style instead of D5 style.Comment #4
Sidra Kazmi commentedCan you please tell how to use this patch? I mean in which file should i copy this code to??
Cheers,
Comment #5
waddles commentedEr, apply it the same as any other patch. See http://drupal.org/patch/apply for example
Comment #6
guillaumeduveauThanks for the patch, I guess it should be committed !
Comment #7
guillaumeduveauChanging the title, because the patch resolves the issue of the bad watchdog calls.
With the patch the error is correctly logged but it's still there : The cycle jQuery plugin is not defined., see #562196: Error : the cycle jQuery plugin is not defined
Comment #8
guillaumeduveau#545884: Watchdog signature in jq.add.inc is a duplicate. Please commit to fix those D5-like Watchdog calls !
Comment #9
ball.in.th commentedSubscribing. I am running into strange errors in dblog because of this bug too! Patch in #3 looks good.