Jump to content

Comments Field Problem - Undefined index: code in Line 661 (FieldtypeComments.module)


swampmusic
 Share

Recommended Posts

I am struggling to get comments using the Admin Core comments field.

Have set it up before no problems but this time around I seem to have something conflicting with it.

The line is it throwing up on seems to be related to a null value in

$value['code']
 
And that seems to relate to around lines 544 of the module
 
                if($schemaVersion > 2) {
                        $schema['code'] = $codeSchema;
                        $schema['keys']['code'] = $codeIndexSchema;
                }
When i look inside the field_comments table in the db, both the code & subcode fields are empty. 
 
Anybody know what should be in them and how I seem to have ended without them populating ?

Thx!

Edited by swampmusic
new information on the error
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...