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.
Using the latest snapshot of CCK 3-dev or CCK 3-alpha1, on node view with error_reporting set to report all errors on PHP 5.3, there's a lot of notices on node view (well, one for each field associated to the content type), of the form:
Notice: Undefined index: $field_name_rendered in content_field() (line 884 of /var/www/localhost/htdocs/sites/all/modules/contrib/cck/content.module).
That's due to the concatenation in $addition, while the index doesn't exist in the array. Patch coming up shortly.
Comment | File | Size | Author |
---|---|---|---|
#2 | 1063338-2-cck-fix-a-few-more-notices.patch | 1.51 KB | DeFr |
#1 | 1063338-1-notice-on-node-view.patch | 442 bytes | DeFr |
Comments
Comment #1
DeFr CreditAttribution: DeFr commentedComment #2
DeFr CreditAttribution: DeFr commentedNew patch attached, fixing the original notice and two others that appears on the node page when you have a fieldgroup that's set to display has a "simple group" on the node page.
Comment #3
KarenS CreditAttribution: KarenS commentedFixed, thanks!