Fatal error: Call to undefined function content_fields()
iantresman - May 18, 2009 - 22:59
| Project: | Maxlength |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed |
Description
On selecting Create content: Page, I get the PHP error message:
Fatal error: Call to undefined function content_fields() in /mypath/sites/all/modules/maxlength/maxlength.module on line 65
(a) The maxlength module is enable, (b) I've set permissions for a custom role, (c) I've removed permissions for anonymous and authenticated users, though it makes no difference if I set them.
I've not configured any other options for Maxlength (because I haven't found them yet!)
Same problem if I select Create content: Story

#1
Further note:
Refers to version dated 2009-Apr-02.
After entering a maximum length (300 characters) in Content Types, Page (edit), in the section "Submission form settings", subsection "Limit title length", there is no change to the message.
Changing "Enable remaining characters countdown for the Body" makes no difference.
#2
this happens if you didn't installed cck.
Checkout the latest dev version(in 12 hours), its fixed there or use the patch attached
#3
set fixed
#4
Automatically closed -- issue fixed for 2 weeks with no activity.