Giray Posted June 7, 2022 Share Posted June 7, 2022 When editing or adding Stock Action in the support desk, I get a crash. Ruled out Radical Tags which we thought was causing the first crash. Even disabling it, the crash persists. Thoughts? Thanks. Original crash with Radtags enabled: UPDATE `nexus_support_stock_actions` `nexus_support_stock_actions` SET `action_status`=2,`action_staff`=NULL,`action_message`='<p> We have escalated your request to K3MRI. The ticket will be placed on a short hold pending his reply. </p> <p> Thank you. </p> ',`action_show_in`='*' WHERE action_id=2 IPS\Db\Exception: Column 'action_staff' cannot be null (1048) #0 /home/myaccount/public_html/system/Db/Db.php(1156): IPS\_Db->preparedQuery('/*myaccount_ipsma...', Array) #1 /home/myaccount/public_html/system/Patterns/ActiveRecord.php(520): IPS\_Db->update('`nexus_support_...', '`action_status`...', 'WHERE action_id...') #2 /home/myaccount/public_html/system/Node/Model.php(2494): IPS\Patterns\_ActiveRecord->save() #3 /home/myaccount/public_html/init.php(913) : eval()'d code(257): IPS\Node\_Model->save() #4 /home/myaccount/public_html/system/Node/Model.php(3316): IPS\Node\radtags_hook_C_NodeModel->save() #5 /home/myaccount/public_html/init.php(913) : eval()'d code(184): IPS\Node\_Model->saveForm(Array) #6 /home/myaccount/public_html/system/Node/Controller.php(419): IPS\Node\radtags_hook_C_NodeModel->saveForm(Array) #7 /home/myaccount/public_html/system/Dispatcher/Controller.php(90): IPS\Node\_Controller->form() #8 /home/myaccount/public_html/system/Node/Controller.php(69): IPS\Dispatcher\_Controller->execute() #9 /home/myaccount/public_html/applications/nexus/modules/admin/support/stockactions.php(39): IPS\Node\_Controller->execute() #10 /home/myaccount/public_html/applications/nexus/modules/admin/support/settings.php(91): IPS\nexus\modules\admin\support\_stockactions->execute() #11 /home/myaccount/public_html/system/Dispatcher/Controller.php(90): IPS\nexus\modules\admin\support\_settings->__call('form', Array) #12 /home/myaccount/public_html/system/Dispatcher/Dispatcher.php(153): IPS\Dispatcher\_Controller->execute() #13 /home/myaccount/public_html/admin/index.php(13): IPS\_Dispatcher->run() #14 {main} With it disabled: UPDATE `nexus_support_stock_actions` `nexus_support_stock_actions` SET `action_status`=2,`action_staff`=NULL,`action_message`='<p> This ticket is being escalated to Jim | K3MRI for action. Please allow him time to review and respond. Thank you. </p> ',`action_show_in`='*' WHERE action_id=3 IPS\Db\Exception: Column 'action_staff' cannot be null (1048) #0 /home/myaccount/public_html/system/Db/Db.php(1156): IPS\_Db->preparedQuery('/*myaccount_ipsma...', Array) #1 /home/myaccount/public_html/system/Patterns/ActiveRecord.php(520): IPS\_Db->update('`nexus_support_...', '`action_status`...', 'WHERE action_id...') #2 /home/myaccount/public_html/system/Node/Model.php(2494): IPS\Patterns\_ActiveRecord->save() #3 /home/myaccount/public_html/system/Node/Model.php(3316): IPS\Node\_Model->save() #4 /home/myaccount/public_html/system/Node/Controller.php(419): IPS\Node\_Model->saveForm(Array) #5 /home/myaccount/public_html/system/Dispatcher/Controller.php(90): IPS\Node\_Controller->form() #6 /home/myaccount/public_html/system/Node/Controller.php(69): IPS\Dispatcher\_Controller->execute() #7 /home/myaccount/public_html/applications/nexus/modules/admin/support/stockactions.php(39): IPS\Node\_Controller->execute() #8 /home/myaccount/public_html/applications/nexus/modules/admin/support/settings.php(91): IPS\nexus\modules\admin\support\_stockactions->execute() #9 /home/myaccount/public_html/system/Dispatcher/Controller.php(90): IPS\nexus\modules\admin\support\_settings->__call('form', Array) #10 /home/myaccount/public_html/system/Dispatcher/Dispatcher.php(153): IPS\Dispatcher\_Controller->execute() #11 /home/myaccount/public_html/admin/index.php(13): IPS\_Dispatcher->run() #12 {main} Thanks. Link to the original post in the community:Â Â Link to comment Share on other sites More sharing options...
Marc Stridgen Posted June 7, 2022 Share Posted June 7, 2022 Please let us know the actions that stock action performs. I cannot replicate any issues on a standard stock action I have set up here Link to comment Share on other sites More sharing options...
DawPi Posted June 7, 2022 Share Posted June 7, 2022 1 hour ago, Giray said: IPS\Node\radtags_hook_C_NodeModel->saveForm(Array) Maybe it's related to 3rd party addon? 🙂 Link to comment Share on other sites More sharing options...
Marc Stridgen Posted June 7, 2022 Share Posted June 7, 2022 3 minutes ago, DawPi said: Maybe it's related to 3rd party addon? 🙂 Could be, but they have disabled in the original post, and posted another message 🙂 Link to comment Share on other sites More sharing options...
Recommended Posts