joomla / joomla-cms

Home of the Joomla! Content Management System
https://www.joomla.org
GNU General Public License v2.0
4.77k stars 3.65k forks source link

[4] Smart Search stop with message: An Error Has Occurred Category must have a title. #35977

Closed Stuartemk closed 2 years ago

Stuartemk commented 3 years ago

Steps to reproduce the issue

Since the first version of joomla 4 I have tried to index my site and the same error occurs. I have tried making combinations between raising and lowering the table limit and the batch of processes and the error is always the same. The most frustrating thing is that there are no more details of the error, I already looked in the indexer log and it does not give more details. I already checked my menus, my article categories, the articles, the modules, and everything has the correct categories, I have searched from the joomla backen and from the database, there are no empty categories without names. Indexing stops at about 75% It throws me 314 pages of 20 results which in total are 6280 results, and neither raising nor lowering the values of the limit of tables and processing batches THE amount of results does not vary, nor are they more nor less.

Expected result

Complete 100% indexing

In case of error receive more details in the backend error modal screen, in case of error receive more details in the indexer error log.

Actual result

Smart Search stop with message: An Error Has Occurred Category must have a title.

System information (as much as possible)

Additional comments

These are the details of the log

2021-11-06T05:07:16+00:00 ERROR 201.141.24.207 - Category must have a title. 2021-11-06T05:07:16+00:00 ERROR 201.141.24.207 - Category must have a title.

Hackwar commented 2 years ago

The error message is misleading and indeed needs to be fixed. The problem is, that a finder plugin tries to add a taxonomy with an empty title. This could be an author of an article which couldn't be loaded and thus is working with an empty string or something similar.

richard67 commented 2 years ago

Closing as having a pull request. Please test #36759 . Thanks in advance.