XF\Db\Exception: MySQL statement prepare error [1054]: Unknown column 'payment_profile_ids' in 'field list' src/XF/Db/AbstractStatement.php:212
Generated by: Fillip H. Dec 8, 2017 at 5:45 AM
Stack trace
UPDATE xf_dbtech_donate_drive SET
`goal_amount` = '180', `start_dateline` = '1512111600', `end_dateline` = '1514790000', `payment_profile_ids` = '[\"1\"]', `updated_dateline` = '1512690345' WHERE `driveid` = 1
------------
#0 src/XF/Db/Mysqli/Statement.php(174): XF\Db\AbstractStatement->getException('MySQL statement...', 1054, '42S22')
#1 src/XF/Db/Mysqli/Statement.php(35): XF\Db\Mysqli\Statement->getException('MySQL statement...', 1054, '42S22')
#2 src/XF/Db/Mysqli/Statement.php(46): XF\Db\Mysqli\Statement->prepare()
#3 src/XF/Db/AbstractAdapter.php(69): XF\Db\Mysqli\Statement->execute()
#4 src/addons/DBTech/Donate/Application/Db.php(785): XF\Db\AbstractAdapter->query('UPDATE xf_dbtec...')
#5 src/addons/DBTech/Donate/Application/Db.php(474): DBTech\Donate\Application\Db->query('UPDATE xf_dbtec...', Array, 'query_write')
#6 src/addons/DBTech/Donate/Application/Entity.php(1022): DBTech\Donate\Application\Db->update('dbtech_donate_d...', Array, '`driveid` = 1', Array)
#7 src/addons/DBTech/Donate/Application/Entity.php(939): DBTech\Donate\Application\Entity->_save()
#8 src/addons/DBTech/Donate/ActionAdmin/Drive.php(288): DBTech\Donate\Application\Entity->save()
#9 src/addons/DBTech/Donate/Application/Core.php(173): DBTech\Donate\ActionAdmin\Drive->actionUpdate()
#10 src/addons/DBTech/Donate/Admin/Controller/Route.php(39): DBTech\Donate\Application\Core->runAction('DBTech\\Donate\\A...')
#11 src/XF/Mvc/Dispatcher.php(249): DBTech\Donate\Admin\Controller\Route->actionIndex(Object(XF\Mvc\ParameterBag))
#12 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('DBTech\\Donate:R...', 'Index', 'json', Object(XF\Mvc\ParameterBag), 'dbtech_donate', Object(DBTech\Donate\Admin\Controller\Route), NULL)
#13 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#14 src/XF/App.php(1879): XF\Mvc\Dispatcher->run()
#15 src/XF.php(328): XF\App->run()
#16 admin.php(13): XF::runApp('XF\\Admin\\App')
#17 {main}
Request state
array(4) {
["url"] => string(30) "/admin.php?dbtech-donate/drive"
["referrer"] => string(80) "/admin.php?dbtech-donate/drive&action=modify&driveid=1"
["_GET"] => array(1) {
["dbtech-donate/drive"] => string(0) ""
}
["_POST"] => array(7) {
["action"] => string(6) "update"
["driveid"] => string(1) "1"
["drive"] => array(18) {
["title"] => string(11) "NA Donation"
["description_short"] => string(24) "Please make a Donation !"
["description"] => string(24) "Please make a Donation !"
["active"] => string(1) "1"
["displayorder"] => string(2) "10"
["goal_amount"] => string(3) "180"
["start_dateline"] => array(3) {
["month"] => string(2) "12"
["day"] => string(1) "1"
["year"] => string(4) "2017"
}
["end_dateline"] => array(3) {
["month"] => string(1) "1"
["day"] => string(1) "1"
["year"] => string(4) "2018"
}
["is_recurring"] => string(1) "1"
["recurring_period"] => string(11) "month_first"
["recurring_period_custom"] => string(1) "0"
["recurring_period_date"] => string(1) "0"
["membergroupids_type"] => string(9) "permanent"
["allow_guest"] => string(1) "1"
["allow_anonymous"] => string(1) "1"
["payment_profile_ids"] => array(1) {
[0] => string(1) "1"
}
["message_minlength"] => string(1) "0"
["message_maxlength"] => string(3) "256"
}
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(54) "/admin.php?dbtech-donate/drive&action=modify&driveid=1"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}