TeamSpeak Fixed Trying to get property of non-object - library\NixFifty\TeamSpeak\CronEntry\SyncIps.php:15

Hey there,

happened after upgrading to 1.1.8

Code:
Server Error Log
Error Info
ErrorException: Trying to get property of non-object - library\NixFifty\TeamSpeak\CronEntry\SyncIps.php:15
Generated By: SeToY, Today at 20:39
Stack Trace
#0 C:\inetpub\wwwroot\forum.klaerwerk-community.de\library\NixFifty\TeamSpeak\CronEntry\SyncIps.php(15): XenForo_Application::handlePhpError(8, 'Trying to get p...', 'C:\\inetpub\\wwwr...', 15, Array)
#1 [internal function]: NixFifty_TeamSpeak_CronEntry_SyncIps::syncIpBans(Array)
#2 C:\inetpub\wwwroot\forum.klaerwerk-community.de\library\XenForo\Model\Cron.php(357): call_user_func(Array, Array)
#3 C:\inetpub\wwwroot\forum.klaerwerk-community.de\library\XenForo\ControllerAdmin\Cron.php(213): XenForo_Model_Cron->runEntry(Array)
#4 C:\inetpub\wwwroot\forum.klaerwerk-community.de\library\XenForo\FrontController.php(351): XenForo_ControllerAdmin_Cron->actionRun()
#5 C:\inetpub\wwwroot\forum.klaerwerk-community.de\library\XenForo\FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#6 C:\inetpub\wwwroot\forum.klaerwerk-community.de\admin.php(13): XenForo_FrontController->run()
#7 {main}
Request State
array(3) {
  ["url"] => string(144) "https://forum.klaerwerk-community.de/admin.php?cron/nfTeamSpeakSyncIpBans/run&_xfToken=1%2C1487101125%2C2c01346efd7b27d02ed6217a072ed71a1e6b53ff"
  ["_GET"] => array(2) {
   ["cron/nfTeamSpeakSyncIpBans/run"] => string(0) ""
   ["_xfToken"] => string(53) "1,1487101125,2c01346efd7b27d02ed6217a072ed71a1e6b53ff"
  }
  ["_POST"] => array(0) {
  }
}

And a question: Does it only sync banned IPs or does it sync banned IDs, too?
 
Hi, @SeToY. I've pushed an update that should fix the issue in question. Also, this is 1-way syncing of bans from XF to TS3.
 
Back
Top