Articles, Unified-index; Indexing errors when a Tiki article has a url source
- Status
- Open
- Subject
- Articles, Unified-index; Indexing errors when a Tiki article has a url source
- Version
- 24.x
- Category
- Regression
- Feature
- Article
Search - Resolution status
- New
- Submitted by
- Bernard Sfez / Tiki Specialist
- Lastmod by
- Bernard Sfez / Tiki Specialist
- Rating
- Description
On a quite big and several time upgraded Tiki all unified-index errors were running without errors.
Since a few month I see an error for each article that has the field source filled with an URL.2022-11-14T07:55:37+00:00 INFO (6): addDocument article 470 {"memoryUsage":"38.5 MiB"}
2022-11-14T07:55:37+00:00 ERR (3): NOTICE: Trying to access array offset on value of type bool {"code":null,"file":"/var/www/vhosts/xxxx/xxxx/lib/core/Search/ContentSource/ArticleSource.php","line":53}
2022-11-14T07:55:37+00:00 ERR (3): NOTICE: Trying to access array offset on value of type bool {"code":null,"file":"/var/www/vhosts/xxxx/xxxx/lib/core/Search/ContentSource/ArticleSource.php","line":56}lib/core/Search/ContentSource/ArticleSource.php, lines 47:59Copy to clipboard$rss_relations = TikiLib::lib('relation')->get_object_ids_with_relations_from('article', $objectId, 'tiki.rss.source'); $sitetitle = ''; $siteurl = ''; if ($rss_relations) { $rssId = reset($rss_relations); $rssModule = TikiLib::lib('rss')->get_rss_module($rssId); if ($rssModule['sitetitle']) { $sitetitle = $rssModule['sitetitle']; } if ($rssModule['siteurl']) { $siteurl = $rssModule['siteurl']; } }- Importance
- 5
- Easy to solve?
- 5
- Priority
- 25
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 8232
- Created
- Monday 14 November, 2022 08:19:00 UTC
by Bernard Sfez / Tiki Specialist - LastModif
- Monday 14 November, 2022 08:20:46 UTC