Hi,

A Message show up at Bulk export page(admin/build/panels/export).

warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\drupal\sites\all\modules\panels\panels_export\panels_export.module on line 126.

The version of Panels and CTools is uptodate -dev.

Comments

thomasfan’s picture

Status: Active » Fixed

The messages was gone after I add a mini panel.

Sorry for my careless.

dawehner’s picture

Status: Fixed » Active
StatusFileSize
new1.74 KB
new710 bytes
new3.85 KB
new5.44 KB

i think that this shouldn't appear anyway, there will be definitve some drupal sites without mini panels.

The question is what should happen if there is nothing returned from _exportables

  1. Display the title without any items
  2. Display nothing of this type of exportables(second patch and second screenshot)
merlinofchaos’s picture

Err. This is totlaly my fault. I have not updated the bulk export for 3.0 yet (I keep forgetting about it), so it needs quite a lot of work still.

merlinofchaos’s picture

Status: Active » Fixed

This is no longer an issue in the new bulk export in beta4.

Status: Fixed » Closed (fixed)

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