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

macdoggie’s picture

I can replicate this issue. Is there any information about the cause? Many thanks for your assistance!

Christopher Riley’s picture

I 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?

smscotten’s picture

subscribing

ctmattice1’s picture

Status: Active » Closed (fixed)

Should be fixed in current dev release, marking closed, re-open if you still experience this

slim_drupal’s picture

I still experience this

slim_drupal’s picture

Status: Closed (fixed) » Active
chawkins’s picture

I 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

ctmattice1’s picture

Status: Active » Closed (cannot reproduce)

Closing Issue