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.
Switched to dev and some things didn't work as I was expecting so I went back to the lastest stable version. I now get these 2 errors
Notice: Undefined index: description in sites/all/modules/ctools/includes/content.inc on line 72
Notice: Undefined property: stdClass::$title in _ctools_export_unpack_object() (line 601 of sites/all/modules/ctools/includes/export.inc).
Will be investigating; let you know what I find.
Comment | File | Size | Author |
---|---|---|---|
#6 | 931648.patch | 1005 bytes | naxoc |
#4 | ctools-931648.patch | 2.84 KB | mikeytown2 |
#3 | ctools-931648.patch | 908 bytes | mikeytown2 |
Comments
Comment #1
mikeytown2 CreditAttribution: mikeytown2 commentedUpdate: $title is missing from my 2 Mini panels. I am getting this error 2x on every page load
Comment #2
mikeytown2 CreditAttribution: mikeytown2 commentedUndefined property: stdClass::$title was fixed by adding in a title column to the panels_mini table.
http://drupal.org/node/577742#comment-3534094
Full backtrace for this error ( I also get 2x)
Code added to _drupal_error_handler() in pressflow's common.inc.
Comment #3
mikeytown2 CreditAttribution: mikeytown2 commentedComment #4
mikeytown2 CreditAttribution: mikeytown2 commentedOne more
Undefined index: name
ctools/includes/context.inc line 1412
Comment #5
merlinofchaos CreditAttribution: merlinofchaos commented$plugin['name'] will always be filled in, so I'm not sure what's going on there. But it is not valid for any plugin to not have a 'name'.
I think access plugins also actually are required to have a description, so perhaps we need to fill in some kind of unknown field if the access plugin didn't have a description.
Comment #6
naxoc CreditAttribution: naxoc commentedI had the same problem using a plugin I wrote myself. It turns out that
$plugin['icon']
was the culprit in my case, but the description field has the same problem. I attached a very naive patch - not at all sure that is the way to do it, but it stops the errors on what I am working on right now.Comment #7
mikeytown2 CreditAttribution: mikeytown2 commentednaxoc's patch works as well.
Comment #8
brunodboWhile switching our Drupal core to Pressflow today, I discovered the errors mentioned here. I tested both patches, and they seem to fix the issues for me as well.
Comment #9
merlinofchaos CreditAttribution: merlinofchaos commentedCommitted to 6.x and 7.x branches and pushed.