• Hello Guest,
    There are new packages allow you download any resources with a single purchase. Click here to upgrade your account ;)

[FIXED] [SG 2.0.1] Error prevents embedding in XFMG


TypeError: Argument 1 passed to Truonglv\Groups\App::getGroupIdFromEntity() must be an instance of XF\Mvc\Entity\Entity, null given, called in /var/www/vhosts/mysite.org/httpdocs/community/src/addons/Truonglv/Groups/XFMG/Pub/Controller/Media.php on line 34 in src/addons/Truonglv/Groups/App.php at line 182

    Truonglv\Groups\App::getGroupIdFromEntity() in src/addons/Truonglv/Groups/XFMG/Pub/Controller/Media.php at line 34
    Truonglv\Groups\XFMG\Pub\Controller\Media->actionView() in src/XF/Mvc/Dispatcher.php at line 321
    XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 248
    XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 100
    XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 50
    XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2177
    XF\App->run() in src/XF.php at line 390
    XF::runApp() in index.php at line 20