This is what I did. I only did it once, haven't tried again on a fresh variant to see if it's reproducable.

New flexible layout.
Delete the "Center" region.
Click on "Row" and change the settings so it contains columns instead of regions.
Click on "Row" again to add a column but the dropdown still thinks it can only have regions.
Click "Update" to try and force the dropdown to refresh.
Get Errors:
* notice: Undefined index: panel in /path/sites/all/modules/panels/includes/display-edit.inc on line 369.
* warning: Invalid argument supplied for foreach() in /path/sites/all/modules/panels/includes/display-edit.inc on line 369.

Michelle

Comments

Mike_Waters’s picture

I have the same error.
In Panels 6.x-3.x-dev, ctools 6.x-1.0-rc1, adding a variant to node/%nid, doing pretty much the same process as above.

It is reproducable 100% of the time, and prevents me from using panels with custom fixed-width columns for the node/%nid page. (the panel layout doesn't appear after this error).

EDIT: I was able to get around the error by adding my columns to the default layout, and then removing the default first column after they were configured.

merlinofchaos’s picture

Since the problem has to do with creating a column one way and changing it to another, I don't see how it prevents you from doing anything.

Mike_Waters’s picture

Agreed, I apologize for the initial posting; I banged my head against the wall for a while, posted my problem as a comment to this thread, banged my head for a while longer until I was able to work around the problem, then I posted my edit.

Thanks for all your work, I see your name attached to many of the fantastic projects that I use daily.

Mike_Waters’s picture

I've found that I can get around this error if I make sure each column has a row, and each row has a region, before I update the panel page. HTH someone viewing this page.

merlinofchaos’s picture

Project: Chaos Tool Suite (ctools) » Panels
Version: 6.x-1.x-dev » 6.x-3.x-dev
Component: User interface » Drag and Drop display editing

Oddly, this is a very rare case of a bug filed against CTools when it's really Panels. This is unusual, usually it's the other way 'round. =)

merlinofchaos’s picture

Status: Active » Fixed

Checked in a fix for this.

Status: Fixed » Closed (fixed)

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