News:

Support for jDownloads 3 has been ended
Since 17 August 2023 Joomla.org has discontinued support for Joomla 3.x. Therefore, we will no longer offer official support for our Joomla 3 jDownloads version 3.9.x from January 2024.
Please update your website to the latest Joomla version (Joomla 4 or Joomla 5) as soon as possible. Afterwards, please update jDownloads to the latest published version. The longer you delay, the more difficult the upgrade process for your website is likely to be.

Main Menu
Support-Forum

joomla.php finder:index error when enabling smart search plugins

Started by Bucari, Yesterday at 12:23:29

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Bucari

Hi, i have a Joomla 5.2.6  installation with jDownloads Version 4.0.47.
Since i need to run every night a cron job to start a reindex using "php joomla.php finder:index" cli command, this cron job fails if i enable Smart Search - jDownloads and Smart Search - jDownloads Categories plugins.

The error is Call to a member function authorise() on null in CategoriesHelper.php line 214

How can i fix that?
  •  

ColinM

Hi
With Smart Search you do not need to re-index as it automatically adds items to the index when they are created. This one of the features of Smart Search in Joomla 5.

I do not know why your cronjob fails but maybe Smart Search cannot be started that way!!
However I did find a reference that implies it can run as a Cron Job
https://forum.joomla.org/viewtopic.php?t=1012807
https://forum.joomla.org/viewtopic.php?t=1012807#p3733316
Colin
Colin M
  •  

Bucari

I know that, but i need to reindex manually because i insert/update contacts informations directly in the db with a sql script, so the need to run the cron job.
It works, there is the error only jdownloads plugins are enabled.
  •