XF 2.2 server error

hellboy78

Active member
someone have an idea what is this?

Error: Call to a member function getIdentifier() on null in src/XF/Mvc/Entity/Finder.php at line 1384
XF\Mvc\Entity\Finder->fetch() in src/XF/BbCode/ProcessorAction/AutoLink.php at line 549
XF\BbCode\ProcessorAction\AutoLink::factory()
call_user_func_array() in src/XF/SubContainer/BbCode.php at line 111
XF\SubContainer\BbCode->XF\SubContainer\{closure}() in src/XF/Container.php at line 228
XF\Container->create() in src/XF/SubContainer/BbCode.php at line 192
XF\SubContainer\BbCode->processorAction() in src/XF/Service/Message/Preparer.php at line 187
XF\Service\Message\Preparer->getBbCodeProcessor() in src/XF/Service/Message/Preparer.php at line 154
XF\Service\Message\Preparer->processMessage() in src/XF/Service/Message/Preparer.php at line 127
XF\Service\Message\Preparer->prepare() in src/addons/DBTech/eCommerce/XF/Service/Message/Preparer.php at line 23
DBTech\eCommerce\XF\Service\Message\Preparer->prepare() in src/addons/XFMG/XF/Service/Message/Preparer.php at line 11
XFMG\XF\Service\Message\Preparer->prepare() in src/XF/Service/Conversation/MessageManager.php at line 37
XF\Service\Conversation\MessageManager->setMessage() in src/XF/Service/Conversation/Creator.php at line 145
XF\Service\Conversation\Creator->setContent() in src/XF/Job/UserMessage.php at line 41
XF\Job\UserMessage->executeAction() in src/XF/Job/AbstractUserCriteriaJob.php at line 59
XF\Job\AbstractUserCriteriaJob->run() in src/XF/Job/Manager.php at line 258
XF\Job\Manager->runJobInternal() in src/XF/Job/Manager.php at line 200
XF\Job\Manager->runJobEntry() in src/XF/Job/Manager.php at line 116
XF\Job\Manager->runByIds() in src/XF/Admin/Controller/Tools.php at line 120
XF\Admin\Controller\Tools->actionRunJob() in src/XF/Mvc/Dispatcher.php at line 350
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 257
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 113
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 55
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2337
XF\App->run() in src/XF.php at line 488
XF::runApp() in admin.php at line 13
 

Stack trace​

#0 src/XF/BbCode/ProcessorAction/AutoLink.php(549): XF\Mvc\Entity\Finder->fetch()
#1 [internal function]: XF\BbCode\ProcessorAction\AutoLink::factory(Object(XF\Admin\App))
#2 src/XF/SubContainer/BbCode.php(111): call_user_func_array(Array, Array)
#3 src/XF/Container.php(228): XF\SubContainer\BbCode->XF\SubContainer\{closure}('XF:AutoLink', Array, Object(XF\Container))
#4 src/XF/SubContainer/BbCode.php(192): XF\Container->create('processorAction', 'autolink', Array)
#5 src/XF/Service/Message/Preparer.php(187): XF\SubContainer\BbCode->processorAction('autolink')
#6 src/XF/Service/Message/Preparer.php(154): XF\Service\Message\Preparer->getBbCodeProcessor()
#7 src/XF/Service/Message/Preparer.php(127): XF\Service\Message\Preparer->processMessage('ciao,

https://...')
#8 src/addons/XFMG/XF/Service/Message/Preparer.php(11): XF\Service\Message\Preparer->prepare('ciao,

https://...', false)
#9 src/XF/Service/Conversation/MessageManager.php(37): XFMG\XF\Service\Message\Preparer->prepare('ciao,

https://...', false)
#10 src/XF/Service/Conversation/Creator.php(145): XF\Service\Conversation\MessageManager->setMessage('ciao,

https://...', true, false)
#11 src/XF/Job/UserMessage.php(41): XF\Service\Conversation\Creator->setContent('video gratis - ...', 'ciao,

https://...')
#12 src/XF/Job/AbstractUserCriteriaJob.php(59): XF\Job\UserMessage->executeAction(Object(XFMG\XF\Entity\User))
#13 src/XF/Job/Manager.php(258): XF\Job\AbstractUserCriteriaJob->run(8)
#14 src/XF/Job/Manager.php(200): XF\Job\Manager->runJobInternal(Array, 8)
#15 src/XF/Job/Manager.php(116): XF\Job\Manager->runJobEntry(Array, 8)
#16 src/XF/Admin/Controller/Tools.php(120): XF\Job\Manager->runByIds(Array, 8)
#17 src/XF/Mvc/Dispatcher.php(350): XF\Admin\Controller\Tools->actionRunJob(Object(XF\Mvc\ParameterBag))
#18 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#19 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#20 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#21 src/XF/App.php(2337): XF\Mvc\Dispatcher->run()
#22 src/XF.php(488): XF\App->run()
#23 admin.php(13): XF::runApp('XF\\Admin\\App')
#24 {main}
 
this is what dragonbyte said

"That’s because they don’t understand that my addon extending an XF file way further down in the stack trace does not mean it’s the cause."
 
Have you tried disabling your add-ons then checking again? At least that way you'd be able to narrow down if there is an add-on causing the issue.
 
same problem, different error

--
TypeError: Argument 1 passed to XF\Service\Conversation\Notifier::_canUserReceiveNotification() must be an instance of XF\Entity\User, null given, called in /home/httpd/html/xxxxxxxxxxxxxxxxxxx.net/public_html/src/XF/Service/Conversation/Notifier.php on line 98 in src/XF/Service/Conversation/Notifier.php at line 144
  1. XF\Service\Conversation\Notifier->_canUserReceiveNotification() in src/XF/Service/Conversation/Notifier.php at line 98
  2. XF\Service\Conversation\Notifier->_sendNotifications() in src/XF/Service/Conversation/Notifier.php at line 58
  3. XF\Service\Conversation\Notifier->notifyCreate() in src/XF/Service/Conversation/Creator.php at line 254
  4. XF\Service\Conversation\Creator->sendNotifications() in src/XF/Service/Conversation/Creator.php at line 244
  5. XF\Service\Conversation\Creator->_save() in src/XF/Service/ValidateAndSavableTrait.php at line 40
  6. XF\Service\Conversation\Creator->save() in src/XF/Job/UserMessage.php at line 47
  7. XF\Job\UserMessage->executeAction() in src/XF/Job/AbstractUserCriteriaJob.php at line 59
  8. XF\Job\AbstractUserCriteriaJob->run() in src/XF/Job/Manager.php at line 258
  9. XF\Job\Manager->runJobInternal() in src/XF/Job/Manager.php at line 200
  10. XF\Job\Manager->runJobEntry() in src/XF/Job/Manager.php at line 116
  11. XF\Job\Manager->runByIds() in src/XF/Admin/Controller/Tools.php at line 120
  12. XF\Admin\Controller\Tools->actionRunJob() in src/XF/Mvc/Dispatcher.php at line 350
  13. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 257
  14. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 113
  15. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 55
  16. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2337
  17. XF\App->run() in src/XF.php at line 488
  18. XF::runApp() in admin.php at line 13
 
  • TypeError: Argument 1 passed to XF\Service\Conversation\Notifier::_canUserReceiveNotification() must be an instance of XF\Entity\User, null given, called in /home/httpd/html/xxxxxxxxxxxxxxxxxxxx.net/public_html/src/XF/Service/Conversation/Notifier.php on line 98
  • src/XF/Service/Conversation/Notifier.php:144
  • Generated by: admin
  • Ott 13, 2023 alle 3:22 PM

Stack trace​

#0 src/XF/Service/Conversation/Notifier.php(98): XF\Service\Conversation\Notifier->_canUserReceiveNotification(NULL, Object(XFMG\XF\Entity\User))
#1 src/XF/Service/Conversation/Notifier.php(58): XF\Service\Conversation\Notifier->_sendNotifications('create', Array, Object(XF\Entity\ConversationMessage))
#2 src/XF/Service/Conversation/Creator.php(254): XF\Service\Conversation\Notifier->notifyCreate()
#3 src/XF/Service/Conversation/Creator.php(244): XF\Service\Conversation\Creator->sendNotifications()
#4 src/XF/Service/ValidateAndSavableTrait.php(40): XF\Service\Conversation\Creator->_save()
#5 src/XF/Job/UserMessage.php(47): XF\Service\Conversation\Creator->save()
#6 src/XF/Job/AbstractUserCriteriaJob.php(59): XF\Job\UserMessage->executeAction(Object(XFMG\XF\Entity\User))
#7 src/XF/Job/Manager.php(258): XF\Job\AbstractUserCriteriaJob->run(8)
#8 src/XF/Job/Manager.php(200): XF\Job\Manager->runJobInternal(Array, 8)
#9 src/XF/Job/Manager.php(116): XF\Job\Manager->runJobEntry(Array, 8)
#10 src/XF/Admin/Controller/Tools.php(120): XF\Job\Manager->runByIds(Array, 8)
#11 src/XF/Mvc/Dispatcher.php(350): XF\Admin\Controller\Tools->actionRunJob(Object(XF\Mvc\ParameterBag))
#12 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#13 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#14 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#15 src/XF/App.php(2337): XF\Mvc\Dispatcher->run()
#16 src/XF.php(488): XF\App->run()
#17 admin.php(13): XF::runApp('XF\\Admin\\App')
#18 {main}
 
  • ErrorException: [E_NOTICE] Trying to get property 'User' of non-object
  • src/XF/Mvc/Entity/Finder.php:1302
  • Generated by: admin
  • Ott 13, 2023 alle 3:22 PM

Stack trace​

#0 src/XF/Mvc/Entity/Finder.php(1302): XF::handlePhpError(8, '[E_NOTICE] Tryi...', '/home/httpd/htm...', 1302, Array)
#1 src/XF/Mvc/Entity/Finder.php(1387): XF\Mvc\Entity\Finder->XF\Mvc\Entity\{closure}(NULL)
#2 src/XF/Service/Conversation/Notifier.php(81): XF\Mvc\Entity\Finder->fetch()
#3 src/XF/Service/Conversation/Notifier.php(56): XF\Service\Conversation\Notifier->_getRecipientUsers()
#4 src/XF/Service/Conversation/Creator.php(254): XF\Service\Conversation\Notifier->notifyCreate()
#5 src/XF/Service/Conversation/Creator.php(244): XF\Service\Conversation\Creator->sendNotifications()
#6 src/XF/Service/ValidateAndSavableTrait.php(40): XF\Service\Conversation\Creator->_save()
#7 src/XF/Job/UserMessage.php(47): XF\Service\Conversation\Creator->save()
#8 src/XF/Job/AbstractUserCriteriaJob.php(59): XF\Job\UserMessage->executeAction(Object(XFMG\XF\Entity\User))
#9 src/XF/Job/Manager.php(258): XF\Job\AbstractUserCriteriaJob->run(8)
#10 src/XF/Job/Manager.php(200): XF\Job\Manager->runJobInternal(Array, 8)
#11 src/XF/Job/Manager.php(116): XF\Job\Manager->runJobEntry(Array, 8)
#12 src/XF/Admin/Controller/Tools.php(120): XF\Job\Manager->runByIds(Array, 8)
#13 src/XF/Mvc/Dispatcher.php(350): XF\Admin\Controller\Tools->actionRunJob(Object(XF\Mvc\ParameterBag))
#14 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#15 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#16 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#17 src/XF/App.php(2337): XF\Mvc\Dispatcher->run()
#18 src/XF.php(488): XF\App->run()
#19 admin.php(13): XF::runApp('XF\\Admin\\App')
#20 {main}
 
Last edited by a moderator:
Back
Top Bottom