Jump to content


Config/Server Error when updating to 1.1.2


Recommended Posts

Can't access solders directly via admincp, any theme changes we did I reverted back to test if it was that.



OutOfRangeException:  (0)
#0 /home/******/public_html/forums/applications/perscom/sources/Personnel/Soldier.php(570): IPS\Patterns\_ActiveRecord::load(Object(IPS\perscom\Personnel\Uniform))
#1 /home/******/public_html/forums/system/Node/Controller.php(489): IPS\perscom\Personnel\_Soldier->form(Object(IPS\Helpers\Form))
#2 /home/******/public_html/forums/system/Node/Controller.php(388): IPS\Node\_Controller->_addEditForm(Object(IPS\perscom\Personnel\Soldier))
#3 /home/******/public_html/forums/system/Dispatcher/Controller.php(85): IPS\Node\_Controller->form()
#4 /home/******/public_html/forums/system/Node/Controller.php(62): IPS\Dispatcher\_Controller->execute()
#5 /home/******/public_html/forums/applications/perscom/sources/Node/Controller.php(29): IPS\Node\_Controller->execute()
#6 /home/******/public_html/forums/applications/perscom/modules/admin/personnel/soldier.php(33): IPS\perscom\Node\_Controller->execute()
#7 /home/******/public_html/forums/system/Dispatcher/Dispatcher.php(146): IPS\perscom\modules\admin\personnel\_soldier->execute()
#8 /home/******/public_html/forums/admin/index.php(14): IPS\_Dispatcher->run()
#9 {main}


Edited by Evil
Link to comment
Share on other sites

Did you edit the template file directly in that theme?

If you switch to your default theme, you can see that it is working correctly.

The way a majority of template functions are called was changed with this last update. For example the uniform (I don't remember the old) is now:

{file='$soldier->uniform->url' extension='perscom_Uniform'}

and status is:

// 1.1.1
{template="status" params="$soldier" group="personnel" location="global" app="perscom"}

// changed to in 1.1.2
{template="status" params="$soldier->status" group="personnel" location="global" app="perscom"}


Edited by Arthur Cantu
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.