XF 2.0 Server errors with registering? Users can't register!

Frode789

Well-known member
So I just saw these errors in my ACP, I've got many of them, all look the same. (different users in them though, have several members tried to register and not been able to. Damn, this explains why it has been so quiet lately! Help please.


Code:
XF\Db\Exception: MySQL statement prepare error [1146]: Table 'theaocdu_xenforo.xf_tac_scs_cache' doesn't exist src/XF/Db/AbstractStatement.php:212
Generated by: Unknown account 6 August 2018 at 13:36
Stack trace
            SELECT `xf_tac_scs_cache`.*
            FROM `xf_tac_scs_cache`
           
            WHERE (`xf_tac_scs_cache`.`ip` = '2001:bb6:561d:e58:8d07:fabe:ca68:9e41')
           
       
LIMIT 1
------------

#0 src/XF/Db/Mysqli/Statement.php(196): XF\Db\AbstractStatement->getException('MySQL statement...', 1146, '42S02')
#1 src/XF/Db/Mysqli/Statement.php(39): XF\Db\Mysqli\Statement->getException('MySQL statement...', 1146, '42S02')
#2 src/XF/Db/Mysqli/Statement.php(54): XF\Db\Mysqli\Statement->prepare()
#3 src/XF/Db/AbstractAdapter.php(79): XF\Db\Mysqli\Statement->execute()
#4 src/XF/Mvc/Entity/Finder.php(1130): XF\Db\AbstractAdapter->query('\n\t\t\tSELECT `xf_...')
#5 src/addons/Yugensoft/TacStopCountrySpam/Entity/GeoIpCache.php(32): XF\Mvc\Entity\Finder->fetchOne()
#6 src/addons/Yugensoft/TacStopCountrySpam/XF/Service/User/Registration.php(39): Yugensoft\TacStopCountrySpam\Entity\GeoIpCache::getCache('2001:bb6:561d:e...')
#7 src/addons/Yugensoft/TacStopCountrySpam/XF/Service/User/Registration.php(23): Yugensoft\TacStopCountrySpam\XF\Service\User\Registration->checkForBlockedCountry(Array)
#8 src/XF/Pub/Controller/Register.php(386): Yugensoft\TacStopCountrySpam\XF\Service\User\Registration->checkForSpam()
#9 src/XF/Mvc/Dispatcher.php(249): XF\Pub\Controller\Register->actionRegister(Object(XF\Mvc\ParameterBag))
#10 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:Register', 'Register', 'json', Object(XF\Mvc\ParameterBag), '', Object(XF\Pub\Controller\Register), NULL)
#11 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#12 src/XF/App.php(1931): XF\Mvc\Dispatcher->run()
#13 src/XF.php(328): XF\App->run()
#14 index.php(13): XF::runApp('XF\\Pub\\App')
#15 {main}
Request state
array(4) {
  ["url"] => string(18) "/register/register"
  ["referrer"] => string(30) "https://www.theaocdungeon.com/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(13) {
    ["username"] => string(0) ""
    ["68acae24434538a514e759eebea03e368e3019d9"] => string(7) "**********"
    ["0668c9dd2189abec83508afb36936cb534b25521"] => string(0) ""
    ["794b147d4a372d314ee8658d0b0f9d306becdceb"] => string(23) "**************"
    ["b06876fd399a565f0a33eea0485bf80c6c24c1b5"] => string(8) "********"
    ["g-recaptcha-response"] => string(377) "03AEMEkElK-vx6lHiQLokHjxjzcNskXNYvFfyg8J61neIfbVUV7ugFndrGhyQRFN_I7y6Ik-z31nQgQyF8eNA8RsrXWiDRMCo7Fcu9ihn4LM7t-3O6GZqHosMoFjUENllb01sbmQX-fMwz_fvHvWWuYnKFxMqtd94A2Pxq-In0oA4k3kXE2sCPx2m3iLBCJkUTnhmh7q-TecHUWqFLZr2uZm_ju_IpMVA-FDb3W2oFQQiDmuZBbGFKSnv3BxWOzW_orwwQ-Wmx6E2asAdxUgYgVV-eKUyT97RqTeEJhcbPZzJyVSnOoEGHfyfE0Ln7Jt_pKb9i5583-UaR80qXGHCEO5cduH9cWPj6n5nIo5c0_GgpVIw31eJNRLM"
    ["accept"] => string(1) "1"
    ["reg_key"] => string(16) "yz-iaHROp2QV7hNR"
    ["da4c1c6b9918f8d3724a6d9420cb5ca5fc5b1b6e"] => string(13) "Europe/London"
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(1) "/"
    ["_xfWithData"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
 
It may be due to wrong configuration of TacStopCountrySpam addon which might be producing error

Have you blocked some countries from registering

If addon is not important then uninstall it - you may use captcha to prevent spam.
 
It may also be having issues with IPv6. I'd uninstall the add-on then re-install it if you need it. It should create that table. If not, you need to contact the developer of that addon... which I believe is now @Yugensoft.
 
Top Bottom