Hi,
I’ve been trying to print an invoice. It’s 1 of 4 and all others printed fine with the same template and others (just for, you know, giggles). I can also print old invoices for the same client (i.e. account and contact), but not the one I need.
i have tried to duplicate it - no difference, made a new invoice with the same data (thinking I messed something up) - no difference.
I am a user without experience and no knowledge in programming (languages or otherwise), so ELI5 would be appreciated.
It would be great to find out what is actually going on. Here is a recount of what happens (or rather doesn’t):
When I hit print PDF, it takes forever before a white page is shown. Error message is:
“THIS SITE DOES NOT WORK. my URL cannot handle this request.
HTTP ERROR 500”
The site with the error is: http://myURL/suitecrm/index.php?entryPoint=generatePdf
I use a local version on my laptop Version 7.11.2 Sugar Version 6.5.25 (Build 344). I have full admin rights.
Here is a copy of the log entry for the failed PDF print:
Thu May 27 08:26:47 2021 [10624][1][FATAL] [ERROR] Failed to index bean to index
Thu May 27 08:26:47 2021 [10624][1][FATAL] [ERROR] SuiteCRM\Search\Exceptions\SearchException: Elasticsearch trying to re-indexing a bean but indexer is disabled in configuration. in C:\xampp\htdocs\SuiteCRM\lib\Search\ElasticSearch\ElasticSearchHooks.php:121
Stack trace:
#0 C:\xampp\htdocs\SuiteCRM\lib\Search\ElasticSearch\ElasticSearchHooks.php(103): SuiteCRM\Search\ElasticSearch\ElasticSearchHooks->reIndex(Object(AOS_Products_Quotes))
#1 C:\xampp\htdocs\SuiteCRM\lib\Search\ElasticSearch\ElasticSearchHooks.php(76): SuiteCRM\Search\ElasticSearch\ElasticSearchHooks->reIndexSafe(Object(AOS_Products_Quotes))
#2 C:\xampp\htdocs\SuiteCRM\include\utils\LogicHook.php(272): SuiteCRM\Search\ElasticSearch\ElasticSearchHooks->beanSaved(Object(AOS_Products_Quotes), ‘after_save’, ‘’)
#3 C:\xampp\htdocs\SuiteCRM\include\utils\LogicHook.php(213): LogicHook->process_hooks(Array, ‘after_save’, ‘’)
#4 C:\xampp\htdocs\SuiteCRM\data\SugarBean.php(3129): LogicHook->call_custom_logic(‘AOS_Products_Qu…’, ‘after_save’, ‘’)
#5 C:\xampp\htdocs\SuiteCRM\data\SugarBean.php(2442): SugarBean->call_custom_logic(‘after_save’, ‘’)
#6 C:\xampp\htdocs\SuiteCRM\modules\AOS_Products_Quotes\AOS_Products_Quotes.php(129): SugarBean->save(false)
#7 C:\xampp\htdocs\SuiteCRM\modules\AOS_Products_Quotes\AOS_Products_Quotes.php(118): AOS_Products_Quotes->save()
#8 C:\xampp\htdocs\SuiteCRM\modules\AOS_Line_Item_Groups\AOS_Line_Item_Groups.php(112): AOS_Products_Quotes->save_lines(Array, Object(AOS_Invoices), Array, ‘product_’)
#9 C:\xampp\htdocs\SuiteCRM\modules\AOS_Invoices\AOS_Invoices.php(88): AOS_Line_Item_Groups->save_groups(Array, Object(AOS_Invoices), ‘group_’)
#10 C:\xampp\htdocs\SuiteCRM\include\MVC\Controller\SugarController.php(684): AOS_Invoices->save(false)
#11 C:\xampp\htdocs\SuiteCRM\include\MVC\Controller\SugarController.php(525): SugarController->action_save()
#12 C:\xampp\htdocs\SuiteCRM\include\MVC\Controller\SugarController.php(494): SugarController->do_action()
#13 C:\xampp\htdocs\SuiteCRM\include\MVC\Controller\SugarController.php(468): SugarController->handle_action()
#14 C:\xampp\htdocs\SuiteCRM\include\MVC\Controller\SugarController.php(373): SugarController->process()
#15 C:\xampp\htdocs\SuiteCRM\include\MVC\SugarApplication.php(113): SugarController->execute()
#16 C:\xampp\htdocs\SuiteCRM\index.php(52): SugarApplication->execute()
#17 {main}