[Andrew] Moderator Panel

[Andrew] Moderator Panel 2.0.8

No permission to download
Gettin this error
User status: banned

Code:
InvalidArgumentException: Attempted to convert NULL to string/binary [andrew_reg_country] src/XF/Mvc/Entity/Entity.php:775
Generated by:  Apr 9, 2024 at 5:13 AM
Stack trace
#0 src/XF/Mvc/Entity/Entity.php(697): XF\Mvc\Entity\Entity->_castValueToType(NULL, 'andrew_reg_coun...', 5, Array)
#1 src/addons/NF/Tickets/ControllerPlugin/Ticket.php(64): XF\Mvc\Entity\Entity->setTrusted('andrew_reg_coun...', NULL)
#2 src/addons/NF/Tickets/Pub/Controller/AbstractTicketController.php(23): NF\Tickets\ControllerPlugin\Ticket->preDispatchForTicket(false, 'Index', Object(XF\Mvc\ParameterBag))
#3 src/XF/Mvc/Controller.php(126): NF\Tickets\Pub\Controller\AbstractTicketController->preDispatchType('Index', Object(XF\Mvc\ParameterBag))
#4 src/XF/Mvc/Dispatcher.php(351): XF\Mvc\Controller->preDispatch('Index', Object(XF\Mvc\ParameterBag))
#5 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('NF\\Tickets:Tick...', 'Index', Object(XF\Mvc\RouteMatch), Object(NF\Tickets\Pub\Controller\Ticket), NULL)
#6 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(NF\Tickets\Pub\Controller\Ticket), NULL)
#7 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#8 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#9 src/XF.php(524): XF\App->run()
#10 index.php(20): XF::runApp('XF\\Pub\\App')
#11 {main}

-------------

Previous InvalidArgumentException: Attempted to convert NULL to string/binary - src/XF/Mvc/Entity/ValueFormatter.php:138
#0 src/XF/Mvc/Entity/Entity.php(771): XF\Mvc\Entity\ValueFormatter->castValueToType(NULL, 5, Array)
#1 src/XF/Mvc/Entity/Entity.php(697): XF\Mvc\Entity\Entity->_castValueToType(NULL, 'andrew_reg_coun...', 5, Array)
#2 src/addons/NF/Tickets/ControllerPlugin/Ticket.php(64): XF\Mvc\Entity\Entity->setTrusted('andrew_reg_coun...', NULL)
#3 src/addons/NF/Tickets/Pub/Controller/AbstractTicketController.php(23): NF\Tickets\ControllerPlugin\Ticket->preDispatchForTicket(false, 'Index', Object(XF\Mvc\ParameterBag))
#4 src/XF/Mvc/Controller.php(126): NF\Tickets\Pub\Controller\AbstractTicketController->preDispatchType('Index', Object(XF\Mvc\ParameterBag))
#5 src/XF/Mvc/Dispatcher.php(351): XF\Mvc\Controller->preDispatch('Index', Object(XF\Mvc\ParameterBag))
#6 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('NF\\Tickets:Tick...', 'Index', Object(XF\Mvc\RouteMatch), Object(NF\Tickets\Pub\Controller\Ticket), NULL)
#7 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(NF\Tickets\Pub\Controller\Ticket), NULL)
#8 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#9 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#10 src/XF.php(524): XF\App->run()
#11 index.php(20): XF::runApp('XF\\Pub\\App')
#12 {main}
 
Gettin this error
User status: banned

Code:
InvalidArgumentException: Attempted to convert NULL to string/binary [andrew_reg_country] src/XF/Mvc/Entity/Entity.php:775
Generated by:  Apr 9, 2024 at 5:13 AM
Stack trace
#0 src/XF/Mvc/Entity/Entity.php(697): XF\Mvc\Entity\Entity->_castValueToType(NULL, 'andrew_reg_coun...', 5, Array)
#1 src/addons/NF/Tickets/ControllerPlugin/Ticket.php(64): XF\Mvc\Entity\Entity->setTrusted('andrew_reg_coun...', NULL)
#2 src/addons/NF/Tickets/Pub/Controller/AbstractTicketController.php(23): NF\Tickets\ControllerPlugin\Ticket->preDispatchForTicket(false, 'Index', Object(XF\Mvc\ParameterBag))
#3 src/XF/Mvc/Controller.php(126): NF\Tickets\Pub\Controller\AbstractTicketController->preDispatchType('Index', Object(XF\Mvc\ParameterBag))
#4 src/XF/Mvc/Dispatcher.php(351): XF\Mvc\Controller->preDispatch('Index', Object(XF\Mvc\ParameterBag))
#5 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('NF\\Tickets:Tick...', 'Index', Object(XF\Mvc\RouteMatch), Object(NF\Tickets\Pub\Controller\Ticket), NULL)
#6 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(NF\Tickets\Pub\Controller\Ticket), NULL)
#7 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#8 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#9 src/XF.php(524): XF\App->run()
#10 index.php(20): XF::runApp('XF\\Pub\\App')
#11 {main}

-------------

Previous InvalidArgumentException: Attempted to convert NULL to string/binary - src/XF/Mvc/Entity/ValueFormatter.php:138
#0 src/XF/Mvc/Entity/Entity.php(771): XF\Mvc\Entity\ValueFormatter->castValueToType(NULL, 5, Array)
#1 src/XF/Mvc/Entity/Entity.php(697): XF\Mvc\Entity\Entity->_castValueToType(NULL, 'andrew_reg_coun...', 5, Array)
#2 src/addons/NF/Tickets/ControllerPlugin/Ticket.php(64): XF\Mvc\Entity\Entity->setTrusted('andrew_reg_coun...', NULL)
#3 src/addons/NF/Tickets/Pub/Controller/AbstractTicketController.php(23): NF\Tickets\ControllerPlugin\Ticket->preDispatchForTicket(false, 'Index', Object(XF\Mvc\ParameterBag))
#4 src/XF/Mvc/Controller.php(126): NF\Tickets\Pub\Controller\AbstractTicketController->preDispatchType('Index', Object(XF\Mvc\ParameterBag))
#5 src/XF/Mvc/Dispatcher.php(351): XF\Mvc\Controller->preDispatch('Index', Object(XF\Mvc\ParameterBag))
#6 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('NF\\Tickets:Tick...', 'Index', Object(XF\Mvc\RouteMatch), Object(NF\Tickets\Pub\Controller\Ticket), NULL)
#7 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(NF\Tickets\Pub\Controller\Ticket), NULL)
#8 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#9 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#10 src/XF.php(524): XF\App->run()
#11 index.php(20): XF::runApp('XF\\Pub\\App')
#12 {main}
What version are you running?
 
Can you described what was going on when this error occurred? I see the user is banned. Did this message occur when the user was banned?
 
Not sure what the user was trying to do at the time but he was already banned when this error was triggered.
 
Not sure what the user was trying to do at the time but he was already banned when this error was triggered.
Do you already show a value for the users registration country or were they registered before you updated the add-on to capture country? Do they show a registered country now?
 
Do you already show a value for the users registration country or were they registered before you updated the add-on to capture country? Do they show a registered country now?

We show flag of user's country based on what they choose upon registration. The user in question joined way before we installed the add-on.

Screenshot 2024-04-14 195020.webp
 
And this error has only occurred once and only on this one user?
I actually saw a few like 3 or 4 but didn't bother to go over them one by one since they were the same error. They do rarely appear tho. I happened to delete the log 😅 otherwise I would have posted them all here for you to take a look.
 
Not sure what the issue is as there aren't any errors, but the panel does not show up after being installed.
Uninstalled, re-installed, nothing.
www.site.com/forums is our base URL, tried /forums/moderatorpanel and just /moderatorpanel
/moderatorpanel just throws the normal apache 404 error and the /forums/moderatorpanel shows "oops something went wrong"
 
Not sure what the issue is as there aren't any errors, but the panel does not show up after being installed.
Uninstalled, re-installed, nothing.
www.site.com/forums is our base URL, tried /forums/moderatorpanel and just /moderatorpanel
/moderatorpanel just throws the normal apache 404 error and the /forums/moderatorpanel shows "oops something went wrong"
Did you set the permissions on the user groups?
 
Here is another error, it seems to be the same as the previous ones, It happened somewhat 20 mins after the user was banned. It seems to be triggered by a cron job.


Code:
InvalidArgumentException: Attempted to convert NULL to string/binary [andrew_reg_country] src/XF/Mvc/Entity/Entity.php:775
Generated by:   Apr 23, 2024 at 2:23 PM
Stack trace
#0 src/XF/Mvc/Entity/Entity.php(697): XF\Mvc\Entity\Entity->_castValueToType(NULL, 'andrew_reg_coun...', 5, Array)
#1 src/addons/NF/Tickets/ControllerPlugin/Ticket.php(64): XF\Mvc\Entity\Entity->setTrusted('andrew_reg_coun...', NULL)
#2 src/addons/NF/Tickets/Pub/Controller/AbstractTicketController.php(23): NF\Tickets\ControllerPlugin\Ticket->preDispatchForTicket(false, 'Index', Object(XF\Mvc\ParameterBag))
#3 src/XF/Mvc/Controller.php(126): NF\Tickets\Pub\Controller\AbstractTicketController->preDispatchType('Index', Object(XF\Mvc\ParameterBag))
#4 src/XF/Mvc/Dispatcher.php(351): XF\Mvc\Controller->preDispatch('Index', Object(XF\Mvc\ParameterBag))
#5 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('NF\\Tickets:Tick...', 'Index', Object(XF\Mvc\RouteMatch), Object(NF\Tickets\Pub\Controller\Ticket), NULL)
#6 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(NF\Tickets\Pub\Controller\Ticket), NULL)
#7 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#8 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#9 src/XF.php(524): XF\App->run()
#10 index.php(20): XF::runApp('XF\\Pub\\App')
#11 {main}

-------------

Previous InvalidArgumentException: Attempted to convert NULL to string/binary - src/XF/Mvc/Entity/ValueFormatter.php:138
#0 src/XF/Mvc/Entity/Entity.php(771): XF\Mvc\Entity\ValueFormatter->castValueToType(NULL, 5, Array)
#1 src/XF/Mvc/Entity/Entity.php(697): XF\Mvc\Entity\Entity->_castValueToType(NULL, 'andrew_reg_coun...', 5, Array)
#2 src/addons/NF/Tickets/ControllerPlugin/Ticket.php(64): XF\Mvc\Entity\Entity->setTrusted('andrew_reg_coun...', NULL)
#3 src/addons/NF/Tickets/Pub/Controller/AbstractTicketController.php(23): NF\Tickets\ControllerPlugin\Ticket->preDispatchForTicket(false, 'Index', Object(XF\Mvc\ParameterBag))
#4 src/XF/Mvc/Controller.php(126): NF\Tickets\Pub\Controller\AbstractTicketController->preDispatchType('Index', Object(XF\Mvc\ParameterBag))
#5 src/XF/Mvc/Dispatcher.php(351): XF\Mvc\Controller->preDispatch('Index', Object(XF\Mvc\ParameterBag))
#6 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('NF\\Tickets:Tick...', 'Index', Object(XF\Mvc\RouteMatch), Object(NF\Tickets\Pub\Controller\Ticket), NULL)
#7 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(NF\Tickets\Pub\Controller\Ticket), NULL)
#8 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#9 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#10 src/XF.php(524): XF\App->run()
#11 index.php(20): XF::runApp('XF\\Pub\\App')
#12 {main}
 
Here is another error, it seems to be the same as the previous ones, It happened somewhat 20 mins after the user was banned. It seems to be triggered by a cron job.


Code:
InvalidArgumentException: Attempted to convert NULL to string/binary [andrew_reg_country] src/XF/Mvc/Entity/Entity.php:775
Generated by:   Apr 23, 2024 at 2:23 PM
Stack trace
#0 src/XF/Mvc/Entity/Entity.php(697): XF\Mvc\Entity\Entity->_castValueToType(NULL, 'andrew_reg_coun...', 5, Array)
#1 src/addons/NF/Tickets/ControllerPlugin/Ticket.php(64): XF\Mvc\Entity\Entity->setTrusted('andrew_reg_coun...', NULL)
#2 src/addons/NF/Tickets/Pub/Controller/AbstractTicketController.php(23): NF\Tickets\ControllerPlugin\Ticket->preDispatchForTicket(false, 'Index', Object(XF\Mvc\ParameterBag))
#3 src/XF/Mvc/Controller.php(126): NF\Tickets\Pub\Controller\AbstractTicketController->preDispatchType('Index', Object(XF\Mvc\ParameterBag))
#4 src/XF/Mvc/Dispatcher.php(351): XF\Mvc\Controller->preDispatch('Index', Object(XF\Mvc\ParameterBag))
#5 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('NF\\Tickets:Tick...', 'Index', Object(XF\Mvc\RouteMatch), Object(NF\Tickets\Pub\Controller\Ticket), NULL)
#6 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(NF\Tickets\Pub\Controller\Ticket), NULL)
#7 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#8 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#9 src/XF.php(524): XF\App->run()
#10 index.php(20): XF::runApp('XF\\Pub\\App')
#11 {main}

-------------

Previous InvalidArgumentException: Attempted to convert NULL to string/binary - src/XF/Mvc/Entity/ValueFormatter.php:138
#0 src/XF/Mvc/Entity/Entity.php(771): XF\Mvc\Entity\ValueFormatter->castValueToType(NULL, 5, Array)
#1 src/XF/Mvc/Entity/Entity.php(697): XF\Mvc\Entity\Entity->_castValueToType(NULL, 'andrew_reg_coun...', 5, Array)
#2 src/addons/NF/Tickets/ControllerPlugin/Ticket.php(64): XF\Mvc\Entity\Entity->setTrusted('andrew_reg_coun...', NULL)
#3 src/addons/NF/Tickets/Pub/Controller/AbstractTicketController.php(23): NF\Tickets\ControllerPlugin\Ticket->preDispatchForTicket(false, 'Index', Object(XF\Mvc\ParameterBag))
#4 src/XF/Mvc/Controller.php(126): NF\Tickets\Pub\Controller\AbstractTicketController->preDispatchType('Index', Object(XF\Mvc\ParameterBag))
#5 src/XF/Mvc/Dispatcher.php(351): XF\Mvc\Controller->preDispatch('Index', Object(XF\Mvc\ParameterBag))
#6 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('NF\\Tickets:Tick...', 'Index', Object(XF\Mvc\RouteMatch), Object(NF\Tickets\Pub\Controller\Ticket), NULL)
#7 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(NF\Tickets\Pub\Controller\Ticket), NULL)
#8 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#9 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#10 src/XF.php(524): XF\App->run()
#11 index.php(20): XF::runApp('XF\\Pub\\App')
#12 {main}
Thanks for this. I am still trying to understand why this error is appearing, especially at the times you receive it. Are you having users register without producing the error?
 
Back
Top Bottom