Closed (fixed)
Project:
Drupal Commons
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Feb 2013 at 03:41 UTC
Updated:
23 Feb 2013 at 21:50 UTC
Jump to comment: Most recent file
After adding a new question to a freshly built site, adding an answer results in the following error:
Notice: Undefined property: stdClass::$use_source_translation in rate_get_results() (line 479 of /path/to/commons/profiles/commons/modules/contrib/rate/rate.module).
Adding additional answers results three instances of the same error... then another adds 5X, etc.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | rate_undefined_property-1905002-1.patch | 632 bytes | matt v. |
| #1 | 1905002.commons_q_a.use_source_translation_rate_property.patch | 966 bytes | jpontani |
Comments
Comment #1
jpontani commentedThis patch should fix it. You'll have to uninstall/reinstall the Commons Q&A feature.
Comment #2
matt v. commented(EDIT: Please ignore this patch. I posted without having noticed jpontani's response above.)
I've posted a patch in the Rate module's issue queue. I'm attaching a corresponding patch for Commons here.
Comment #3
matt v. commentedWeird... this morning I'm not able to recreate the error on a freshly build Commons site without any additional patches applied.
@jpontani, any thoughts? Unless you think otherwise, this can probably be closed.
Comment #4
ezra-g commentedMarking as closed per #3.
Comment #5
jpontani commentedUpdating this issue because I just ran into the same issue prior to applying the patch in #1. Went ahead and committed it.
http://drupalcode.org/project/commons_q_a.git/commitdiff/c3e72c1