I have a very frustrating error that when I tried to delete an account I get the following:
Fatal error: Uncaught Error: Call to a member function readInt() on null in /home/xxx/public_html/crm/modules/AOD_Index/Lib/Zend/Search/Lucene.php:264 Stack trace: #0 /home/xxx/public_html/crm/modules/AOD_Index/Lib/Zend/Search/Lucene.php(529): Zend_Search_Lucene::getActualGeneration(Object(Zend_Search_Lucene_Storage_Directory_Filesystem)) #1 /home/xxx/public_html/crm/modules/AOD_Index/Lib/Zend/Search/Lucene.php(211): Zend_Search_Lucene->__construct(‘modules/AOD_Ind…’, true) #2 /home/xxx/public_html/crm/modules/AOD_Index/AOD_Index.php(344): Zend_Search_Lucene::create(‘modules/AOD_Ind…’) #3 /home/xxx/public_html/crm/modules/AOD_Index/AOD_Index.php(330): AOD_Index->getLuceneIndex() #4 /home/xxx/public_html/crm/modules/AOD_Index/AOD_LogicHooks.php(51): AOD_Index->remove(‘Accounts’, ‘835’) #5 /home/xxx/public_html/crm/include/utils/LogicHook.php(262): AOD_LogicHooks->saveModuleDelete(Object(Account), ‘after_delete’, Array) #6 /home/xxx/public_html/crm/include/utils/LogicHook.php(204) in /home/xxx/public_html/crm/modules/AOD_Index/Lib/Zend/Search/Lucene.php on line 264
Can anybody point me in the right direction to try and resolve this issue, please?