IBM Support

In Method Composer published websites, 'PHP Fatal error' occurs when searching

Troubleshooting


Problem

In IBM Engineering Lifecycle Optimization – Method Composer (MEC), publishing websites is successful by following the documents.
However, search function with some words fails with the following error.
PHP Fatal error: Uncaught Zend_Search_Lucene_Exception: Field name "searchicon" not found in document.

Symptom

On MEC UI:
"Search started to run... " message is displayed, then nothing happens.

PHP log shows:
[10-Jan-2022 13:34:45 Asia/Sydney] PHP Notice: Undefined index: searchType in C:\public\htmlfile\search\PHPSearch.php on line 15
[10-Jan-2022 13:34:45 Asia/Sydney] PHP Notice: Undefined index: cbValue in C:\public\htmlfile\search\PHPSearch.php on line 16
[10-Jan-2022 13:34:45 Asia/Sydney] PHP Notice: Undefined index: txtTags in C:\public\htmlfile\search\PHPSearch.php on line 17
[10-Jan-2022 13:34:45 Asia/Sydney] PHP Fatal error: Uncaught Zend_Search_Lucene_Exception: Field name "searchicon" not found in document.
in C:\Apps\Zend\ZendFramework-1.12.20\library\Zend\Search\Lucene\Document.php:104
Stack trace:
#0 C:\Apps\Zend\ZendFramework-1.12.20\library\Zend\Search\Lucene\Document.php(118): Zend_Search_Lucene_Document->getField('searchicon')
#1 C:\public\htmlfile\search\SearchContext.php(105): Zend_Search_Lucene_Document->getFieldValue('searchicon')
#2 C:\public\htmlfile\search\SearchContext.php(53): SearchContext->_doSearch()
#3 C:\public\htmlfile\search\PHPSearch.php(40): SearchContext->__construct('http://rmc_test...';, 'ABC', '10')
#4 {main}
 thrown in C:\Apps\Zend\ZendFramework-1.12.20\library\Zend\Search\Lucene\Document.php on line 104
...

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS7DVG","label":"IBM Engineering Lifecycle Optimization - Method Composer"},"ARM Category":[{"code":"a8m50000000CjGvAAK","label":"ELO Method Composer-\u003EGeneral Support Issues-\u003EDefect Updates"}],"ARM Case Number":"TS007745821","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.6.1"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
04 May 2022

UID

ibm16561811