Search index rebuild warning

janslu

Member
Hi,

I have just upgraded to Xenforo 2.1 and to a new version of Social Groups (2.0.4) and encountered an error when rebuilding search index. I'm using XFES. Here's the stack:

Code:
Server error log
ErrorException: [E_WARNING] Illegal string offset 'tag' src/XF/Search/IndexRecord.php:69
Wygenerowane przez: Nieznane konto 24 Marzec 2019 o 13:18
Stack trace
#0 src/XF/Search/IndexRecord.php(69): XF::handlePhpError(2, '[E_WARNING] Ill...', '/var/www/hosts/...', 69, Array)
#1 src/addons/Truonglv/Groups/Search/Data/Group.php(62): XF\Search\IndexRecord->indexTags(Array)
#2 src/XF/Search/Search.php(37): Truonglv\Groups\Search\Data\Group->getIndexData(Object(Truonglv\Groups\Entity\Group))
#3 src/XF/Search/Search.php(59): XF\Search\Search->index('tl_group', Object(Truonglv\Groups\Entity\Group))
#4 src/XF/Search/Search.php(85): XF\Search\Search->indexEntities('tl_group', Object(XF\Mvc\Entity\ArrayCollection))
#5 src/XF/Job/SearchRebuild.php(57): XF\Search\Search->indexRange('tl_group', 500, 500)
#6 src/XF/Job/Manager.php(253): XF\Job\SearchRebuild->run(8)
#7 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, 8)
#8 src/XF/Job/Manager.php(146): XF\Job\Manager->runJobEntry(Array, 8)
#9 src/XF/Cli/Command/JobRunnerTrait.php(30): XF\Job\Manager->runUnique('xfRebuildJob-se...', 8)
#10 src/XF/Cli/Command/JobRunnerTrait.php(13): XF\Cli\Command\Rebuild\AbstractRebuildCommand->runJob('xfRebuildJob-se...', Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 src/XF/Cli/Command/Rebuild/AbstractRebuildCommand.php(84): XF\Cli\Command\Rebuild\AbstractRebuildCommand->setupAndRunJob('xfRebuildJob-se...', 'XF:SearchRebuil...', Array, Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 src/vendor/symfony/console/Command/Command.php(255): XF\Cli\Command\Rebuild\AbstractRebuildCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 src/vendor/symfony/console/Application.php(953): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 src/vendor/symfony/console/Application.php(248): Symfony\Component\Console\Application->doRunCommand(Object(XF\Cli\Command\Rebuild\RebuildSearch), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 src/vendor/symfony/console/Application.php(148): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 src/XF/Cli/Runner.php(63): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 cmd.php(15): XF\Cli\Runner->run()
#18 {main}
Request state
array(1) {
  ["cli"] => string(25) "cmd.php xf-rebuild:search"
}
Thanks
 
Top