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?
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
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.