InvalidArgumentException: Attempted to convert object to integer [alerted_user_id]

dethfire

Member
Reactions
14
  • InvalidArgumentException: Attempted to convert object to integer [alerted_user_id]
  • src/XF/Mvc/Entity/Entity.php:740
  • Aug 29, 2019 at 7:02 AM
Stack trace
#0 src/XF/Mvc/Entity/Entity.php(618): XF\Mvc\Entity\Entity->_castValueToType(Object(SV\ElasticSearchEssentials\XF\Entity\User), 'alerted_user_id', 2, Array)
#1 src/XF/Mvc/Entity/Entity.php(548): XF\Mvc\Entity\Entity->set('alerted_user_id', Object(SV\ElasticSearchEssentials\XF\Entity\User))
#2 src/XF/Repository/UserAlert.php(133): XF\Mvc\Entity\Entity->__set('alerted_user_id', Object(SV\ElasticSearchEssentials\XF\Entity\User))
#3 src/addons/SV/WatchThreadsFilter/XF/Notifier/Post/ForumWatch.php(35): XF\Repository\UserAlert->insertAlert(Object(SV\ElasticSearchEssentials\XF\Entity\User), 517161, 'microsansfil', 'post', 6226586, 'insert', Array)
#4 src/addons/SV/WatchThreadsFilter/XF/Notifier/Post/ForumWatch.php(22): SV\WatchThreadsFilter\XF\Notifier\Post\ForumWatch->forceBasicAlert(Object(SV\ElasticSearchEssentials\XF\Entity\User), 517161, 'microsansfil', 'post', 6226586, 'insert')
#5 src/XF/Service/AbstractNotifier.php(86): SV\WatchThreadsFilter\XF\Notifier\Post\ForumWatch->sendAlert(Object(SV\ElasticSearchEssentials\XF\Entity\User))
#6 src/XF/Service/AbstractNotifier.php(44): XF\Service\AbstractNotifier->notifyType(Object(SV\WatchThreadsFilter\XF\Notifier\Post\ForumWatch), Array, G)
#7 src/XF/Service/AbstractNotifier.php(56): XF\Service\AbstractNotifier->notify(3)
#8 src/XF/Service/Thread/Creator.php(328): XF\Service\AbstractNotifier->notifyAndEnqueue(3)
#9 src/addons/SV/ReportCentreEssentials/XF/Service/Thread/Creator.php(31): XF\Service\Thread\Creator->sendNotifications()
#10 src/XF/Pub/Controller/Forum.php(593): SV\ReportCentreEssentials\XF\Service\Thread\Creator->sendNotifications()
#11 src/XF/Pub/Controller/Forum.php(751): XF\Pub\Controller\Forum->finalizeThreadCreate(Object(SV\SignupAbuseBlocking\XF\Service\Thread\Creator))
#12 src/addons/SV/ElasticSearchEssentials/XF/Pub/Controller/Forum.php(55): XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#13 src/XF/Mvc/Dispatcher.php(321): SV\ElasticSearchEssentials\XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#14 src/XF/Mvc/Dispatcher.php(244): XF\Mvc\Dispatcher->dispatchClass('XF:Forum', 'PostThread', Object(XF\Mvc\RouteMatch), Object(SV\RedisCache\XF\Pub\Controller\Forum), NULL)
#15 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\RedisCache\XF\Pub\Controller\Forum), NULL)
#16 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#17 src/XF/App.php(2178): XF\Mvc\Dispatcher->run()
#18 src/XF.php(390): XF\App->run()
#19 index.php(20): XF::runApp('XF\\Pub\\App')
#20 {main}
 

Users who are viewing this thread

Back
Top