Group promotions/search
SELECT count(*) FROM `ipbdonate_demote` AS `donate_demote` WHERE (LOWER(`member_name`) LIKE CONCAT( '%', 'donor', '%' ))
IPS\Db\Exception: Unknown column 'member_name' in 'where clause' (1054)
#0 /home/invision/IPB4/system/Db/Select.php(346): IPS\_Db->preparedQuery('/*IPS\\Helpers\\T...', Array)
#1 /home/invision/IPB4/system/Db/Select.php(408): IPS\Db\_Select->runQuery()
#2 /home/invision/IPB4/system/Db/Select.php(329): IPS\Db\_Select->rewind()
#3 /home/invision/IPB4/system/Helpers/Table/Db.php(296): IPS\Db\_Select->first()
#4 /home/invision/IPB4/system/Helpers/Table/Table.php(451): IPS\Helpers\Table\_Db->getRows(NULL)
#5 /home/invision/IPB4/applications/donate/modules/admin/donations/promotions.php(143): IPS\Helpers\Table\_Table->__toString()
#6 /home/invision/IPB4/system/Dispatcher/Controller.php(96): IPS\donate\modules\admin\donations\_promotions->manage()
#7 /home/invision/IPB4/applications/donate/modules/admin/donations/promotions.php(30): IPS\Dispatcher\_Controller->execute()
#8 /home/invision/IPB4/system/Dispatcher/Dispatcher.php(129): IPS\donate\modules\admin\donations\_promotions->execute()
#9 /home/invision/IPB4/admin/index.php(13): IPS\_Dispatcher->run()
#10 {main}
There is *NO* member_name column in the demote table, only member_id, plese fix this query!