is_featured error
Permalink
Hey i added the page attribute is_featured and have a page list block displaying it, but i have this spamming my logs,
anyone?
Exception Occurred: mysql error: [1054: Unknown column 'ak_is_featured' in 'where clause'] in EXECUTE("select distinct p1.cID, if(p2.cID is null, pt1.ctHandle, pt2.ctHandle) as ctHandle from Pages p1 left join Pages p2 on (p1.cPointerID = p2.cID) left join PageTypes pt1 on (pt1.ctID = p1.ctID) left join PageTypes pt2 on (pt2.ctID = p2.ctID) inner join CollectionVersions cv on (cv.cID = if(p2.cID is null, p1.cID, p2.cID)) left join CollectionSearchIndexAttributes on (CollectionSearchIndexAttributes.cID = if (p2.cID is null, p1.cID, p2.cID)) where 1=1 and cvName != '' and (ak_exclude_page_list = 0 or ak_exclude_page_list is null) and cvIsApproved = 1 and (p1.cIsTemplate = 0 or p2.cIsTemplate = 0) and ak_is_featured = 1 and (p1.cID not in (5,6,7,8,10,11,12,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46) or p2.cID not in (5,6,7,8,10,11,12,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46)) order by p1.cDisplayOrder asc ") #0 /mounted-storage/home115c/sub007/sc66353-ZWZK/video2/concrete/libraries/3rdparty/adodb/adodb.inc.php(1042): adodb_throw('mysql', 'EXECUTE', 1054, 'Unknown column ...', 'select distinct...', false, Object(ADODB_mysql)) #1 /mounted-storage/home115c/sub007/sc66353-ZWZK/video2/concrete/libraries/3rdparty/adodb/adodb.inc.php(998): ADOConnection->_Execute('select distinct...') #2 /mounted-storage/home115c/sub007/sc66353-ZWZK/video2/concrete/libraries/3rdparty/adodb/adodb.inc.php(1548): ADOConnection->Execute('select distinct...', Array) #3 /mounted-storage/home115c/sub007/sc66353-ZWZK/video2/concrete/libraries/3rdparty/adodb/adodb.inc.php(1385): ADOConnection->GetArray('select distinct...', Array) #4 [internal function]: ADOConnection->GetAll('select distinct...', Array) #5 /mounted-storage/home115c/sub007/sc66353-ZWZK/video2/concrete/libraries/database.php(73): call_user_func_array(Array, Array) #6 [internal function]: Database->__call('GetAll', Array) #7 /mounted-storage/home115c/sub007/sc66353-ZWZK/video2/concrete/libraries/item_list.php(138): Database->GetAll('select distinct...', Array) #8 /mounted-storage/home115c/sub007/sc66353-ZWZK/video2/concrete/models/page_list.php(222): DatabaseItemList->get(0, 0) #9 /mounted-storage/home115c/sub007/sc66353-ZWZK/video2/concrete/blocks/page_list/controller.php(113): PageList->get() #10 /mounted-storage/home115c/sub007/sc66353-ZWZK/video2/concrete/blocks/page_list/controller.php(120): PageListBlockController->getPages() #11 [internal function]: PageListBlockController->view() #12 /mounted-storage/home115c/sub007/sc66353-ZWZK/video2/concrete/libraries/controller.php(134): call_user_func_array(Array, Array) #13 /mounted-storage/home115c/sub007/sc66353-ZWZK/video2/concrete/libraries/block_controller.php(222): Controller->runTask('view', Array)
Viewing 15 lines of 22 lines. View entire code block.
anyone?