Custom module broke the Reports module

Hi,

So yesterday I created a custom Module with the ModuleBuilder, and I the same evening I deleted it because it was actually not necessary.

Then something strange happend with the Report Module (as you can see here: 01.05.2016-11.45.47 - SolidTerre's library )

When I took a look at the PHP log files it was showing this error:

[05-Jan-2016 12:48:17 Europe/Brussels] PHP Fatal error:  Class 'Visit_Visits' not found in /var/www/sugar_prod/modules/Reports/templates/templates_modules_def_js.php on line 57

So for some reason that template file is still calling the inexistant module. Can someone help me fix that by saying me how I can manually remove this call?

I tried the "Quick repair and rebuild" function, still nothing works btw.

Thank you very much.

Kindly,

SolidTerre

Parents Reply
  • Look at the files referenced in the code you copied.

    custom/Extension/application/Ext/Include/Visits.php

    and

    custom/Extension/application/Ext/Include/MeetingReports.php

    If the code is there it will be re-included when you do a QRR (Quick Repair Rebuild). You will need to remove those files if you don't want them to come back.

    Any changes you make, should be made in custom/Extension/application/Ext and not in application/Ext as the latter is rebuilt with every QRR

    HTH
    Francescas

Children
No Data