Randomly I discovered that the video content type is not available anymore. Nodes of that type are displaying just title and body (booth node view and edit form).

The following error message is logged:
call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'video_node_form' was given in /home/www/drupal/drupal-5.15/includes/form.inc on line 218.

I tryed to debug, but stumpled on complexity. It could be caused by caching, but clearing cache via devel meodule does not solve it. The way is to dis- and reenable some of the video-submodules, than the contenttype appears and works fine.

Comments

hypertext200’s picture

Status: Active » Postponed

Clear cache should solve your problem, cause this might be cause of menu cache.

e5sego’s picture

I found that enabling or disabling some other module also fix it, for a while. May this info help.

hypertext200’s picture

Thanks @sebastiang, for sharing this idea

e5sego’s picture

Title: Video content type gets lost » Video content type get lost

May following info helps to isolate the bug.

The video contenttype disappers be editing some other contenttype, even just open the edit form and save it without changes.
It does not happen if I edit menu or categories.

hypertext200’s picture

Thanks a lot. we are working hard to fix this :)

glen201’s picture

Version: 5.x-1.x-dev » 6.x-2.4
Status: Postponed » Fixed

This is fixed in Drupal 6 version 6.x-2.2 and forward releases

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

e5sego’s picture

Is there a chance to reimplement this to 5.x? I would try to fix the 5.x, if I would have some approach how this was caused/solved. Did not found it on the 6.x lists of solved bug.

e5sego’s picture

Somehow the problem disapperaed on the mentioned platform, may after update cck or core.

e5sego’s picture

It came back to live ;)

So well, I would be grateful for any hint to localize this bug.

MLSatya’s picture

Version: 6.x-2.4 » 6.x-4.8
Status: Closed (fixed) » Needs work
Issue tags: +video module, +drupal updates

warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'video_node_form' was given in ../includes/form.inc on line 377.

The issue is back. I had to disable the video module several versions back because of this issue. The video disappears on the update. We cannot access the file in edit mode and the above error is what replaces the file. I have several big sites using this module and it is a pain to have to embed so much video.

I cleared cache but still it is a haunting error.

Please for a fix.

thanks

Jorrit’s picture

The current code does not contain "video_node_form" anymore. It must be a left-over somewhere. What video module versions have you used in the past? My guess is that you have been using the video module for many versions.

Jorrit’s picture

Status: Needs work » Postponed (maintainer needs more info)
Jorrit’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Closed because of lack of response.