Server error log
ErrorException: [E_NOTICE] Array to string conversion src/XF/Entity/UserOption.php:33
Generated by: cjcalda Feb 16, 2019 at 12:53 AM
Stack trace
#0 src/XF/Entity/UserOption.php(33): XF::handlePhpError(8, '[E_NOTICE] Arra...', '/home/nginx/dom...', 33, Array)
#1 src/XF/Repository/UserAlert.php(53): XF\Entity\UserOption->doesReceiveAlert('post', Array)
#2 src/XF/Repository/UserAlert.php(106): XF\Repository\UserAlert->userReceivesAlert(Object(Datio\AllowedEmails\XF\Entity\User), 491362, 'post', Array)
#3 src/XF/Notifier/AbstractNotifier.php(55): XF\Repository\UserAlert->alert(Object(Datio\AllowedEmails\XF\Entity\User), 491362, 'cjcalda', 'post', 11624064, Array, Array)
#4 src/addons/Truonglv/FollowingAlerts/Notifier/Follower.php(55): XF\Notifier\AbstractNotifier->basicAlert(Object(Datio\AllowedEmails\XF\Entity\User), 491362, 'cjcalda', 'post', 11624064, Array, Array)
#5 src/XF/Service/AbstractNotifier.php(86): Truonglv\FollowingAlerts\Notifier\Follower->sendAlert(Object(Datio\AllowedEmails\XF\Entity\User))
#6 src/XF/Service/AbstractNotifier.php(44): XF\Service\AbstractNotifier->notifyType(Object(Truonglv\FollowingAlerts\Notifier\Follower), Array, G)
#7 src/XF/Service/AbstractNotifier.php(56): XF\Service\AbstractNotifier->notify(3)
#8 src/XF/Service/Thread/Replier.php(205): XF\Service\AbstractNotifier->notifyAndEnqueue(3)
#9 src/XF/Pub/Controller/Thread.php(330): XF\Service\Thread\Replier->sendNotifications()
#10 src/addons/Snog/Groups/XF/Pub/Controller/Thread.php(34): XF\Pub\Controller\Thread->finalizeThreadReply(Object(XF\Service\Thread\Replier))
#11 src/XF/Pub/Controller/Thread.php(463): Snog\Groups\XF\Pub\Controller\Thread->finalizeThreadReply(Object(XF\Service\Thread\Replier))
#12 src/addons/Snog/ForceSecure/XF/Pub/Controller/Thread.php(17): XF\Pub\Controller\Thread->actionAddReply(Object(XF\Mvc\ParameterBag))
#13 src/XF/Mvc/Dispatcher.php(321): Snog\ForceSecure\XF\Pub\Controller\Thread->actionAddReply(Object(XF\Mvc\ParameterBag))
#14 src/XF/Mvc/Dispatcher.php(244): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'AddReply', Object(XF\Mvc\RouteMatch), Object(SV\MultiPrefix\XF\Pub\Controller\Thread), NULL)
#15 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\MultiPrefix\XF\Pub\Controller\Thread), NULL)
#16 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#17 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#18 src/XF.php(390): XF\App->run()
#19 index.php(20): XF::runApp('XF\\Pub\\App')
#20 {main}
Request state
array(4) {
["url"] => string(25) "/threads/682655/add-reply"
["referrer"] => string(47) "https://www.site.com/threads/682655/page-20"
["_GET"] => array(1) {
["/threads/682655/add-reply"] => string(0) ""
}
["_POST"] => array(9) {
["message_html"] => string(213) "<p>[QUOTE="ARCHIEEEEEE05, post: 11624054, member: 1406048"]</p><p>Any files po ba kahit saan or kahit sa document nalang din?</p><p>[/QUOTE]</p><p>Nasa post kona lahat ng information 😊 anu po ba yung kulang</p>"
["attachment_hash"] => string(32) "6b5d585b5a769fc50a3949badbb4428b"
["attachment_hash_combined"] => string(88) "{"type":"post","context":{"thread_id":682655},"hash":"6b5d585b5a769fc50a3949badbb4428b"}"
["last_date"] => string(10) "1550249494"
["last_known_date"] => string(10) "1550249494"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(23) "/threads/682655/page-20"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
Server error log
InvalidArgumentException: Attempted to convert array to string/binary [action] src/XF/Mvc/Entity/Entity.php:740
Generated by: cjcalda Feb 16, 2019 at 12:53 AM
Stack trace
#0 src/XF/Mvc/Entity/Entity.php(618): XF\Mvc\Entity\Entity->_castValueToType(Array, 'action', 5, Array)
#1 src/XF/Mvc/Entity/Entity.php(548): XF\Mvc\Entity\Entity->set('action', Array)
#2 src/XF/Repository/UserAlert.php(138): XF\Mvc\Entity\Entity->__set('action', Array)
#3 src/XF/Repository/UserAlert.php(111): XF\Repository\UserAlert->insertAlert(257211, 491362, 'cjcalda', 'post', 11624064, Array, Array)
#4 src/XF/Notifier/AbstractNotifier.php(55): XF\Repository\UserAlert->alert(Object(Datio\AllowedEmails\XF\Entity\User), 491362, 'cjcalda', 'post', 11624064, Array, Array)
#5 src/addons/Truonglv/FollowingAlerts/Notifier/Follower.php(55): XF\Notifier\AbstractNotifier->basicAlert(Object(Datio\AllowedEmails\XF\Entity\User), 491362, 'cjcalda', 'post', 11624064, Array, Array)
#6 src/XF/Service/AbstractNotifier.php(86): Truonglv\FollowingAlerts\Notifier\Follower->sendAlert(Object(Datio\AllowedEmails\XF\Entity\User))
#7 src/XF/Service/AbstractNotifier.php(44): XF\Service\AbstractNotifier->notifyType(Object(Truonglv\FollowingAlerts\Notifier\Follower), Array, G)
#8 src/XF/Service/AbstractNotifier.php(56): XF\Service\AbstractNotifier->notify(3)
#9 src/XF/Service/Thread/Replier.php(205): XF\Service\AbstractNotifier->notifyAndEnqueue(3)
#10 src/XF/Pub/Controller/Thread.php(330): XF\Service\Thread\Replier->sendNotifications()
#11 src/addons/Snog/Groups/XF/Pub/Controller/Thread.php(34): XF\Pub\Controller\Thread->finalizeThreadReply(Object(XF\Service\Thread\Replier))
#12 src/XF/Pub/Controller/Thread.php(463): Snog\Groups\XF\Pub\Controller\Thread->finalizeThreadReply(Object(XF\Service\Thread\Replier))
#13 src/addons/Snog/ForceSecure/XF/Pub/Controller/Thread.php(17): XF\Pub\Controller\Thread->actionAddReply(Object(XF\Mvc\ParameterBag))
#14 src/XF/Mvc/Dispatcher.php(321): Snog\ForceSecure\XF\Pub\Controller\Thread->actionAddReply(Object(XF\Mvc\ParameterBag))
#15 src/XF/Mvc/Dispatcher.php(244): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'AddReply', Object(XF\Mvc\RouteMatch), Object(SV\MultiPrefix\XF\Pub\Controller\Thread), NULL)
#16 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\MultiPrefix\XF\Pub\Controller\Thread), NULL)
#17 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#18 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#19 src/XF.php(390): XF\App->run()
#20 index.php(20): XF::runApp('XF\\Pub\\App')
#21 {main}
-------------
Previous InvalidArgumentException: Attempted to convert array to string/binary - src/XF/Mvc/Entity/ValueFormatter.php:130
#0 src/XF/Mvc/Entity/Entity.php(736): XF\Mvc\Entity\ValueFormatter->castValueToType(Array, 5, Array)
#1 src/XF/Mvc/Entity/Entity.php(618): XF\Mvc\Entity\Entity->_castValueToType(Array, 'action', 5, Array)
#2 src/XF/Mvc/Entity/Entity.php(548): XF\Mvc\Entity\Entity->set('action', Array)
#3 src/XF/Repository/UserAlert.php(138): XF\Mvc\Entity\Entity->__set('action', Array)
#4 src/XF/Repository/UserAlert.php(111): XF\Repository\UserAlert->insertAlert(257211, 491362, 'cjcalda', 'post', 11624064, Array, Array)
#5 src/XF/Notifier/AbstractNotifier.php(55): XF\Repository\UserAlert->alert(Object(Datio\AllowedEmails\XF\Entity\User), 491362, 'cjcalda', 'post', 11624064, Array, Array)
#6 src/addons/Truonglv/FollowingAlerts/Notifier/Follower.php(55): XF\Notifier\AbstractNotifier->basicAlert(Object(Datio\AllowedEmails\XF\Entity\User), 491362, 'cjcalda', 'post', 11624064, Array, Array)
#7 src/XF/Service/AbstractNotifier.php(86): Truonglv\FollowingAlerts\Notifier\Follower->sendAlert(Object(Datio\AllowedEmails\XF\Entity\User))
#8 src/XF/Service/AbstractNotifier.php(44): XF\Service\AbstractNotifier->notifyType(Object(Truonglv\FollowingAlerts\Notifier\Follower), Array, G)
#9 src/XF/Service/AbstractNotifier.php(56): XF\Service\AbstractNotifier->notify(3)
#10 src/XF/Service/Thread/Replier.php(205): XF\Service\AbstractNotifier->notifyAndEnqueue(3)
#11 src/XF/Pub/Controller/Thread.php(330): XF\Service\Thread\Replier->sendNotifications()
#12 src/addons/Snog/Groups/XF/Pub/Controller/Thread.php(34): XF\Pub\Controller\Thread->finalizeThreadReply(Object(XF\Service\Thread\Replier))
#13 src/XF/Pub/Controller/Thread.php(463): Snog\Groups\XF\Pub\Controller\Thread->finalizeThreadReply(Object(XF\Service\Thread\Replier))
#14 src/addons/Snog/ForceSecure/XF/Pub/Controller/Thread.php(17): XF\Pub\Controller\Thread->actionAddReply(Object(XF\Mvc\ParameterBag))
#15 src/XF/Mvc/Dispatcher.php(321): Snog\ForceSecure\XF\Pub\Controller\Thread->actionAddReply(Object(XF\Mvc\ParameterBag))
#16 src/XF/Mvc/Dispatcher.php(244): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'AddReply', Object(XF\Mvc\RouteMatch), Object(SV\MultiPrefix\XF\Pub\Controller\Thread), NULL)
#17 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\MultiPrefix\XF\Pub\Controller\Thread), NULL)
#18 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#19 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#20 src/XF.php(390): XF\App->run()
#21 index.php(20): XF::runApp('XF\\Pub\\App')
#22 {main}
Request state
array(4) {
["url"] => string(25) "/threads/682655/add-reply"
["referrer"] => string(47) "https://www.site.com/threads/682655/page-20"
["_GET"] => array(1) {
["/threads/682655/add-reply"] => string(0) ""
}
["_POST"] => array(9) {
["message_html"] => string(213) "<p>[QUOTE="ARCHIEEEEEE05, post: 11624054, member: 1406048"]</p><p>Any files po ba kahit saan or kahit sa document nalang din?</p><p>[/QUOTE]</p><p>Nasa post kona lahat ng information 😊 anu po ba yung kulang</p>"
["attachment_hash"] => string(32) "6b5d585b5a769fc50a3949badbb4428b"
["attachment_hash_combined"] => string(88) "{"type":"post","context":{"thread_id":682655},"hash":"6b5d585b5a769fc50a3949badbb4428b"}"
["last_date"] => string(10) "1550249494"
["last_known_date"] => string(10) "1550249494"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(23) "/threads/682655/page-20"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}