Jump to content

Forums

System Errors


Recommended Posts

Hey! I'm having some errors, maybe someone can help me..

Error 1: 

On approving a personal request:

TypeError: Argument 1 passed to IPS\perscom\PersonnelAction\_Request::set_updated_by() must be an instance of IPS\perscom\Personnel\Soldier, bool given, called in C:\xampp\htdocs\system\Patterns\ActiveRecord.php on line 344 (0)
#0 C:\xampp\htdocs\system\Patterns\ActiveRecord.php(344): IPS\perscom\PersonnelAction\_Request->set_updated_by(false)
#1 C:\xampp\htdocs\applications\perscom\sources\PersonnelAction\Request.php(0): IPS\Patterns\_ActiveRecord->__set('updated_by', false)
#2 C:\xampp\htdocs\applications\perscom\sources\PersonnelAction\Request.php(0): IPS\perscom\PersonnelAction\_Request->approve(true)
#3 C:\xampp\htdocs\applications\perscom\modules\admin\personnelaction\requests.php(0): IPS\perscom\PersonnelAction\_Request::update(Array, '2')
#4 C:\xampp\htdocs\system\Dispatcher\Controller.php(85): IPS\perscom\modules\admin\personnelaction\_requests->approve()
#5 C:\xampp\htdocs\system\Node\Controller.php(62): IPS\Dispatcher\_Controller->execute()
#6 C:\xampp\htdocs\applications\perscom\sources\Node\Controller.php(0): IPS\Node\_Controller->execute()
#7 C:\xampp\htdocs\applications\perscom\modules\admin\personnelaction\requests.php(0): IPS\perscom\Node\_Controller->execute()
#8 C:\xampp\htdocs\system\Dispatcher\Dispatcher.php(146): IPS\perscom\modules\admin\personnelaction\_requests->execute()
#9 C:\xampp\htdocs\admin\index.php(14): IPS\_Dispatcher->run()
#10 {main}

Backtrace: 

#0 C:\xampp\htdocs\init.php(537): IPS\_Log::log('TypeError: Argu...', 'uncaught_except...')
#1 [internal function]: IPS\IPS::exceptionHandler(Object(TypeError))
#2 {main}

Error 2:

Processing application

Error: Call to a member function isSoldier() on string (0)
#0 [internal function]: IPS\perscom\Personnel\_Soldier->IPS\perscom\Personnel\{closure}('G.Oviedo')
#1 C:\xampp\htdocs\system\Helpers\Form\FormAbstract.php(375): call_user_func(Object(Closure), 'G.Oviedo')
#2 C:\xampp\htdocs\system\Helpers\Form\TextArea.php(113): IPS\Helpers\Form\_FormAbstract->validate()
#3 C:\xampp\htdocs\system\Helpers\Form\Text.php(257): IPS\Helpers\Form\_TextArea->validate()
#4 C:\xampp\htdocs\system\Helpers\Form\Member.php(145): IPS\Helpers\Form\_Text->validate()
#5 C:\xampp\htdocs\system\Helpers\Form\FormAbstract.php(165): IPS\Helpers\Form\_Member->validate()
#6 C:\xampp\htdocs\system\Helpers\Form\FormAbstract.php(142): IPS\Helpers\Form\_FormAbstract->setValue(true)
#7 [internal function]: IPS\Helpers\Form\_FormAbstract->__construct('personnel_membe...', Object(IPS\Member), true, Array, Object(Closure))
#8 C:\xampp\htdocs\system\Helpers\Form\TextArea.php(60): call_user_func_array('parent::__const...', Array)
#9 [internal function]: IPS\Helpers\Form\_TextArea->__construct('personnel_membe...', Object(IPS\Member), true, Array, Object(Closure))
#10 C:\xampp\htdocs\system\Helpers\Form\Text.php(107): call_user_func_array('parent::__const...', Array)
#11 [internal function]: IPS\Helpers\Form\_Text->__construct('personnel_membe...', Object(IPS\Member), true, Array, Object(Closure))
#12 C:\xampp\htdocs\system\Helpers\Form\Member.php(66): call_user_func_array('parent::__const...', Array)
#13 C:\xampp\htdocs\applications\perscom\sources\Personnel\Soldier.php(0): IPS\Helpers\Form\_Member->__construct('personnel_membe...', Object(IPS\Member), true, Array, Object(Closure))
#14 C:\xampp\htdocs\applications\perscom\sources\Personnel\Soldier.php(0): IPS\perscom\Personnel\_Soldier->form(Object(IPS\Helpers\Form))
#15 C:\xampp\htdocs\applications\perscom\modules\admin\applications\application.php(0): IPS\perscom\Personnel\_Soldier->process(Object(IPS\perscom\Applications\Application))
#16 C:\xampp\htdocs\system\Dispatcher\Controller.php(85): IPS\perscom\modules\admin\applications\_application->process()
#17 C:\xampp\htdocs\system\Node\Controller.php(62): IPS\Dispatcher\_Controller->execute()
#18 C:\xampp\htdocs\applications\perscom\sources\Node\Controller.php(0): IPS\Node\_Controller->execute()
#19 C:\xampp\htdocs\applications\perscom\modules\admin\applications\application.php(0): IPS\perscom\Node\_Controller->execute()
#20 C:\xampp\htdocs\system\Dispatcher\Dispatcher.php(146): IPS\perscom\modules\admin\applications\_application->execute()
#21 C:\xampp\htdocs\admin\index.php(14): IPS\_Dispatcher->run()
#22 {main}

Backtrace

#0 C:\xampp\htdocs\init.php(537): IPS\_Log::log('Error: Call to ...', 'uncaught_except...')
#1 [internal function]: IPS\IPS::exceptionHandler(Object(Error))
#2 {main}

 

Any ideas?

Thanks!

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.