Closed (duplicate)
Project:
Quotes
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
1 Jun 2011 at 09:36 UTC
Updated:
13 Jul 2011 at 23:06 UTC
I just ran update.php, no errors were thrown. However when I looked in my site log I saw the following.
Warning: Invalid argument supplied for foreach() in views_update_6011() (line 511 of C:\xampp\htdocs\sandboxsite4\sites\all\modules\views\views.install).
Doesn't seem to be much of a problem but I wanted to point it out.
Comments
Comment #1
dawehnerThis function is not really important but fixed the issue.
Comment #2
edemicity commentedI get this error on my site, I have tried all means to resolved but it fail, please any one with idea to help me;
Warning: Invalid argument supplied for foreach() in quotes_load() (line 412 of /home/anfoesec/public_html/shareyourworry.com/sites/all/modules/modules/quotes/quotes.module).
Comment #3
ctmattice1 commentedThe error results from no quotes being selected. However, the function is currently faulty as it does not check for a result set before entering the foreach section.
Will fix this in the next dev release.
Comment #4
ctmattice1 commentedchanging title.
Comment #5
edemicity commentedHow soon will the new release be out! what can i do now to fix the error. you can check that on www.shareyourworry.com.
Thanks
Comment #6
ctmattice1 commentedYou can temporarily disable the quotes block you have set up by changing the region to none
Comment #7
ctmattice1 commentedSame as #1159668: Quote generates warning