Hambone0304 Posted February 18, 2019 Share Posted February 18, 2019 Yesterday i deleted a combat unit that had 5 people in it and ever since I've done that it shoots off a huge error when trying to access the soldier's tab through the admin cp any help would be appreciated. EX0 Something went wrong. Please try again. OutOfRangeException: (0) #0 /usr/www/arma3macv/public/applications/perscom/modules/admin/personnel/soldier.php(98): IPS\Patterns\_ActiveRecord::load(6) #1 [internal function]: IPS\perscom\modules\admin\personnel\_soldier->IPS\perscom\modules\admin\personnel\{closure}(6, Array) #2 /usr/www/arma3macv/public/system/Helpers/Table/Db.php(428): call_user_func(Object(Closure), 6, Array) #3 /usr/www/arma3macv/public/system/Helpers/Table/Table.php(480): IPS\Helpers\Table\_Db->getRows(NULL) #4 /usr/www/arma3macv/public/applications/perscom/modules/admin/personnel/soldier.php(294): IPS\Helpers\Table\_Table->__toString() #5 /usr/www/arma3macv/public/system/Dispatcher/Controller.php(96): IPS\perscom\modules\admin\personnel\_soldier->manage() #6 /usr/www/arma3macv/public/system/Node/Controller.php(62): IPS\Dispatcher\_Controller->execute() #7 /usr/www/arma3macv/public/applications/perscom/sources/Node/Controller.php(29): IPS\Node\_Controller->execute() #8 /usr/www/arma3macv/public/applications/perscom/modules/admin/personnel/soldier.php(33): IPS\perscom\Node\_Controller->execute() #9 /usr/www/arma3macv/public/system/Dispatcher/Dispatcher.php(146): IPS\perscom\modules\admin\personnel\_soldier->execute() #10 /usr/www/arma3macv/public/admin/index.php(13): IPS\_Dispatcher->run() #11 {main} Quote Link to comment Share on other sites More sharing options...
Administrators Jon Erickson Posted February 18, 2019 Administrators Share Posted February 18, 2019 Hambone0304, the soldier table is trying to load a soldier that is assigned to a non-existent combat unit. You will need to log into your database, through phpMyAdmin, proceed to the perscom_personnel table, locate the 5 soldiers that were assigned to the deleted combat unit, and change the number for the personnel_combat_unit column. It looks like the old ID of the combat unit was 6 so find every soldier where personnel_combat_unit is 6, and change it to an ID of an existing combat unit. You can get that id by editing the combat unit in the ACP and looking at the URL for the number. Quote Owner Deschutes Design Group LLC email | jon@deschutesdesigngroup.com Link to comment Share on other sites More sharing options...
Hambone0304 Posted February 18, 2019 Author Share Posted February 18, 2019 We ended up having to delete them from perscom within the database but all is good now thanks for the help really appreciate it. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.