Smart Search Error On Indexing - Question | JoomShaper
SP Page Builder 6 is Here! Learn More →

Smart Search Error On Indexing

S

sdlsites

SP Page Builder 2 months ago

Smart Search indexing fails using the CLI command when the Smart Search - SP Page Builder plugin is enabled and does not fail when it is disabled.

I really need a new Page Builder page to be indexed, so any help would be appreciated.

what I have evaluated so far:

Our current setup involves indexing Joomla sites via CLI, and we've encountered fatal errors related to Joomla’s ConsoleApplication context.

Issue Summary:

Our CLI command "php cli/joomla.php finder:index" is failing with errors such as:

• Call to undefined method Joomla\CMS\Application\ConsoleApplication::getTemplate()

These methods are defined in the web CMSApplication but not in the CLI ConsoleApplication, causing indexing operations to halt.

Immediate Impact:

• Indexing fails for all sites utilizing SP Page Builder's Smart Search plugin. If we disable this specific plugin, the CLI command occurs without any problems

We've identified that there are already questions related to the same issue, but without a solution in the thread. For example, this one: https://www.joomshaper.com/forum/question/37728

Is there a solution to this problem?

0
5 Answers
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 2 months ago #200520

Hello,

Thanks for reaching out to us. Could you please share temporary administrator access to your Joomla backend? You can provide the credentials securely in the hidden content section. Also, please take a full backup of your site before we make any changes.

Once I have access, I’ll investigate further and see what’s causing the issue. Let me know once you’ve shared the details!

Best regards,

0
S
sdlsites
Accepted Answer
2 months ago #200617

crendetials shared.

Just a reminder that the problem happens only when executing the command "cli/joomla.php finder:index" on terminal, via a cronjob.

Here is the output from the command with the error when the "Smart Search - SP Page Builder" plugin is enabled.

Finder Indexer
==========================

 Starting Indexer
 Setting up Smart Search plugins
 Setup 704 items in 0.064 seconds.
  * Processed batch 1 in 0.942 seconds.
  * Skipping pause, as previous batch had a very low processing time (0.942s < 1s)
  * Processed batch 2 in 0.811 seconds.
  * Skipping pause, as previous batch had a very low processing time (0.811s < 1s)
  * Processed batch 3 in 0.629 seconds.
  * Skipping pause, as previous batch had a very low processing time (0.629s < 1s)
  * Processed batch 4 in 0.644 seconds.
  * Skipping pause, as previous batch had a very low processing time (0.644s < 1s)
  * Processed batch 5 in 0.567 seconds.

In helper.php line 1588:

  Call to undefined method Joomla\CMS\Application\ConsoleApplication::getTemp
  late()

finder:index [--minproctime MINPROCTIME] [--pause PAUSE] [--divisor DIVISOR] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [--live-site [LIVE-SITE]] [--] <command> [<purge>]
0
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 2 months ago #201035

I apologize for the delayed response. I was unwell and unable to address your issue earlier.

I need your administrator access, It will help me to investigate your issues more closely.

Thank you for your patience.

0
S
sdlsites
Accepted Answer
2 months ago #201083

Hello, no problem.

The account I created for you is already an administrator user. Could you explain in more detail what type of administrator account you're referring to?

After the login, please click on the menu "SUPPORT ADMIN AREA" to get access to the admin panel.

0
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 2 months ago #201136

I have forwarded this to our team for further review. It may take some time. Thank you for your patience.

0