Closed (fixed)
Project:
Simplenews Content Selection
Version:
6.x-1.5
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Jun 2010 at 19:08 UTC
Updated:
29 Jun 2010 at 18:00 UTC
warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'simplenews_node_form' was given in /home/drupal/www/includes/form.inc on line 372
What can I do?
Comments
Comment #1
dtrdewaele commentedI don't have this error...
After selecting the nodes from the default selection page or from a view?
Comment #2
drupalfan2 commentedI found out that there MUST(!) exist a content type with the name "simplenews". My content type was called "newsletter", after I renamed the machine readable name to "simplenews" this error disappeared.
But this should be changed: Every contend type can(!) be a simplenews content type so you can not fix its name.
Comment #3
dtrdewaele commentedNice!
Thx for this, I'll create a patch.
Comment #4
dtrdewaele commentedJust added this to the CVS. Also created a development version of the module 6.x-2.x-dev where this function is enabled. I'll add it to the project page as soon as it avaiable.
Thx