Vote Up/Down v7.x-1.0beta1
Drupal 7.54
PHP 5.6.30
HTTP Error 500 when loading a nodes' "Voting details" page.
error_log says:
PHP Fatal error: Cannot use object of type stdClass as array in /home/XXX/public_html/XXXX/includes/theme.inc on line 1071
Suggested Fix:
File vud_node.module, line 257:
theme('username', $account),
Change to:
theme('username', array('account' => $account)),
Comments
Comment #2
marvil07 commentedSounds right, would you like to provide a patch?
For reference, you can follow the instructions on Making a Drupal patch with Git
Comment #3
gumanov commentedSorry, but I don't have experience with git, and do not have it installed.
Comment #4
marvil07 commentedOK, I will apply the change manually.
For the next time you can also create a patch without git:
Comment #7
marvil07 commentedThanks!
PS: Sorry for the noise, I forgot to use the right attribution.
Comment #8
gumanov commentedAh ok, I didn't realize I could do that. Thanks!