Hello,
I tried to index the smart search of my website using CLI but I get the following error:
Starting Indexer
Setting up Smart Search plugins
Setup 5986 items in 0.025 seconds.
In Behavior.php line 49:
Call to undefined method Joomla\CMS\Application\ConsoleApplication::getDocument()
finder:index [--minproctime MINPROCTIME] [--pause PAUSE] [--divisor DIVISOR] [--live-site [LIVE-SITE]] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [--] []
Joomla 4.4.3
PHP 8.1
I tired also through the backend and I get that error :
Smart Search Indexer
An Error Has Occurred
syntax error, unexpected token "<"
Where is the problem, please?
Best regards
Labels |
Added:
No Code Attached Yet
|
Labels |
Added:
Information Required
|
Ok, I've found the plugin!
Dropfile content plugin (Joomunited) is the crash maker...
I'll write to the editor.
Thanks for your advice
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2024-05-02 12:36:35 |
Closed_By | ⇒ | philmarty |
For others who stumble upon this: If you have a finder plugin which is acting up, you can simply open the browser console, then run the indexing process and look at the last ajax request which was run. In the data, you see which plugins were run and which still have stuff to process. The next plugin with 0 processed entries is the one creating your issues.
This is a problem of either a third party finder plugin or of a third party content plugin which doesn't behave properly in the Smart Search context.