When I create a new panel and layout and I try to add content I get the error:
Notice: Undefined index: type in ctools_entity_form_field_content_type_admin_title() (line 106 of /home/sites/all/modules/ctools/plugins/content_types/form/entity_form_field.inc).
This may be a ctools issue, but my content type is set up right and this error only comes up when I try to add a panel.
When I try and add a form in the content section it won't bring up a content type. ie it just says 'node being edited' form
and the correct field is not shown when I go to add content, it just shows blank.
How can I get rid of this error?

Comments

POVYLAZZZ’s picture

I am getting the same error in "Content" section of a page.
I also get this error then I try to preview panels page:

Fatal error: Unsupported operand types in /includes/theme.inc on line 841

And there is some more CTools related error:

Notice: Trying to get property of non-object in ctools_user_signature_content_type_render() (line 20 of /var/www/modules/rdf/ctools/plugins/content_types/user_context/user_signature.inc).
Notice: Trying to get property of non-object in ctools_user_signature_content_type_render() (line 24 of /var/www/modules/rdf/ctools/plugins/content_types/user_context/user_signature.inc).

It seams to be CTools error. I was trying to enable user profile page and added user signature block.
Currently CTools seams to be undertaking some big changes and that seams to be affecting reliability of other modules like Panels.
Please work all the issues out. I will try to step down from dev to RC 1 version to or later and see what happens.

Letharion’s picture

Status: Active » Postponed (maintainer needs more info)

There's no info here about how to reproduce the problem.

POVYLAZZZ’s picture

Try to enable the latest versions of both Panels and Ctools and go to structure >> Pages and enable user profile page and try to add some content into it.
Is that what you were asking?

Letharion’s picture

@POVYLAZZZ Hmm, sorry, I don't get these errors, and the signature block renders just fine when I view my users page.
Also your issue seems to have a completely different cause than the original one. What versions of Ctools/Panels?

LTech’s picture

I'm using ctools version 7.x-1.0-rc1 and panels 7.x-3.0-alpha3.
When I create a new panel, and try and save the new variant I get the error:
Notice: Undefined index: type in ctools_entity_form_field_content_type_admin_title() (line 106 of /public_html/xxx/sites/all/modules/ctools/plugins/content_types/form/entity_form_field.inc).
When I click save again the error goes away and panels seems to work fine.

svanderwerf’s picture

Version: 7.x-3.0-alpha3 » 7.x-3.x-dev

Ctools 7.x-1.x-dev and Panels 7.x-3.x-dev. Also reports this error.

Path to error:
Login as admin, create new page add 'user' context.
Add a Form-field to the page. The form field is a custom field I added to the user context.
After saving, the error shows up.

Calling the page as a 'regular' (i.e. not admin-user) shows the text 'Entity info' instead of the form field (which in this case would be a checkbox).

Letharion’s picture

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

Version: 7.x-3.x-dev » 7.x-3.0-alpha3

Ctools 7.x-1.x-dev and Panels 7.x-3.0-alpha3

I'm also getting this same error:

Notice: Undefined index: type in ctools_entity_form_field_content_type_admin_title() (line 106 of /home/sites/all/modules/ctools/plugins/content_types/form/entity_form_field.inc).

My situation is much like @svanderwerf. I am editing the User Edit template (/user/%user/edit) that comes pre-installed with ctools/panels modules. In order to customize the template I have passed context User to this variant. When I go to the content section of the variant -> add content to my pane -> Form -> Field form: My custom field and I add the form field -> Update and Save I get the the Notice: Undefined index: type in ctools_entity_form_field_content_type_admin_title() (line 106 of /home/sites/all/modules/ctools/plugins/content_types/form/entity_form_field.inc).

Also, when I go to user/%user/edit I do not see my form field. Instead, there is one line that says: "Entity Info."

Any suggestions?

Troy

fraweg’s picture

Hello,

for me this is the same like "auroraenterprise ".

Had anyone solve this problem ?

Thanks for any Help

davidneedham’s picture

Being a squeaky wheel. Same here using the latest dev of ctools and panels.

Same issue in ctools: #1197582: Undefined index: type in ctools_entity_form_field_content_type_admin_title().

pinkonomy’s picture

Same issue here when adding a Location map(form) to a panel.The map doesn't appear.

alanom’s picture

I've got some code over on the ctools version of this issue which appears to fix this and needs review by someone who knows the innards of ctools panels etc better than me - http://drupal.org/node/1197582#comment-5786284

pinkonomy’s picture

@alanomaly:Could you create a patch so as to test it?Thanks

Letharion’s picture

Status: Active » Closed (duplicate)

See #10.