No Code Attached Yet Information Required
avatar philmarty
philmarty
24 Apr 2024

Hello,

I tried to index the smart search of my website using CLI but I get the following error:

php -d memory_limit=512M joomla.php finder:index
Finder Indexer

Starting Indexer
Setting up Smart Search plugins
Setup 5986 items in 0.025 seconds.

  • Processed batch 1 in 3.199 seconds.
  • Pausing processing for 1 seconds …
  • Continuing processing of batch …
  • Processed batch 2 in 3.486 seconds.
  • Pausing processing for 1 seconds …
  • Continuing processing of batch …
  • Processed batch 3 in 2.79 seconds.
  • Pausing processing for 1 seconds …
  • Continuing processing of batch …
  • Processed batch 4 in 5.246 seconds.
  • Pausing processing for 1 seconds …
  • Continuing processing of batch …
  • Processed batch 5 in 3.771 seconds.
  • Pausing processing for 1 seconds …
  • Continuing processing of batch …
  • Processed batch 6 in 3.436 seconds.
  • Pausing processing for 1 seconds …
  • Continuing processing of batch …
  • Processed batch 7 in 3.137 seconds.
  • Pausing processing for 1 seconds …
  • Continuing processing of batch …

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] [--] []

System information (as much as possible)

Joomla 4.4.3
PHP 8.1

Additional comments

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

avatar philmarty philmarty - open - 24 Apr 2024
avatar joomla-cms-bot joomla-cms-bot - change - 24 Apr 2024
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 24 Apr 2024
avatar Hackwar
Hackwar - comment - 26 Apr 2024

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.

avatar Quy Quy - change - 26 Apr 2024
Labels Added: Information Required
avatar Quy Quy - labeled - 26 Apr 2024
avatar philmarty
philmarty - comment - 2 May 2024

Ok, I've found the plugin!
Dropfile content plugin (Joomunited) is the crash maker...
I'll write to the editor.
Thanks for your advice

avatar philmarty philmarty - change - 2 May 2024
Status New Closed
Closed_Date 0000-00-00 00:00:00 2024-05-02 12:36:35
Closed_By philmarty
avatar philmarty philmarty - close - 2 May 2024
avatar Hackwar
Hackwar - comment - 2 May 2024

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.

Add a Comment

Login with GitHub to post a comment