Location http://www.mysite.com/quicktabs/ajax/undefined
Referrer http://www.mysite.com/
Message call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'quicktabs_ajax_undefined' was given in /sites/all/modules/quicktabs/quicktabs.module on line 248.
doesn't say quicktabs but always get 4 errors right after the one above stating this
Location http://www.mysite.com/function(E,F)%7Bvar%20D=F%7C%7Cwindow;var%20A=[];for(var%20C=0,B=this.length;C%3CB;++C)%7Bif(!E.call(D,this[C],C,this))%7Bcontinue%7DA.push(this[C])%7Dreturn%20A%7D?_=1299192134944
Referrer http://www.mysite.com/
Message function(E,F){var D=F||window;var A=[];for(var C=0,B=this.length;C
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | quicktabs_ajax_undefined.patch | 388 bytes | mrjeeves |
Comments
Comment #1
CobraMP commentedchanging the title and raising to major as now my users are starting to report that they are seeing the error printed on their pages.
call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'quicktabs_ajax_undefined' was given in ..../sites/all/modules/quicktabs/quicktabs.module on line 263.
Comment #2
CobraMP commentedpost 1 was 6.x-2 have upgraded to 6.x-3.x-dev when getting error on 2nd post
Comment #3
mrjeeves commentedwhile not the most elegant, or even preferred solution, attached patch will remove the errors.
Comment #4
burningdog commentedI'm seeing plenty of these errors in my apache logs, always following
"GET /quicktabs/ajax/undefined HTTP/1.1":Most of them look like errors in IE 6 (which I don't care about supporting) but there are a few errors in IE 7 too. I'm not quite sure why there's a GET request for /quicktabs/ajax/undefined in the first place?
Comment #5
katbailey commentedAlthough this still doesn't get to the root of hte problem (i.e. how is undefined getting passed in in the first place), this commit adds a function_exists() check into the ajax menu callback: http://drupalcode.org/project/quicktabs.git/commit/c1fbfe13887142295ec8f...
Can somebody please outline the steps to reproduce an ajax call to quicktabs/ajax/undefined ?
Comment #6
pasqualleThis issue is without response for more than a month, closing.