I get the following error when I try to edit a story node in Drupal #5:

warning: call_user_func_array() [function.call-user-func-array]: First argumented is expected to be a valid callback, 'element_node_form' was given in /home/www/Drupal5/includes/form.inc on line 217.

Any suggestions? Not sure the source of this, and my troubleshooting skills are weaker than my willingness to try things I probably ought not. The node is a story node where I'd asked for a voting widget on the teaser. I've been tearing my hair out to get Fivestar or JRating to work. Fivestar appears on body of the node but not on the teaser, while JRating shows average scores (stars only, no numerical output) on the teaser and on body of the node.

I could live without these features on the site, but I'd sure like to be able to delete the node which gets me this error. Other similar nodes to which widgets have been attaced are editable and deletable. I've gotten Views to display a rank ordered list of the story nodes on a page, but the "offending node" does not appear in the listings.

Any tips would be much appreciated, though a fresh install would sure be burdensome;-)

Comments

sciman’s picture

Now getting the following errors if they mean anything to anybody;-) (These were upon trying to uninstall modules I'd experimented with in Drupal #5)
--
• warning: Invalid argument supplied for foreach() in /home/www/Drupal5/sites/all/modules/cck/content_crud.inc on line 106.
• user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 query: DROP TABLE in /home/www/Drupal5/includes/database.mysql.inc on line 167.

sfa’s picture

Have you managed to fix this? I'm having the same problem.