- ErrorException: [E_WARNING] Attempt to read property "user_id" on null
- src/addons/SV/WarningImprovements/XF/ControllerPlugin/Warn.php:86
- Generated by: xxx
- Feb 15, 2022 at 4:06 PM
Stack trace
#0 src/addons/SV/WarningImprovements/XF/ControllerPlugin/Warn.php(86): XF::handlePhpError(2, '[E_WARNING] Att...', '/home2/sd/publi...', 86)
#1 src/XF/Pub/Controller/Member.php(1167): SV\WarningImprovements\XF\ControllerPlugin\Warn->actionWarn('user', Object(SV\SignupAbuseBlocking\XF\Entity\User), '/members/test_u...')
#2 src/XF/Mvc/Dispatcher.php(352): XF\Pub\Controller\Member->actionWarn(Object(XF\Mvc\ParameterBag))
#3 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Member', 'Warn', Object(XF\Mvc\RouteMatch), Object(SV\SignupAbuseBlocking\XF\Pub\Controller\Member), NULL)
#4 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\SignupAbuseBlocking\XF\Pub\Controller\Member), NULL)
#5 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#6 src/XF/App.php(2351): XF\Mvc\Dispatcher->run()
#7 src/XF.php(517): XF\App->run()
#8 index.php(20): XF::runApp('XF\\Pub\\App')
#9 {main}
Request state
array(4) {
["url"] => string(28) "/members/test_user.3406/warn"
["referrer"] => string(66) "
https://www.xxx.co.uk/members/test_user.3406/warn"
["_GET"] => array(0) {
}
["_POST"] => array(19) {
["_xfToken"] => string(8) "********"
["warning_definition_id"] => string(1) "0"
["custom_title"] => string(0) ""
["points_enable"] => string(1) "1"
["points"] => string(1) "1"
["expiry_enable"] => string(1) "1"
["expiry_value"] => string(1) "1"
["expiry_unit"] => string(6) "months"
["notes"] => string(0) ""
["conversation_title"] => string(0) ""
["conversation_message"] => string(0) ""
["conversation_locked"] => string(1) "1"
["send_warning_alert"] => string(1) "1"
["_xfRedirect"] => string(62) "
https://www.xxx.co.uk/members/test_user.3406/"
["filled_warning_definition_id"] => string(1) "0"
["fill"] => string(1) "1"
["_xfRequestUri"] => string(28) "/members/test_user.3406/warn"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}