Nirjonadda
Customer
I am getting Server error logs .
ErrorException: [E_NOTICE] Undefined property: DBTech\Credits\XF\Repository\Poll::$content_type src/addons/DBTech/Credits/XF/Repository/Poll.php:59
Generated by: Naughty Boy Dec 2, 2017 at 11:34 PM
Stack trace
#0 src/addons/DBTech/Credits/XF/Repository/Poll.php(59): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/home/nadda/pub...', 59, Array)
#1 src/XF/Service/Poll/Voter.php(62): DBTech\Credits\XF\Repository\Poll->voteOnPoll(Object(DBTech\Credits\XF\Entity\Poll), Array)
#2 src/XF/Service/ValidateAndSavableTrait.php(40): XF\Service\Poll\Voter->_save()
#3 src/XF/ControllerPlugin/Poll.php(224): XF\Service\Poll\Voter->save()
#4 src/XF/Pub/Controller/Thread.php(805): XF\ControllerPlugin\Poll->actionVote(Object(DBTech\Credits\XF\Entity\Poll), Array)
#5 src/XF/Mvc/Dispatcher.php(249): XF\Pub\Controller\Thread->actionPollVote(Object(XF\Mvc\ParameterBag))
#6 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'PollVote', 'json', Object(XF\Mvc\ParameterBag), 'forums', Object(XFMG\XF\Pub\Controller\Thread), NULL)
#7 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#8 src/XF/App.php(1879): XF\Mvc\Dispatcher->run()
#9 src/XF.php(328): XF\App->run()
#10 index.php(13): XF::runApp('XF\\Pub\\App')
#11 {main}
Request state
array(4) {
["url"] => string(73) "/threads/who-will-be-member-of-the-month-in-october-2017.192594/poll/vote"
["referrer"] => string(90) "/threads/who-will-be-member-of-the-month-in-october-2017.192594/"
["_GET"] => array(0) {
}
["_POST"] => array(6) {
["responses"] => array(1) {
[0] => string(4) "1212"
}
["simple_display"] => string(0) ""
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(64) "/threads/who-will-be-member-of-the-month-in-october-2017.192594/"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
-------------------------------
Error: Call to undefined method DBTech\Credits\XF\Entity\Poll::getContainer() src/addons/DBTech/Credits/XF/Entity/Poll.php:62
Generated by: Naughty Boy Dec 2, 2017 at 11:34 PM
Stack trace
#0 src/XF/Mvc/Entity/Entity.php(1137): DBTech\Credits\XF\Entity\Poll->_postSave()
#1 src/XF/Repository/Poll.php(84): XF\Mvc\Entity\Entity->save()
#2 src/addons/DBTech/Credits/XF/Repository/Poll.php(93): XF\Repository\Poll->voteOnPoll(Object(DBTech\Credits\XF\Entity\Poll), Array, Object(DBTech\Security\XF\Entity\User))
#3 src/XF/Service/Poll/Voter.php(62): DBTech\Credits\XF\Repository\Poll->voteOnPoll(Object(DBTech\Credits\XF\Entity\Poll), Array)
#4 src/XF/Service/ValidateAndSavableTrait.php(40): XF\Service\Poll\Voter->_save()
#5 src/XF/ControllerPlugin/Poll.php(224): XF\Service\Poll\Voter->save()
#6 src/XF/Pub/Controller/Thread.php(805): XF\ControllerPlugin\Poll->actionVote(Object(DBTech\Credits\XF\Entity\Poll), Array)
#7 src/XF/Mvc/Dispatcher.php(249): XF\Pub\Controller\Thread->actionPollVote(Object(XF\Mvc\ParameterBag))
#8 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'PollVote', 'json', Object(XF\Mvc\ParameterBag), 'forums', Object(XFMG\XF\Pub\Controller\Thread), NULL)
#9 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#10 src/XF/App.php(1879): XF\Mvc\Dispatcher->run()
#11 src/XF.php(328): XF\App->run()
#12 index.php(13): XF::runApp('XF\\Pub\\App')
#13 {main}
Request state
array(4) {
["url"] => string(73) "/threads/who-will-be-member-of-the-month-in-october-2017.192594/poll/vote"
["referrer"] => string(90) "/threads/who-will-be-member-of-the-month-in-october-2017.192594/"
["_GET"] => array(0) {
}
["_POST"] => array(6) {
["responses"] => array(1) {
[0] => string(4) "1212"
}
["simple_display"] => string(0) ""
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(64) "/threads/who-will-be-member-of-the-month-in-october-2017.192594/"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
ErrorException: [E_NOTICE] Undefined property: DBTech\Credits\XF\Repository\Poll::$content_type src/addons/DBTech/Credits/XF/Repository/Poll.php:59
Generated by: Naughty Boy Dec 2, 2017 at 11:34 PM
Stack trace
#0 src/addons/DBTech/Credits/XF/Repository/Poll.php(59): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/home/nadda/pub...', 59, Array)
#1 src/XF/Service/Poll/Voter.php(62): DBTech\Credits\XF\Repository\Poll->voteOnPoll(Object(DBTech\Credits\XF\Entity\Poll), Array)
#2 src/XF/Service/ValidateAndSavableTrait.php(40): XF\Service\Poll\Voter->_save()
#3 src/XF/ControllerPlugin/Poll.php(224): XF\Service\Poll\Voter->save()
#4 src/XF/Pub/Controller/Thread.php(805): XF\ControllerPlugin\Poll->actionVote(Object(DBTech\Credits\XF\Entity\Poll), Array)
#5 src/XF/Mvc/Dispatcher.php(249): XF\Pub\Controller\Thread->actionPollVote(Object(XF\Mvc\ParameterBag))
#6 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'PollVote', 'json', Object(XF\Mvc\ParameterBag), 'forums', Object(XFMG\XF\Pub\Controller\Thread), NULL)
#7 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#8 src/XF/App.php(1879): XF\Mvc\Dispatcher->run()
#9 src/XF.php(328): XF\App->run()
#10 index.php(13): XF::runApp('XF\\Pub\\App')
#11 {main}
Request state
array(4) {
["url"] => string(73) "/threads/who-will-be-member-of-the-month-in-october-2017.192594/poll/vote"
["referrer"] => string(90) "/threads/who-will-be-member-of-the-month-in-october-2017.192594/"
["_GET"] => array(0) {
}
["_POST"] => array(6) {
["responses"] => array(1) {
[0] => string(4) "1212"
}
["simple_display"] => string(0) ""
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(64) "/threads/who-will-be-member-of-the-month-in-october-2017.192594/"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
-------------------------------
Error: Call to undefined method DBTech\Credits\XF\Entity\Poll::getContainer() src/addons/DBTech/Credits/XF/Entity/Poll.php:62
Generated by: Naughty Boy Dec 2, 2017 at 11:34 PM
Stack trace
#0 src/XF/Mvc/Entity/Entity.php(1137): DBTech\Credits\XF\Entity\Poll->_postSave()
#1 src/XF/Repository/Poll.php(84): XF\Mvc\Entity\Entity->save()
#2 src/addons/DBTech/Credits/XF/Repository/Poll.php(93): XF\Repository\Poll->voteOnPoll(Object(DBTech\Credits\XF\Entity\Poll), Array, Object(DBTech\Security\XF\Entity\User))
#3 src/XF/Service/Poll/Voter.php(62): DBTech\Credits\XF\Repository\Poll->voteOnPoll(Object(DBTech\Credits\XF\Entity\Poll), Array)
#4 src/XF/Service/ValidateAndSavableTrait.php(40): XF\Service\Poll\Voter->_save()
#5 src/XF/ControllerPlugin/Poll.php(224): XF\Service\Poll\Voter->save()
#6 src/XF/Pub/Controller/Thread.php(805): XF\ControllerPlugin\Poll->actionVote(Object(DBTech\Credits\XF\Entity\Poll), Array)
#7 src/XF/Mvc/Dispatcher.php(249): XF\Pub\Controller\Thread->actionPollVote(Object(XF\Mvc\ParameterBag))
#8 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'PollVote', 'json', Object(XF\Mvc\ParameterBag), 'forums', Object(XFMG\XF\Pub\Controller\Thread), NULL)
#9 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#10 src/XF/App.php(1879): XF\Mvc\Dispatcher->run()
#11 src/XF.php(328): XF\App->run()
#12 index.php(13): XF::runApp('XF\\Pub\\App')
#13 {main}
Request state
array(4) {
["url"] => string(73) "/threads/who-will-be-member-of-the-month-in-october-2017.192594/poll/vote"
["referrer"] => string(90) "/threads/who-will-be-member-of-the-month-in-october-2017.192594/"
["_GET"] => array(0) {
}
["_POST"] => array(6) {
["responses"] => array(1) {
[0] => string(4) "1212"
}
["simple_display"] => string(0) ""
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(64) "/threads/who-will-be-member-of-the-month-in-october-2017.192594/"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}