New to Suite CRM, I am getting the below error when trying to create a PDF Template. Is it possible for anyone to assist in solving this error?
Fatal error: Uncaught Error: Class name must be a valid object or a string in /home/ehportal/public_html/crm/modules/AOS_PDF_Templates/views/view.edit.php:105 Stack trace: #0 /home/ehportal/public_html/crm/modules/AOS_PDF_Templates/views/view.edit.php(32): AOS_PDF_TemplatesViewEdit->setFields() #1 /home/ehportal/public_html/crm/include/MVC/View/SugarView.php(211): AOS_PDF_TemplatesViewEdit->display() #2 /home/ehportal/public_html/crm/include/MVC/Controller/SugarController.php(435): SugarView->process() #3 /home/ehportal/public_html/crm/include/MVC/Controller/SugarController.php(375): SugarController->processView() #4 /home/ehportal/public_html/crm/include/MVC/SugarApplication.php(113): SugarController->execute() #5 /home/ehportal/public_html/crm/index.php(52): SugarApplication->execute() #6 {main} thrown in /home/ehportal/public_html/crm/modules/AOS_PDF_Templates/views/view.edit.php on line 105
Can you please tell me which module you are creating the Template for, and which variable is actually causing the problem?
I think it is some variable from a related module. If you can try removing a few variables, see if it works, until you figure out exactly which one is breaking the template.
Fatal error: Uncaught Error: Class name must be a valid object or a string in /home/clients/c04e971e73295380f107cb85fa890da2/web/crm.ndlab.fr/modules/AOS_PDF_Templates/views/view.edit.php:103 Stack trace: #0 /home/clients/c04e971e73295380f107cb85fa890da2/web/crm.ndlab.fr/modules/AOS_PDF_Templates/views/view.edit.php(27): AOS_PDF_TemplatesViewEdit->setFields() #1 /home/clients/c04e971e73295380f107cb85fa890da2/web/crm.ndlab.fr/include/MVC/View/SugarView.php(226): AOS_PDF_TemplatesViewEdit->display() #2 /home/clients/c04e971e73295380f107cb85fa890da2/web/crm.ndlab.fr/include/MVC/Controller/SugarController.php(435): SugarView->process() #3 /home/clients/c04e971e73295380f107cb85fa890da2/web/crm.ndlab.fr/include/MVC/Controller/SugarController.php(375): SugarController->processView() #4 /home/clients/c04e971e73295380f107cb85fa890da2/web/crm.ndlab.fr/include/MVC/SugarApplication.php(113): SugarController->execute() #5 /home/clients/c04e971e73295380f107cb85fa890da2/web/crm.ndlab.fr/index.php(52): SugarApplication->execute() #6 {mai in /home/clients/c04e971e73295380f107cb85fa890da2/web/crm.ndlab.fr/modules/AOS_PDF_Templates/views/view.edit.php on line 103