Error trying to index page for Smart Search

  • Posts: 53
  • Thank you received: 3
  • Hikashop Business
1 month 1 day ago #364578

-- url of the page with the problem -- : stag.shangshungpublications.com/
-- HikaShop version -- : 5.1.1
-- Joomla version -- : 5.2.1
-- PHP version -- : 8.2
-- Browser(s) name and version -- : All

Hi,
I've made a command to execute the smart search indexing via Cronjob. When I run this string via SSH
"php /myserverroot/cli/joomla.php finder:index", it doesn't work due to this error:

Finder Indexer
==========================
Starting Indexer
Setting up Smart Search plugins
Setup 1850 items in 0.152 seconds.

In image.php line 61:

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

Thank you

Please Log in or Create an account to join the conversation.

  • Posts: 83022
  • Thank you received: 13403
  • MODERATOR
1 month 1 day ago #364579

Hi,

Please try again after activating the "debug" setting of the joomla configuration in order to get the full error message.
That should allow us to tell you what to do.

Please Log in or Create an account to join the conversation.

  • Posts: 53
  • Thank you received: 3
  • Hikashop Business
3 weeks 5 days ago #364664

Hi, the error message is via Terminale not via Joomla.

Please Log in or Create an account to join the conversation.

  • Posts: 83022
  • Thank you received: 13403
  • MODERATOR
3 weeks 5 days ago #364665

Hi,

Yes, I understand this. But the terminal still relies on the settings of your Joomla configuration.
For example, it uses the settings of the "database" section of your Joomla configuration to access the database to be able to index the data, even if you trigger the indexing from the terminal.
Similarly, it will display a short version of the error message or the full error message based on how the "debug" setting is configured in the Joomla configuration.
So, again, please try again after activating the "debug" setting of the joomla configuration in order to get the full error message.
That should allow us to tell you what to do.

Please Log in or Create an account to join the conversation.

Time to create page: 0.061 seconds
Powered by Kunena Forum