Closed (cannot reproduce)
Project:
Quotes
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 May 2011 at 01:37 UTC
Updated:
20 Jan 2013 at 16:36 UTC
The ony changes from original implementation are the additon of a tag field, and of multilanguage settings (for translations). Showing a translation of the quote generates the following:
Warning: Invalid argument supplied for foreach() in quotes_load() (line 412 of /var/www/html/d7/sites/all/modules/quotes/quotes.module).<>
Same happens when clicking on the name of the quote author.
Comments
Comment #1
macdoggie commentedI can replicate this issue. Is there any information about the cause? Many thanks for your assistance!
Comment #2
Christopher Riley commentedI looked at the code in question and I am wondering if instead of:
$obj1 = $obj->condition('q.vid' , $node->vid)->execute()->fetchObject();it should instead be
$obj1 = $obj->condition('q.vid' , $node->vid)->execute();since the way that it is called now results in no result at all?
Hints, Suggestions, Etc?
Comment #3
smscotten commentedsubscribing
Comment #4
ctmattice1 commentedShould be fixed in current dev release, marking closed, re-open if you still experience this
Comment #5
slim_drupal commentedI still experience this
Comment #6
slim_drupal commentedComment #7
chawkins commentedI see this is closed, but I have the newest dev version, and am also experiencing the issue at hand. Any suggestions?
I don't mind the error message, I mean, it's only visible to me anyways, and it doesn't seem to affect the quality of the quotes -- but whoever is developing should be aware this is still an issue.
thanks
Chris
Comment #8
ctmattice1 commentedClosing Issue