Menu
SuiteCRM Pull Request Party hosted by SalesAgility
Welcome, Guest
Username: Password: Remember me

TOPIC: PDF - Templates calling deleted custom modules

PDF - Templates calling deleted custom modules 2 months 1 week ago #79068

  • urbanite
  • urbanite's Avatar
  • Offline
  • Junior Member
  • Posts: 27
  • Thank you received: 2
  • Karma: 0
Hi all,

Since upgrading to 7.11.2 I've been unable to create a new PDF - Template, upon clicking Create I get the following error
Notice: Undefined index: UMAP_purchaseorders in /var/www/html/suitecrm/modules/AOS_PDF_Templates/views/view.edit.php on line 104

Fatal error: Uncaught Error: Class name must be a valid object or a string in /var/www/html/suitecrm/modules/AOS_PDF_Templates/views/view.edit.php:105 Stack trace: #0 /var/www/html/suitecrm/modules/AOS_PDF_Templates/views/view.edit.php(32): AOS_PDF_TemplatesViewEdit->setFields() #1 /var/www/html/suitecrm/include/MVC/View/SugarView.php(226): AOS_PDF_TemplatesViewEdit->display() #2 /var/www/html/suitecrm/include/MVC/Controller/SugarController.php(435): SugarView->process() #3 /var/www/html/suitecrm/include/MVC/Controller/SugarController.php(375): SugarController->processView() #4 /var/www/html/suitecrm/include/MVC/SugarApplication.php(113): SugarController->execute() #5 /var/www/html/suitecrm/index.php(52): SugarApplication->execute() #6 {main} thrown in /var/www/html/suitecrm/modules/AOS_PDF_Templates/views/view.edit.php on line 105

The module it says is undefined is an old module I removed and deleted some time ago. Where exactly is the PDF - template module picking these older modules from?

Thanks

Urbanite
The administrator has disabled public write access.

PDF - Templates calling deleted custom modules 2 months 1 week ago #79084

  • urdhvatech
  • urdhvatech's Avatar
  • Offline
  • SuiteCRM Is My Life
  • Official code partner
  • Posts: 556
  • Thank you received: 114
  • Karma: 19
Hello,

How you have removed that module? Are you sure you have removed all files and relationships from files and database?
As per the line no. of code, You might have some relate field which belongs to a deleted module.
Thanks & Regards,
Team Urdhva Tech
Web : www.urdhva-tech.com
Skype : urdhvatech

- Official code partner
- Official Integration partner
The administrator has disabled public write access.

PDF - Templates calling deleted custom modules 2 months 1 week ago #79087

  • urbanite
  • urbanite's Avatar
  • Offline
  • Junior Member
  • Posts: 27
  • Thank you received: 2
  • Karma: 0
It was removed using the module loader.

There are no relationships nor tables. I cannot find any relate fields in our database either. Obviously there is something but I'm not sure where else to look.

There aren't any errors in suitecrm.log either.
The administrator has disabled public write access.

PDF - Templates calling deleted custom modules 2 months 1 week ago #79089

  • urdhvatech
  • urdhvatech's Avatar
  • Offline
  • SuiteCRM Is My Life
  • Official code partner
  • Posts: 556
  • Thank you received: 114
  • Karma: 19
Do search text "UMAP_purchaseorders" in a custom and cache directory in your code. You will find entry if exist.

Have you tried to quick repair & rebuild from admin?
Thanks & Regards,
Team Urdhva Tech
Web : www.urdhva-tech.com
Skype : urdhvatech

- Official code partner
- Official Integration partner
The administrator has disabled public write access.
The following user(s) said Thank You: urbanite

PDF - Templates calling deleted custom modules 1 month 2 weeks ago #79967

  • urbanite
  • urbanite's Avatar
  • Offline
  • Junior Member
  • Posts: 27
  • Thank you received: 2
  • Karma: 0
Was the in cache!

Thanks

Urbanite
The administrator has disabled public write access.

PDF - Templates calling deleted custom modules 1 month 2 weeks ago #79968

  • urbanite
  • urbanite's Avatar
  • Offline
  • Junior Member
  • Posts: 27
  • Thank you received: 2
  • Karma: 0
Was in the cache!

Thanks

Urbanite
The administrator has disabled public write access.
Time to create page: 0.040 seconds
Powered by Kunena Forum