Jump to content

Forums

Perscom Soldier tab throwing off an error.


Recommended Posts

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}

Link to comment
Share on other sites

  • Administrators

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.

Owner
Deschutes Design Group LLC
email | jon@deschutesdesigngroup.com

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.