Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smart Search Indexer Error #43348

Closed
philmarty opened this issue Apr 24, 2024 · 3 comments
Closed

Smart Search Indexer Error #43348

philmarty opened this issue Apr 24, 2024 · 3 comments

Comments

@philmarty
Copy link

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

@Hackwar
Copy link
Member

Hackwar commented Apr 26, 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.

@philmarty
Copy link
Author

philmarty commented May 2, 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

@Hackwar
Copy link
Member

Hackwar commented May 2, 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants