[FIXED] ErrorException: [E_NOTICE] Trying to get property of non-object

Sperber

Member
From the error log:
Code:
    ErrorException: [E_NOTICE] Trying to get property of non-object src/addons/Truonglv/Groups/App.php:176

    Generated by: Unknown account Feb 15, 2019 at 5:37 AM

Stack trace

#0 src/addons/Truonglv/Groups/App.php(176): XF::handlePhpError(8, '[E_NOTICE] Tryi...', '/var/...', 176, Array)
#1 src/addons/Truonglv/Groups/XFMG/Entity/Album.php(27): Truonglv\Groups\App::getGroupEntityFromEntity(Object(Truonglv\Groups\XFMG\Entity\Album))
#2 src/addons/XFMG/Sitemap/Album.php(49): Truonglv\Groups\XFMG\Entity\Album->canView()
#3 src/XF/Sitemap/Builder.php(182): XFMG\Sitemap\Album->isIncluded(Object(Truonglv\Groups\XFMG\Entity\Album))
#4 src/XF/Sitemap/Builder.php(147): XF\Sitemap\Builder->writeContentTypeData('xfmg_album', 0, G)
#5 src/XF/Sitemap/Builder.php(82): XF\Sitemap\Builder->buildType('xfmg_album', G)
#6 src/XF/Job/Sitemap.php(25): XF\Sitemap\Builder->build(G)
#7 src/XF/Job/Manager.php(253): XF\Job\Sitemap->run(G)
#8 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
#9 src/XF/Job/Manager.php(79): XF\Job\Manager->runJobEntry(Array, G)
#10 job.php(42): XF\Job\Manager->runQueue(false, 8)
#11 {main}
 

Sperber

Member
truonglv ,
unfortunal, the error is back again (running 2.0.2):
Code:
ErrorException: [E_NOTICE] Trying to get property of non-object src/addons/Truonglv/Groups/App.php:176

18.02.2019 - 05:45 um 05:45

Stack-Trace

#0 src/addons/Truonglv/Groups/App.php(176): XF::handlePhpError(8, '[E_NOTICE] Tryi...', '/var/...', 176, Array)
#1 src/addons/Truonglv/Groups/XFMG/Entity/Album.php(27): Truonglv\Groups\App::getGroupEntityFromEntity(Object(Truonglv\Groups\XFMG\Entity\Album))
#2 src/addons/XFMG/Sitemap/Album.php(49): Truonglv\Groups\XFMG\Entity\Album->canView()
#3 src/XF/Sitemap/Builder.php(182): XFMG\Sitemap\Album->isIncluded(Object(Truonglv\Groups\XFMG\Entity\Album))
#4 src/XF/Sitemap/Builder.php(147): XF\Sitemap\Builder->writeContentTypeData('xfmg_album', 0, G)
#5 src/XF/Sitemap/Builder.php(82): XF\Sitemap\Builder->buildType('xfmg_album', G)
#6 src/XF/Job/Sitemap.php(25): XF\Sitemap\Builder->build(G)
#7 src/XF/Job/Manager.php(253): XF\Job\Sitemap->run(G)
#8 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
#9 src/XF/Job/Manager.php(79): XF\Job\Manager->runJobEntry(Array, G)
#10 job.php(42): XF\Job\Manager->runQueue(false, 8)
#11 {main}
 
Top