Jump to content


Error with the soldier management tab

Recommended Posts

  • Administrators

Based on the backtrace you posted, one of your soldiers has their status set as an invalid status/or no status at all. The _ActiveRecord::load(0) statement indicates it is trying to load a status with an ID of 0, which is not valid. I will wrap this load statement in a try/catch to prevent it from throwing an error in the future, but it appears somehow a soldier's status got set incorrectly. If you are familiar with DB management, you can log into your MySQL database, phpmyadmin if you have it, navigate to your DB and the perscom_personnel table. Go through each soldier and make sure the personnel_status column is not set to zero, but the ID of a valid status. You can obtain the ID of a valid status by looking through the perscom_status table and finding the ID or edit a status in your ACP and view the URL and look at what &id= is set to.

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.

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.