About two months ago, I loaded the Quotes module and entered a few quotes and everything seemed fine. Each time the page was refreshed, a randomly generated quote would appear in it's box--and without the quote also appearing as an article. Then over that time, I continued to build my site and added another 15 plugin modules. Then, just this evening, I decided to add an additional 15 quotes--adding each as a single quote. However, this time, I kept getting errors. Upon creating the quote, this error would be displayed on the front page:
Notice: Undefined index: und in quotes_block_view() (line 975 of /home/oakgrove09/public_html/train/sites/all/modules/quotes/quotes.module).
Also, the quotes are being displayed in the articles area rather than in their display box in right column--even though when I'm adding content, I'm specifying the content as a quote and not an article.
I'm entering these new quotes identically to the way I entered the earlier quotes: single quote, filtered html, and the quote's originator being listed as Author. But I'm still getting these errors. I'm using the same version of Quotes that I used 2 months ago.
Interestingly, when I delete the newer quotes and just leave the original ones (from 2 months ago), there are no error messages. So this suggests to me that the recent module plugins that I've added over the past 2 months probably are not the cause of the behavior (otherwise all quotes would've been affected regardless of when they were added).
Is this a bug? Has anyone else run into this?
Comments
Comment #1
ctmattice1 commentedThis particular bug has to do with the language drupal is set to use. It should not though cause the quotes to be displayed on you page unless you did not uncheck the "promoted to front page" in the publishing options.
Going back to the language bug - did you enable the locale module or translations in your setup, can you tell me a little more as to the modules you've added. While it is doubtful they had any effect on your site, it is very possible and highly likely any of the system modules that deal with languages could cause this. If that is the case, have you tried the newest dev release of quotes. If your on the latest then there's still a problem with the quote module block display which is highly likely and any information you can supply will help in resolving it.
Comment #2
oakgrove09 commentedThanks! A week ago, I had activated the Content Translation and Locale modules. So, I just went ahead and deactivated them and now I'm no longer getting the error messages.
(And yes, I needed to check off Promote to Front page. Sorry, I don't know how I missed that one. :-) )
I'm currently using Drupal 7.12 and I'm currently using the 7.x-1.x-dev version for Quotes and the latest downloads of the Content Translation and Locale Modules. (And although I don't think the theme would have any impact, I'm using Subwork 7.x-1.1 and Negosyante 7.1x-1.0 themes.)
Comment #3
ctmattice1 commentedNew dev release. Leaving open as there are still probable language issues.
Comment #4
ctmattice1 commentedmarking fixed