I was updating a node that I didn't even have video cck attached to (I had removed it) and when I went to save I received this error message with nothing else displayed:
Fatal error: Call to undefined function content_fields() in /home/username/public_html/sites/all/modules/video/views/video.views.inc on line 34

Thanks

CommentFileSizeAuthor
#3 video_999122.patch649 byteshadsie

Comments

hypertext200’s picture

Status: Active » Postponed (maintainer needs more info)
garethsprice’s picture

hadsie’s picture

Status: Postponed (maintainer needs more info) » Needs review
StatusFileSize
new649 bytes

I don't believe this is a duplicate of #998764: Video module breaks whole site (as soon as enabled). The error here is quite different and relates to uploading videos as opposed to the other error which is caused in the .install. Anyway, here's a simple patch that changes the content_fields() call to a field_info_fields() call. But I noticed that content_fields is called in quite a few other places with parameters, so that will probably still need to be updated at some point. But with this patch I was able to upload videos at least.

hypertext200’s picture

Status: Needs review » Patch (to be ported)

Ported

hypertext200’s picture

Status: Patch (to be ported) » Closed (fixed)