When I try to index for smart search I get the following error message from the Kunena Plugin:
Code:
Error Uncaught Throwable of type Error thrown with message "Call to a member function getIdentity() on null". Stack trace: #0 [ROOT]/plugins/finder/kunena/kunena.php(488): PlgFinderKunena->getAccessLevel(2)
#1 [ROOT]/plugins/finder/kunena/kunena.php(444): PlgFinderKunena->createIndexerResult(Object(Kunena\Forum\Libraries\Forum\Message\KunenaMessage))
#2 [ROOT]/plugins/finder/kunena/kunena.php(261): PlgFinderKunena->getItems(0, 50)
#3 [ROOT]/libraries/src/Plugin/CMSPlugin.php(284): PlgFinderKunena->onBuildIndex()
#4 [ROOT]/libraries/vendor/joomla/event/src/Dispatcher.php(486): Joomla\CMS\Plugin\CMSPlugin->Joomla\CMS\Plugin\{closure}(Object(Joomla\Event\Event))
#5 [ROOT]/libraries/src/Application/EventAware.php(111): Joomla\Event\Dispatcher->dispatch('onBuildIndex', Object(Joomla\Event\Event))
#6 [ROOT]/administrator/components/com_finder/src/Controller/IndexerController.php(172): Joomla\CMS\Application\WebApplication->triggerEvent('onBuildIndex')
#7 [ROOT]/libraries/src/MVC/Controller/BaseController.php(678): Joomla\Component\Finder\Administrator\Controller\IndexerController->batch()
#8 [ROOT]/libraries/src/Dispatcher/ComponentDispatcher.php(143): Joomla\CMS\MVC\Controller\BaseController->execute('batch')
#9 [ROOT]/libraries/src/Component/ComponentHelper.php(361): Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch()
#10 [ROOT]/libraries/src/Application/AdministratorApplication.php(143): Joomla\CMS\Component\ComponentHelper::renderComponent('com_finder')
#11 [ROOT]/libraries/src/Application/AdministratorApplication.php(186): Joomla\CMS\Application\AdministratorApplication->dispatch()
#12 [ROOT]/libraries/src/Application/CMSApplication.php(293): Joomla\CMS\Application\AdministratorApplication->doExecute()
#13 [ROOT]/administrator/includes/app.php(61): Joomla\CMS\Application\CMSApplication->execute()
#14 [ROOT]/administrator/index.php(32): require_once('/home/xsharp.eu...')
I am using Kunena 6.1.1 and Joomla 4.3.2
When I disable the Kunena plugin then the smart search indexer completes succesfully.
What could be causing this?
Please note that we migrated from Joomla 3 to Joomla 4 and Kunena 5 to Kunena 6 this week.
Maybe there are some columns in the table that are not correctly filled or maybe the configuration has a problem?
Robert