I created a trophy to be rewarded when a user has at least X points in the Members Shop app. Now every user gets this error when visiting their profile:
SELECT shop_points FROM `core_members` WHERE member_id=1
IPS\Db\Exception: Unknown column 'shop_points' in 'field list' (1054)
#0 /var/www/html/l283567/system/Db/Select.php(373): IPS\_Db->preparedQuery('/*IPS\\memberssh...', Array, true)
#1 /var/www/html/l283567/system/Db/Select.php(436): IPS\Db\_Select->runQuery()
#2 /var/www/html/l283567/system/Db/Select.php(355): IPS\Db\_Select->rewind()
#3 /var/www/html/l283567/applications/membersshop/extensions/trophies/TrophyCriteria/membersshop.php(67): IPS\Db\_Select->first()
#4 /var/www/html/l283567/applications/trophies/sources/Trophy/Trophy.php(428): IPS\membersshop\extensions\trophies\TrophyCriteria\_membersshop::memberMeetsCriteria(Object(IPS\Member), Object(IPS\trophies\Trophy), NULL)
#5 /var/www/html/l283567/applications/trophies/sources/Trophy/Trophy.php(473): IPS\trophies\_Trophy->memberMeetsCriteria(Object(IPS\Member))
#6 /var/www/html/l283567/init.php(816) : eval()'d code(14): IPS\trophies\_Trophy::updateTrophiesForMember(Object(IPS\Member))
#7 /var/www/html/l283567/system/Dispatcher/Controller.php(96): IPS\core\modules\front\members\trophies_hook_profile->manage()
#8 /var/www/html/l283567/applications/core/modules/front/members/profile.php(73): IPS\Dispatcher\_Controller->execute()
#9 /var/www/html/l283567/system/Dispatcher/Dispatcher.php(152): IPS\core\modules\front\members\_profile->execute()
#10 /var/www/html/l283567/index.php(13): IPS\_Dispatcher->run()
#11 {main}
When disabling the trophy, the error goes away.