Hello,

I am having this issue which keeps me away from using Panels module :

Notice: Undefined index: regions in panels_renderer_standard->prepare_regions() (line 311 of D:\www\my-site\sites\all\modules\panels\plugins\display_renderers\panels_renderer_standard.class.php).
Warning: Invalid argument supplied for foreach() in panels_renderer_standard->prepare_regions() (line 311 of D:\www\my-site\sites\all\modules\panels\plugins\display_renderers\panels_renderer_standard.class.php).
Notice: Undefined index: left_column in include() (line 3 of D:\www\my-site\sites\all\themes\mytheme\layouts\dashboard\dashboard.tpl.php).
Notice: Undefined index: center_column in include() (line 6 of D:\www\my-site\sites\all\themes\mytheme\layouts\dashboard\dashboard.tpl.php).
Notice: Undefined index: right_column in include() (line 9 of D:\www\my-site\sites\all\themes\mytheme\layouts\dashboard\dashboard.tpl.php).

I am using a custom layout with Panels 7.x-3.0-alpha3
My layout (template) is displayed, but these errors always appear.

Is it a known issue?

Comments

Letharion’s picture

Hello dolu :)

First, have you given the -dev version a try?
Second, please, take a look at this page: https://drupal.org/node/73179, and update your issue information.

Letharion’s picture

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

in your custom layout's .inc try using regions instead of panels to define the areas where you will put your blocks.

$plugin = array(
  'title' => t('Home Page Layout'),
  'category' => t('custom'),
  'icon' => 'home.png',
  'theme' => 'home',
  'css' => 'home.css',
  'regions' => array(
    'left' => t('Left'),
    'right' => t('Right'),
    'bottom' => t('Bottom'),
  ),
);

NOT

$plugin = array(
  'title' => t('Home Page Layout'),
  'category' => t('custom'),
  'icon' => 'home.png',
  'theme' => 'home',
  'css' => 'home.css',
  'panels' => array(
    'left' => t('Left'),
    'right' => t('Right'),
    'bottom' => t('Bottom'),
  ),
);
ludo.r’s picture

I've tried but I got another error.
Now I've decided to use a standard layout.

Thank you for the tip.

Letharion’s picture

Category: bug » support
Priority: Major » Normal
Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)