I upgraded Ctools to the latest DEV release (January 16) to solve this problem (http://drupal.org/node/1226034). (My fieldsets are being stripped out of the form when using the page manager to override node_edit to show the form in a panel.)

After the upgrade and clearing cache, I went to one of my node_edit panels and all I see is "Array" output at the top of the page. Screenshot attached.

Nothing in the PHP error log. Nothing in Watchdog.

Here is the relevant HTML output.

THANK YOU!

...
<li class="leaf"><a href="/node/add">Add content</a></li>
<li class="leaf"><a href="/admin/content">Find content</a></li>
<li class="leaf"><a href="/admin/structure/types">Content Types</a></li>
<li class="leaf"><a href="/admin/config/system/backup_migrate">Backup &amp; Migrate</a></li>
<li class="last leaf"><a href="/admin/structure/views">Views</a></li>
</ul></div><a href="/admin/config/user-interface/shortcut/shortcut-set-1" id="edit-shortcuts">Edit shortcuts</a>  </div>
</div>
  Array  </body>
</html>

Comments

merlinofchaos’s picture

Priority: Normal » Critical

Upping priority. (Don't see me do that every day, do you? :)

capellic’s picture

Haha...! Happy to know that I've reported something useful! Let me know if you need any further information.

merlinofchaos’s picture

I'm having trouble replicating this, though I've seen reports of this more than once.

Can you export the page that's doing this and attach it?

tlow’s picture

I'm having the same issue too. This happened as I was trying to fix the missing 'Node:Type' in selection rule. And this happens with either 7.x-1.0-rc1 + 1235218-node-edit-context-not-acting-as-node.patch or 7.x-1.x-dev

swentel’s picture

StatusFileSize
new885 bytes

Wasn't able to reproduce this either, however, found a small notice in case you add an individual form field as a pane (eg, the body field) without a selection rule. The notice is in ctools_entity_form_field_content_type_admin_title().

rafaqz’s picture

I'm having the same problem. Here's the current panel export, though it has behaved in the same way with other configurations as well:

$handler = new stdClass();
$handler->disabled = FALSE; /* Edit this to true to make a default handler disabled initially */
$handler->api_version = 1;
$handler->name = 'node_edit_panel_context';
$handler->task = 'node_edit';
$handler->subtask = '';
$handler->handler = 'panel_context';
$handler->weight = -30;
$handler->conf = array(
'title' => 'Plant Edit Panel',
'no_blocks' => 1,
'pipeline' => 'standard',
'css_id' => '',
'css' => '',
'contexts' => array(),
'relationships' => array(),
'access' => array(
'plugins' => array(),
'logic' => 'and',
),
'panels_everywhere_site_template' => 'site_template_panel_context',
);
$display = new panels_display();
$display->layout = 'flexible';
$display->layout_settings = array();
$display->panel_settings = array(
'style_settings' => array(
'default' => NULL,
'center' => NULL,
),
);
$display->cache = array();
$display->title = '';
$display->content = array();
$display->panels = array();
$pane = new stdClass();
$pane->pid = 'new-1';
$pane->panel = 'center';
$pane->type = 'form';
$pane->subtype = 'form';
$pane->shown = TRUE;
$pane->access = array();
$pane->configuration = array(
'context' => 'argument_node_edit_1',
'override_title' => 0,
'override_title_text' => '',
);
$pane->cache = array();
$pane->style = array(
'settings' => NULL,
);
$pane->css = array();
$pane->extras = array();
$pane->position = 0;
$pane->locks = array();
$display->content['new-1'] = $pane;
$display->panels['center'][0] = 'new-1';
$display->hide_title = PANELS_TITLE_FIXED;
$display->title_pane = '0';
$handler->conf['display'] = $display;

Screenshot etc is the same as above

merlinofchaos’s picture

Status: Active » Postponed (maintainer needs more info)

Importing that variant doesn't replicate it. There must be another factor.

rafaqz’s picture

Thanks. I've updated ctools, panels and everything else again and it stopped happening.

merlinofchaos’s picture

Status: Postponed (maintainer needs more info) » Fixed

Excellent!

Status: Fixed » Closed (fixed)

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