I am getting a fatal error when I try to access the Default Settings tab.

Fatal error: Cannot use string offset as an array in [...]/content_type_extras/includes/content_type_extras.admin.inc on line 137

I am also getting the following errors when I go to the Add New Content Type screen.

    Warning: Invalid argument supplied for foreach() in content_type_extras_get_selected_roles() (line 261 of [...]/content_type_extras/includes/content_type_extras.node_type_form.inc).
    Notice: Undefined index: create_roles in content_type_extras_node_type_form() (line 163 of [...]/sites/all/modules/content_type_extras/includes/content_type_extras.node_type_form.inc).
    Notice: Undefined index: edit_roles in content_type_extras_node_type_form() (line 164 of [...]/sites/all/modules/content_type_extras/includes/content_type_extras.node_type_form.inc).
    Notice: Undefined index: delete_roles in content_type_extras_node_type_form() (line 165 of [...]/sites/all/modules/content_type_extras/includes/content_type_extras.node_type_form.inc).
    Warning: Invalid argument supplied for foreach() in form_type_checkboxes_value() (line 2249 of [...]/includes/form.inc).

I think something is going wrong with the $user_permissions variable, but what that might be is beyond my debugging skills.

Comments

bocaj’s picture

Status: Active » Postponed (maintainer needs more info)

I am not getting any of these errors/notices. Could you try the latest dev release and see if you still have the same issue? Thanks!

jesss’s picture

Status: Postponed (maintainer needs more info) » Fixed

Hmmm.... Something must have gotten corrupted. I just did a complete disable/uninstall/delete and reinstalled the module and it's working fine now.

Status: Fixed » Closed (fixed)

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