Sugar Version 6.5.25 (version de construction 344)
I get this message when trying create a new pdf template
Fatal error: Uncaught Error: Class name must be a valid object or a string in /home/clients/c04e971e73295380f107cb85fa890da2/web/NDLcrm/modules/AOS_PDF_Templates/views/view.edit.php:104 Stack trace: #0 /home/clients/c04e971e73295380f107cb85fa890da2/web/NDLcrm/modules/AOS_PDF_Templates/views/view.edit.php(31): AOS_PDF_TemplatesViewEdit->setFields() #1 /home/clients/c04e971e73295380f107cb85fa890da2/web/NDLcrm/include/MVC/View/SugarView.php(226): AOS_PDF_TemplatesViewEdit->display() #2 /home/clients/c04e971e73295380f107cb85fa890da2/web/NDLcrm/include/MVC/Controller/SugarController.php(435): SugarView->process() #3 /home/clients/c04e971e73295380f107cb85fa890da2/web/NDLcrm/include/MVC/Controller/SugarController.php(375): SugarController->processView() #4 /home/clients/c04e971e73295380f107cb85fa890da2/web/NDLcrm/include/MVC/SugarApplication.php(113): SugarController->execute() #5 /home/clients/c04e971e73295380f107cb85fa890da2/web/NDLcrm/index.php(52): SugarApplication->execute() #6 {main} thrown in /home/clients/c04e971e73295380f107cb85fa890da2/web/NDLcrm/modules/AOS_PDF_Templates/views/view.edit.php on line 104
I have the same issue.
Some body can help ??
Trying to create a template : Fatal error : Uncaught Error: Class name must be a valid object or a string in /modules/AOS_PDF_Templates/views/view.edit.php:104 Stack trace: #0 /…/modules/AOS_PDF_Templates/views/view.edit.php(31): AOS_PDF_TemplatesViewEdit->setFields() #1 /…/include/MVC/View/SugarView.php(226): AOS_PDF_TemplatesViewEdit->display() #2/…/include/MVC/Controller/SugarController.php(435): SugarView->process() #3 /…/include/MVC/Controller/SugarController.php(375): SugarController->processView() #4 /…/include/MVC/SugarApplication.php(113): SugarController->execute() #5/…/index.php(52): SugarApplication->execute() #6 {main} thrown in //…/modules/AOS_PDF_Templates/views/view.edit.php on line 104
By the way, to anyone coming into this thread - I think the real solution to this problem is to ensure you have the mbstring PHP extension installed and enabled in your PHP.
It is a requirement for SuiteCRM, and is used in many other places.
Where I am trying to get at is: did you serve the phpinfo through the web server, or through CLI? These are two different brands of PHP, and people often confuse the two.
The correct way to check is either
phpinfo file, accessed through web server
OR
Admin / Diagnostics / phpinfo - from here you can see your effective PHP modules, and confirm your php.ini path, etc.