• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Duplicate Return of Unknown relation error from Alpha 10

Affected version
2.0 Beta 1

Snog

Well-known member
#1
While uninstalling an add-on that has a relation by extension, I'm getting this error...

Code:
    XF\Db\Exception: MySQL statement prepare error [1146]: Table 'xenforo2.xf_my_table' doesn't exist src/XF/Db/AbstractStatement.php:183 

    Generated by: Unknown account Sep 8, 2017 at 2:23 PM 

Stack trace

#0 /var/www/clients/client0/web1/web/src/XF/Db/Mysqli/Statement.php(34): XF\Db\AbstractStatement->getException('MySQL statement...', 1146)
#1 /var/www/clients/client0/web1/web/src/XF/Db/Mysqli/Statement.php(44): XF\Db\Mysqli\Statement->prepare()
#2 /var/www/clients/client0/web1/web/src/XF/Db/AbstractAdapter.php(67): XF\Db\Mysqli\Statement->execute()
#3 /var/www/clients/client0/web1/web/src/XF/Mvc/Entity/Finder.php(1074): XF\Db\AbstractAdapter->query('\r\n\t\t\tSELECT `xf...')
#4 /var/www/clients/client0/web1/web/src/XF/Mvc/Entity/Manager.php(131): XF\Mvc\Entity\Finder->fetchOne()
#5 /var/www/clients/client0/web1/web/src/XF/Repository/User.php(25): XF\Mvc\Entity\Manager->find('XF:User', 1, Array)
#6 /var/www/clients/client0/web1/web/src/addons/Snog/MyAddon/XF/Repository/User.php(10): XF\Repository\User->getVisitor(1, Array)
#7 /var/www/clients/client0/web1/web/src/XF/App.php(1434): Snog\MyAddon\XF\Repository\User->getVisitor(1, Array)
#8 /var/www/clients/client0/web1/web/src/XF/Admin/App.php(52): XF\App->getVisitorFromSession(Object(XF\Session\Session), Array)
#9 /var/www/clients/client0/web1/web/src/XF/App.php(1767): XF\Admin\App->start(true)
#10 /var/www/clients/client0/web1/web/src/XF.php(319): XF\App->run()
#11 /var/www/clients/client0/web1/web/admin.php(13): XF::runApp('XF\\Admin\\App')
#12 {main}
I thought all listeners and extensions for add-on were to be disabled during uninstall?