I upgraded to views-7.x-3.x-dev dated 18 March 2011 and then to dev dated 19 march 2011. In both these cases all the view display page on my site have disappeared (the data the fields, tables etc) and upon visiting views menu path it just shows requested page could not be found. When I I click admin/structure/views there is a white screen of death. I tried to clear the cache and had the following error displayed:

The plugin definition of views_ui cannot locate schema views_view.

Essentially it is all broken.

Comments

fubhy’s picture

Update to lates CTools too, clear the cache of your website and it should work.

dawehner’s picture

Status: Active » Fixed

And update status.

recidive’s picture

Same problem here, the error appear twice when cleaning the cache with drush after upgrading to latest views and ctools:

Views 7.x-3.x-dev (2011-Mar-22)
Chaos tool suite 7.x-1.x-dev (2011-Mar-18)

Cleaning the cache through performance page works though. And after cleaning the cache drush stops displaying the errors, so everything is ok.

j2parker’s picture

Updating via drush pm-update fails (Drush v3.3)

drush> drush dl views-7.x-3.0-beta3
Project views (7.x-3.0-beta3) downloaded to /path_to/sites/all/modules/views. [success]

drush> drush dl ctools 7.x-1.0-alpha4
Project ctools (7.x-1.0-alpha4) downloaded to /path_to/sites/all/modules/ctools. [success]
No release history was found for the requested project (7.x). [error]
An error occurred at function : drush_pm_download

drush> pm-update
.
.
.
Code updates will be made to the following projects:
Chaos tool suite [ctools-7.x-1.0-alpha4]

Note: Updated projects can potentially break your site. It is NOT recommended to update production sites without prior testing.
Note: A backup of your package will be stored to backups directory if it is not managed by a supported version control system.
Note: If you have made any modifications to any file that belongs to one of these projects, you will have to migrate those modifications after updating.
Do you really want to continue? (y/n): y
Project ctools was updated successfully. Installed version is now 7.x-1.0-alpha4.
Backups were saved into the directory /path_to/backup/modules/20110329140124/ctools. [ok]
'all' cache was cleared [success]
The plugin definition of views_ui cannot locate schema views_view. [error]
The plugin definition of views_ui cannot locate schema views_view. [error]
An error occurred at function : drush_core_cache_clear [error]
An error occurred at function : drush_pm_updatecode [error]
WD php: Warning: rename(/path_to/backup/modules/20110329140124/ctools,/path_to/sites/all/modules/ctools): Directory not empty in drush_op() (line 597 of path_to/drush/includes/drush.inc). [warning]
Could not restore backup and rollback from failed upgrade. You will need to resolve manually. [error]
WD php: Warning: array_merge(): Argument #2 is not an array in _pm_update_move_files() (line 211 of /path_to/drush/commands/pm/updatecode.pm.inc). [warning]
rename(/path_to/backup/modules/20110329140124/ctools,/path_to/sites/all/modules/ctools): Directory not empty in drush_op() (line 597 of /path_to/drush/includes/drush.inc). [warning]
array_merge(): Argument #2 is not an array in _pm_update_move_files() (line 211 of /path_to/drush/commands/pm/updatecode.pm.inc). [warning]
An error occurred at function : drush_pm_update

Executing drush pm-update was successful the second time after running

drush cc all

drush cc all

drush pm-update
.
.
.
'all' cache was cleared [success]
You have pending database updates. Please run `drush updatedb` or visit update.php in your browser. [warning]
'all' cache was cleared [success]
Finished performing updates. [ok]
The following updates are pending:

views module : 
  7000 -   Rename some system variables. 

Do you wish to run all pending updates? (y/n): y

berenddeboer’s picture

Indeed, you need to clear the cache a couple of times before it works.

mgifford’s picture

I had to do this a couple times with 7.x-3.0-beta3

Was rather surprised that I'd need to do this with an upgrade. Could the clear cache (especially if it needs to be called multiple times) be hard coded into an upgrade?

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.