Closed (fixed)
Project:
Video
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Dec 2010 at 16:16 UTC
Updated:
4 Apr 2011 at 13:03 UTC
Jump to comment: Most recent file
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
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | video_999122.patch | 649 bytes | hadsie |
Comments
Comment #1
hypertext200Duplicate of #998764: Video module breaks whole site (as soon as enabled)
Comment #2
garethsprice commentedcontent_fields() is now field_info_fields();
http://api.drupal.org/api/drupal/modules--field--field.info.inc/function...
Comment #3
hadsie commentedI 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.
Comment #4
hypertext200Ported
Comment #5
hypertext200