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.
I have a Page/Panel that takes two arguments, a required string (which I use as a content type), and an optional taxonomy term. (The path being configured to be "content_list/%content_type/!term").
If I don't provide the term I get the following warning:
- Notice: Trying to get property of non-object in ctools_term_breadcrumb() (line 145 of ~/public_html/sites/all/modules/ctools/plugins/arguments/term.inc).
Comment | File | Size | Author |
---|---|---|---|
#3 | ctools-n1300666-d6.patch | 495 bytes | DamienMcKenna |
#3 | ctools-n1300666-d7.patch | 495 bytes | DamienMcKenna |
Comments
Comment #1
zabelc CreditAttribution: zabelc commentedI got rid of the error by modifying line 139 to read:
Thus checking for empty context data
Comment #2
parampadam CreditAttribution: parampadam commentedi had the same issue with ctools 7.x-1.0-rc1+116-dev.
The line works - could it be fixed in a coming release?
thanks,
parampadam
Comment #3
DamienMcKennaPatches attached for both D6 and D7.
Comment #4
merlinofchaos CreditAttribution: merlinofchaos commentedCommitted ot both branches.