Bug [E_NOTICE] Trying to get property of non-object

Status
Not open for further replies.

Nirjonadda

Customer
I am getting Server error logs about [E_NOTICE] Trying to get property of non-object src/addons/DBTech/Credits/XF/Entity/ReportComment.php:18


ErrorException: [E_NOTICE] Trying to get property of non-object src/addons/DBTech/Credits/XF/Entity/ReportComment.php:18
Generated by: anindose Dec 5, 2017 at 5:39 PM
Stack trace
#0 src/addons/DBTech/Credits/XF/Entity/ReportComment.php(18): XF::handlePhpError(8, '[E_NOTICE] Tryi...', '/home/nadda/pub...', 18, Array)
#1 src/XF/Mvc/Entity/Entity.php(1226): DBTech\Credits\XF\Entity\ReportComment->_preSave()
#2 src/XF/Mvc/Entity/Entity.php(1246): XF\Mvc\Entity\Entity->preSave()
#3 src/XF/Service/Report/Creator.php(169): XF\Mvc\Entity\Entity->preSave()
#4 src/XF/Service/ValidateAndSavableTrait.php(17): XF\Service\Report\Creator->_validate()
#5 src/XF/ControllerPlugin/Report.php(43): XF\Service\Report\Creator->validate(NULL)
#6 src/XF/Pub/Controller/Post.php(315): XF\ControllerPlugin\Report->actionReport('post', Object(DBTech\Shop\XF\Entity\Post), '/posts/1588464/...', '/posts/1588464/')
#7 src/XF/Mvc/Dispatcher.php(249): XF\Pub\Controller\Post->actionReport(Object(XF\Mvc\ParameterBag))
#8 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:Post', 'Report', 'json', Object(XF\Mvc\ParameterBag), 'forums', Object(XF\Pub\Controller\Post), 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(21) "/posts/1588464/report"
["referrer"] => string(101) "/threads/the-ghazi-attack-2017-bluray-remux-1080p-avc-truehd7-1-hds.163824/"
["_GET"] => array(0) {
}
["_POST"] => array(5) {
["message"] => string(19) "Some links are dead"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(75) "/threads/the-ghazi-attack-2017-bluray-remux-1080p-avc-truehd7-1-hds.163824/"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
 
Hello Nirjonadda,

This ticket has now been closed with the status Fixed.

We hope your issue or question has been addressed to your satisfaction. If not, please feel free to re-open it by clicking this link.

If you have any further issues or questions, please feel free to start a new support ticket via the button at the top of every page.

Thank you!
 
Status
Not open for further replies.

DragonByte Credits

XenForo 1.5.3+ XenForo 2.0.x XenForo 2.1.x XenForo 2.2.x XenForo 2.3.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
5,168
Customer rating
4.67 star(s) 6 ratings
Back
Top