When running an upgrade from D6 to D7, I hit the following error:

Running update.php for upgrade on a small site:

PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'profile_field' doesn't exist: SELECT DISTINCT(category) FROM {profile_field}; Array ( ) in profile_views_data() (line 70 of views/modules/profile.views.inc).

It's a very similar problem to one reported against the ctools module at #1157526: Error on upgrade 6x to 7x: PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'hoslot5_ghhoa.profile_field', and a similar patch (attached) fixed the issue.

CommentFileSizeAuthor
views_profile_upgrade_error.patch523 bytesstella

Comments

chris matthews’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)

The 6 year old patch to views.inc applies cleanly to the latest views 7.x-3.x-dev, but should probably be closed as outdated.