I installed MT 5.01 the other day and upgraded my existing blog. However I'm getting the following error message on my dynamically published archives:
Fatal error: Uncaught exception 'ADODB_Exception' with message 'pdo error: [-1: No primary key found for table mt_blog_meta] in ADODB_Active_Record::UpdateActiveTable(0, 0) ' in /home/.nimmao/rhino876/rhinoblues.com/mt/php/extlib/adodb5/adodb-exceptions.inc.php:78 Stack trace: #0 /home/.nimmao/rhino876/rhinoblues.com/mt/php/extlib/adodb5/adodb-active-record.inc.php(485): adodb_throw() #1 /home/.nimmao/rhino876/rhinoblues.com/mt/php/extlib/adodb5/adodb-active-record.inc.php(393): ADODB_Active_Record->Error('pdo', 'ADODB_Active_Re...', -1, 'No primary key ...', 0, 0, Object(ADODB_pdo)) #2 /home/.nimmao/rhino876/rhinoblues.com/mt/php/extlib/adodb5/adodb-active-record.inc.php(127): ADODB_Active_Record->UpdateActiveTable('No primary key ...', 'UpdateActiveTab...') #3 /home/.nimmao/rhino876/rhinoblues.com/mt/php/extlib/adodb5/adodb-active-record.inc.php(189): ADODB_Active_Record->__construct(false) #4 /home/.nimmao/rhino876/rhinoblues.com/mt/php/extlib/adodb5/adodb-active-record.inc.php(219): ADODB_Active_Record->hasMany('mt_bl in /home/.nimmao/rhino876/rhinoblues.com/mt/php/extlib/adodb5/adodb-exceptions.inc.php on line 78
What can I do to fix this (short of switching to static publishing)?
Reported on Movable Type 5
good
I've got this error too, after an upgrade from 4.32 to 5.01.
I am trying to switch to dynamic publishing on 5.01 and am getting this error as well.
I hope that it is simply an MT 5.01 bug and will be fixed in the next release.
Please.
-d