Hey,
I recently upgraded from 4.6.5 to 4.7.0, and most of the upgrade went smoothly. I have upgraded all the modules, and run the update script.
When I load the front page (it doesn't seem to affect other pages), I get the following PHP error logged:
Unknown column 't.grant_list' in 'field list' query: SELECT t.tid, d.vid, BIT_OR(t.grant_list) AS grant_list FROM term_access t INNER JOIN term_data d ON t.tid=d.tid WHERE t.rid in ('1') AND grant_list = 1 group by t.tid, d.vid in /home2/frisecom/public_html/includes/database.mysql.inc on line 120.
It doesn't seem to do anything to prevent the site from functioning.
Line 120 seems to refer to some helper code (installed as part of the upgrade):
/**
* Helper function for db_query().
*/
function _db_query($query, $debug = 0) {
global $active_db, $queries;
if (variable_get('dev_query', 0)) {
list($usec, $sec) = explode(' ', microtime());
$timer = (float)$usec + (float)$sec;
}
$result = mysql_query($query, $active_db);
if (variable_get('dev_query', 0)) {
$bt = debug_backtrace();
$query = $bt[2]['function'] . "\n" . $query;
list($usec, $sec) = explode(' ', microtime());
$stop = (float)$usec + (float)$sec;
$diff = $stop - $timer;
$queries[] = array($query, $diff);
}
if ($debug) {
print '
query: '. $query .'
error:'. mysql_error($active_db) .'