Will Reese Posted November 20, 2018 Share Posted November 20, 2018 I can't post under the 'Report a Bug' area so I hope here works. Inside the adminCP When you manage soldiers or filter by rank, name or MOS it generates an error. If anyone has an idea of how or where to fix this please let me know. Quote Link to comment Share on other sites More sharing options...
Administrators Jon Erickson Posted November 20, 2018 Administrators Share Posted November 20, 2018 Are you running the latest version of PERSCOM? Quote Owner Deschutes Design Group LLC email | jon@deschutesdesigngroup.com Link to comment Share on other sites More sharing options...
Will Reese Posted November 21, 2018 Author Share Posted November 21, 2018 Version v1.1.3 so its one behind the latest. Quote Link to comment Share on other sites More sharing options...
Administrators Jon Erickson Posted November 21, 2018 Administrators Share Posted November 21, 2018 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. Quote Owner Deschutes Design Group LLC email | jon@deschutesdesigngroup.com Link to comment Share on other sites More sharing options...
Timothy Kiselev Posted November 21, 2018 Share Posted November 21, 2018 Hi Jon, I'm the actual webmaster for Will's unit. There was indeed a soldier with perscom_status of 0. He's inactive, so we just did a full (delete) discharge, and the problem appears solved. Thanks for the help! 1 Quote Link to comment Share on other sites More sharing options...
Administrators Jon Erickson Posted November 21, 2018 Administrators Share Posted November 21, 2018 Glad you were able to get it resolved! Quote Owner Deschutes Design Group LLC email | jon@deschutesdesigngroup.com 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.