First everythiong still appears to be working. But on the last page of update where it says 'If you dont see any errors below...'

Welll I didn't see any below. These errors were above the notice :)

Numerous occurences of this

warning: Invalid argument supplied for foreach() in /home/myhost/public_html/sites/all/modules/views/includes/view.inc on line 1614. 

Single occurence of the following

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY vid, position' at line 1 query: SELECT * FROM views_display WHERE vid IN () ORDER BY vid, position in /home/myhost/public_html/sites/all/modules/views/includes/view.inc on line 1240. 

Anything i need to worry about ? What information would help diagnose if needed ?

Comments

pwolanin’s picture

Looks like you had no Views, or at least none of the type that were to be updated? MySQL is obviously complaining about the empty IN clause: WHERE vid IN ()

Anonymous’s picture

There are definitely views, at least 60 of them. :)

merlinofchaos’s picture

Hmm. That's interesting to see, though if there are no errors in your system afterward I doubt it's anything to really worry about. You aren't still seeing that warning on your site, are you?

There weren't any actual database updates in Views itself between 2.1 and 2.2, so it's possible that message was actually supplied by another module that was trying to do something with Views, perhaps incorrectly.

Anonymous’s picture

From what I remember views was the only module being updated.

Everything seems to be functioning OK, will see what happens on the 2.3 release when it arrives

dorien’s picture

I also have the error

"warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'views_access' was given in /home/rawvegan/public_html/raw-vegan.org/includes/menu.inc on line 452."

A new site install with Views 2.2. It started noticing it after I moved the site to another server. Everything seems to work normal though.

I also noticed a

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near &_#039;) ORDER BY vid, position&_#039; at line 1 query: SELECT * FROM views_display WHERE vid IN () ORDER BY vid, position in /home/rawvegan/public_html/raw-vegan.org/sites/all/modules/views/includes/view.inc on line 1240.

(I have added the _ to stop the asci characters from changing to ')

merlinofchaos’s picture

Be sure to visit the admin/build/modules page to rebuild the menu table.

kenorb’s picture

Version: 6.x-2.2 » 6.x-2.3

The same problem here: #388598: WSOD on upgrade with Views 2.3

gettysburger’s picture

I am still not able to upgrade from Views 6x-2.2 to 6.x-2.3. After I upload the new files, I can go to most of the site except the update.php page and the modules page. Both give me WSOD. I have emptied the cache and no luck.

merlinofchaos’s picture

Try 2.4 instead?

gettysburger’s picture

Cleared my cache. Tried 2.4. WSOD. Bummer.

I'll keep thinking. Thanks.

merlinofchaos’s picture

Status: Active » Closed (won't fix)

Since the original issue here isn't about a wsod, I am putting a stop to the wsod conversation. The original problem appears to be harmless, I'm not even sure where it came from but it doesn't look like ti did anything.

merlinofchaos’s picture

If you have wsod, find the appropriate or file new issues. Be sure to include enough information since telling me you get a wsod is unlikely to produce much help.

gettysburger’s picture

Tried upgrading to 2.5 from 2.1 and still got wsod. Had my server guy send me the errors in hope it would help troubleshoot. Thanks.

[Mon Apr 13 10:32:47 2009] [error] [client x.x.x.x] PHP Fatal error: Cannot access empty property in /srv/www/htdocs/sites/all/modules/views/modules/node.views.inc on line 670, referer: http://www.mysite.edu/admin/build/views/tools

[Mon Apr 13 10:32:53 2009] [error] [client x.x.x.x] PHP Fatal error: Cannot redeclare date_api_views_data() (previously declared in /srv/www/htdocs/sites/all/modules/date/includes/date_api.views.inc:123) in /srv/www/htdocs/sites/all/modules/date/date_api.views.inc on line 60, referer: http://www.mysite.edu/admin/build/views/tools

[Mon Apr 13 10:41:15 2009] [error] [client x.x.x.x] PHP Fatal error: Cannot access empty property in /srv/www/htdocs/sites/all/modules/views/modules/node.views.inc on line 670, referer: http://www.mysite.edu/about-hcc/contact-us

[Mon Apr 13 10:41:52 2009] [error] [client ::1] PHP Fatal error: Cannot access empty property in /srv/www/htdocs/sites/all/modules/views/modules/node.views.inc on line 670 [MY NOTE - THERE WAS NO IP ADDRESS IN THIS ERROR (I have replaced the rest with x.x.x.x for security)

[Mon Apr 13 10:42:07 2009] [error] [client x.x.x.x] PHP Fatal error: Cannot access empty property in /srv/www/htdocs/sites/all/modules/views/modules/node.views.inc on line 670

and ends with many many pages of this:

[Mon Apr 13 10:48:07 2009] [error] [client x.x.x.x] PHP Fatal error: Cannot redeclare date_api_views_data() (previously declared in /srv/www/htdocs/sites/all/modules/date/includes/date_api.views.inc:123) in /srv/www/htdocs/sites/all/modules/date/date_api.views.inc on line 60

asimmonds’s picture

@gettysburger - You have two versions of the date module mixed up in the same directory. Delete the date module directory completely and extract a fresh copy of date's release (eg date-6.x-2.1.tar.gz) in it's place.

gettysburger’s picture

Thanks. That helped with the Date and Calendar.