diff --git a/cli/finder_indexer.php b/cli/finder_indexer.php index 25e16c2792f78..01854b2edf197 100644 --- a/cli/finder_indexer.php +++ b/cli/finder_indexer.php @@ -52,6 +52,7 @@ // System configuration. $config = new JConfig; +define('JDEBUG', $config->debug); // Configure error reporting to maximum for CLI output. error_reporting(E_ALL); @@ -167,7 +168,8 @@ private function index() // Reset the indexer state. FinderIndexer::resetState(); - // Import the finder plugins. + // Import the plugins. + JPluginHelper::importPlugin('system'); JPluginHelper::importPlugin('finder'); // Starting Indexer.