Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
It seems no problem to created a panel with a custom layout. And the contents of the panel can be displayed. But on the top of the panel page always displays the message below:
Notice: Undefined index: type in panels_flexible_panels() (line 258 of .../sites/all/modules/panels/plugins/layouts/flexible/flexible.inc).
Any solution to fix it?
Comment | File | Size | Author |
---|---|---|---|
#1 | 1534446-remove-invalid-type-from-flexible.patch | 651 bytes | merlinofchaos |
Comments
Comment #1
merlinofchaos CreditAttribution: merlinofchaos commentedHm. I've seen this happen before. It seems that somehow, during hte creation process of the layout, something went wrong and some kind of garbage value got inserted into its data. The missing 'type' is from that garbage.
Try this patch.
Comment #2
astra CreditAttribution: astra commentedIt's fixed after adding the patch. Thanks!
Comment #3
merlinofchaos CreditAttribution: merlinofchaos commentedCommitted and pushed. Thanks!