Page 1 of 1

smart search joomla 4 an find plugin

Posted: 20 Jan 2023, 17:08
by prpoub
Hello everyone
I have a little problem with smart index.
I use phocadownload and its phoca finder plugin for smart index.
In manual mode (i.e. I index via the admin by clicking on the "index" button) it works perfectly and the searches include the files or documents of phoca download.

When I try to launch via command line in ssh

php -d memory_limit=512M joomla.php finder:index

It doesn't work, I get this error:

/var/www/html/cli# php -d memory_limit=256M joomla.php finder:index
Finder Indexer
==========================

Starting Indexer
Setting up Smart Search plugins
Setup 31 items in 1.547 seconds.

In route.php line 288:

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


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] [--] <command> [< bleed>]

An idea ?
Thanks in advance.
Rock

Re: smart search joomla 4 an find plugin

Posted: 21 Jan 2023, 20:12
by Jan
Hi, are you able to render whole error message including trace (to see where this error occurs)?

Jan

Re: smart search joomla 4 an find plugin

Posted: 23 Jan 2023, 10:29
by prpoub
Hello it's the whole error message.
how i can make a trace ?

Re: smart search joomla 4 an find plugin

Posted: 25 Jan 2023, 18:43
by Jan
Hi, which template do yo use? The standard? Because this:

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

is not a whole message. Whole message includes information about the file and line where this error occurs. Trace route then includes all other files which were run before the file with error is rendered. Enable debug mode in Joomla Global configuration and you should get whole message including trace, e.g. like this:

Image

Jan