Fixed ErrorException: [E_NOTICE] Trying to get property 'message_state' of non-object in src\addons\XFMG\Service\Media\MirrorManager.php

ErrorException: [E_NOTICE] Trying to get property 'message_state' of non-object in src\addons\XFMG\Service\Media\MirrorManager.php at line 215
  1. XF::handlePhpError() in src\addons\XFMG\Service\Media\MirrorManager.php at line 215
  2. XFMG\Service\Media\MirrorManager->getAttachmentVisibilityState() in src\addons\XFMG\Service\Media\MirrorManager.php at line 254
  3. XFMG\Service\Media\MirrorManager->getNextPossibleMirrorHandler() in src\addons\XFMG\Service\Media\MirrorManager.php at line 281
  4. XFMG\Service\Media\MirrorManager->unlinkAttachmentFromMirror() in src\addons\XFMG\Service\Media\MirrorManager.php at line 93
  5. XFMG\Service\Media\MirrorManager->syncMirrorState() in src\addons\XFMG\Service\Media\MirrorManager.php at line 139
  6. XFMG\Service\Media\MirrorManager->syncMirrorStateForContent() in src\addons\XFMG\XF\Entity\Thread.php at line 30
  7. XFMG\XF\Entity\Thread->threadMoved() in src\XF\Entity\Thread.php at line 1136
  8. XF\Entity\Thread->_postSave() in src\addons\XFES\XF\Entity\Thread.php at line 11
  9. XFES\XF\Entity\Thread->_postSave() in src\XF\Mvc\Entity\Entity.php at line 1266
  10. XF\Mvc\Entity\Entity->save() in src\XF\Service\Thread\Mover.php at line 100
  11. XF\Service\Thread\Mover->move() in src\XF\Pub\Controller\Thread.php at line 1227
  12. XF\Pub\Controller\Thread->actionMove() 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 2299
  17. XF\App->run() in src\XF.php at line 464
  18. XF::runApp() in index.php at line 20
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XFMG release (2.2.0 RC1).

Change log:
Prevent an error with attachment mirroring if the related post cannot be found
There may be a delay before changes are rolled out to the XenForo Community.
 
Back
Top Bottom