Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
I got this message when trying to run update.php after upgrading to Drupal 7.4 from 7.2 :
Undefined property: DatabaseConnection_sqlsrv::$defaultPrefix in DatabaseConnection_sqlsrv->prefixTablesCallback() (line 176 of \SiteWeb\includes\database\sqlsrv\database.inc).
Comments
Comment #1
Devline commentedI got this message when trying to run update.php after upgrading to Drupal 7.4 from 7.2 :
Any suggestion ?
Comment #2
damien tournoud commentedThe Database Engine API changed a little bit between 7.3 and 7.4 (see #561422: Replace strtr() with str_replace() for db prefixing). The SQL Server engine needs to be updated.
Comment #3
damien tournoud commentedFixed in commit 417a909.
Comment #4
Devline commented@Damien Tournoud. Thanks a lot, I just updated to drupal 7.4, everything is back to normal.