Just ran the update to version 7.x-1.1 and now my sitemap (https://www.drupal.org/project/site_map 7.x-1.3) gives this error:
Notice: Undefined property: stdClass::$question in faq_get_faq_list() (line 1137 of /var/www/infosites/public_html/sites/all/modules/faq/faq.module).
Notice: Undefined property: stdClass::$question in faq_get_faq_list() (line 1137 of /var/www/infosites/public_html/sites/all/modules/faq/faq.module).
Notice: Undefined property: stdClass::$question in faq_get_faq_list() (line 1137 of /var/www/infosites/public_html/sites/all/modules/faq/faq.module).
Notice: Undefined property: stdClass::$question in faq_get_faq_list() (line 1137 of /var/www/infosites/public_html/sites/all/modules/faq/faq.module).
Notice: Undefined property: stdClass::$question in faq_get_faq_list() (line 1137 of /var/www/infosites/public_html/sites/all/modules/faq/faq.module).
Notice: Undefined property: stdClass::$question in faq_get_faq_list() (line 1137 of /var/www/infosites/public_html/sites/all/modules/faq/faq.module).
And the FAG items in the sitemap are empty (see screenshot 2)
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | undefined-property-2568685-3.patch | 350 bytes | prashant.c |
| Knipsel_02.PNG | 13.75 KB | neorg | |
| Knipsel_01.PNG | 65.59 KB | neorg |
Comments
Comment #2
neorg commentedSOLVED!
Change line 1173 from /modules/faq/faq.module
$items[] = l($node->question, "node/$node->nid");to
$items[] = l($node->title, "node/$node->nid");So this loop
changes to this:
Please apply this in the module
Comment #3
prashant.cSubmitting patch for changes suggested by #2.
Same needs to be reviewed.
Comment #4
andrey.troeglazov commentedComment #5
andrey.troeglazov commented