Closed (duplicate)
Project:
Wordfilter
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
23 Sep 2007 at 10:30 UTC
Updated:
31 Dec 2007 at 20:54 UTC
Jump to comment: Most recent file
when going to admin/settings/filters/1/configure it gives an error:
warning: call_user_func_array() [function.call-user-func-array]: First argumented is expected to be a valid callback, 'wordfilter' was given in /home/mysite/public_html/alfa/includes/form.inc on line 217.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | wordfilter.module.patch | 1.09 KB | dwees |
Comments
Comment #1
yngens commentedsame error message here:
warning: call_user_func_array() [function.call-user-func-array]: First argumented is expected to be a valid callback, 'wordfilter' was given in /home/mysite/public_html/includes/form.inc on line 217.
Comment #2
yngens commentedi did not notice that i was replying to my own post, sorry. nevertheless, the issue is there. could the module maintainer take a look at this, please.
Comment #3
dwees commentedTry the attached patch.
Dave
Comment #4
yngens commentedapplication of the patch against 5.x-1.x-dev gives:
Comment #5
dwees commentedTry to do the patch manually, it's pretty small. Probably there are some small differences between what I started with, and what the module is expecting. I used cygwin to create the patch (and I had renamed the original file to do this) so could that also be the problem?
Dave
Comment #6
yngens commentedi have manually applied the patch and it gives the error:
Fatal error: Call to undefined function: wordfilter_filter_form() in /home/mysite/public_html/sites/all/modules/wordfilter/wordfilter.module on line 196
Comment #7
dwees commentedOkay try this instead. Using the original file on line 194 replace:
with
It doesn't really matter anyway since the settings for this module are under admin/settings/wordfilter anyway, this form is just a placeholder telling you to go look at the administration settings form.
Dave
Comment #8
buddaI made the changes in comment #7 and the module now works in D5.
Comment #9
dwees commentedIt should actually be:
I think, but it doesn't really matter, whatever works.
Dave
Comment #10
hunmonk commentedhttp://drupal.org/node/166215