Search index rebuild warning

Nope... another example doesn't contain utf8 characters:

Code:
Exception: [tl] Social Groups: Index group with tags: {"150":{"tag":"mleko modyfikowane","tag_url":"mleko-modyfikowane"}} groupId=696 src/addons/Truonglv/Groups/App.php:145
 
Code:
Server error log
Exception: [tl] Social Groups: Index group with tags: ["#duzarodzina"] groupId=720 src/addons/Truonglv/Groups/App.php:145
Wygenerowane przez: janslu 29 Marzec 2019 o 10:50
Stack trace
#0 src/addons/Truonglv/Groups/Search/Data/Group.php(62): Truonglv\Groups\App::logError('Index group wit...')
#1 src/XF/Search/Search.php(37): Truonglv\Groups\Search\Data\Group->getIndexData(Object(Truonglv\Groups\Entity\Group))
#2 src/XF/Search/Search.php(59): XF\Search\Search->index('tl_group', Object(Truonglv\Groups\Entity\Group))
#3 src/XF/Search/Search.php(85): XF\Search\Search->indexEntities('tl_group', Object(XF\Mvc\Entity\ArrayCollection))
#4 src/XF/Job/SearchRebuild.php(57): XF\Search\Search->indexRange('tl_group', 500, '500')
#5 src/XF/Job/Manager.php(253): XF\Job\SearchRebuild->run(G)
#6 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
#7 src/XF/Job/Manager.php(111): XF\Job\Manager->runJobEntry(Array, G)
#8 src/XF/Admin/Controller/Tools.php(120): XF\Job\Manager->runByIds(Array, 8)
#9 src/XF/Mvc/Dispatcher.php(321): XF\Admin\Controller\Tools->actionRunJob(Object(XF\Mvc\ParameterBag))
#10 src/XF/Mvc/Dispatcher.php(244): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', Object(XF\Mvc\RouteMatch), Object(ThemeHouse\QAForums\XF\Admin\Controller\Tools), NULL)
#11 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(ThemeHouse\QAForums\XF\Admin\Controller\Tools), NULL)
#12 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#13 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#14 src/XF.php(390): XF\App->run()
#15 admin.php(13): XF::runApp('XF\\Admin\\App')
#16 {main}
Request state
array(4) {
  ["url"] => string(30) "/forum/admin.php?tools/run-job"
  ["referrer"] => string(53) "https://www.babyboom.pl/forum/admin.php?tools/run-job"
  ["_GET"] => array(1) {
    ["tools/run-job"] => string(0) ""
  }
  ["_POST"] => array(3) {
    ["_xfRedirect"] => string(63) "https://www.babyboom.pl/forum/admin.php?tools/rebuild&success=1"
    ["_xfToken"] => string(8) "********"
    ["only_ids"] => string(6) "215662"
  }
}
 
janslu So you need edit the groups 720 and run the query to remove that tags should resolve the problem.
 
Truonglv
You are right. Fixed. I took a peek inside the db and there's something funny - empty values are represented as '[]' (no quotes, square brackets) but actual non-empty values are json '{"2840":{"tag":"du\u017ca r\u00f3\u017cnica wieku","tag_url":"duza-roznica-wieku"},"2839":{"tag":"trzecie dziecko","tag_url":"trzecie-dziecko"}}' with curly braces.

Thanks.
 
Back
Top