Dashlets Not Returning Data Despite Data Being Present

Hi all!

I’m having an issue where none of my dashlets display any data. The data is there, but its not being displayed by the dashlets (outcome by month, my top opportunities, etc). They were working a few weeks ago, and all of a sudden stopped working.
I would be most appreciative if you could shine some light into this issue as I´ve been working for awhile now and I dont know where else to look for help. I have other projects on SugarCRM and those seem to be working just fine. It´s just this one thats acting up. Maybe a file that renders the dashlets got corrupted or something like that, but I dont know which files affect the dashlets, as I am new to SugarCRM.
Again, I’d really appreciate your insight on this!

Sincerely,

Mauricio.

Hi,

maybe try going into Admin/Repair and selecting a couple of those options:

  • quick repair and rebuild

  • Rebuild SuiteCRM Dashlets

if it doesn’t work try it in a different browser, and check your logs to see if there are any relevant errors.

Hi there,

Thank you for your response, I’ve tried the steps mentioned above to no avail. I will check the logs to see if I might find any useful information there. Is there anything else you can think of?

I really appreciate your help.

Mauricio.

You can always reset your permissions, if this is Linux.

And perhaps try with a different user, or even with a newly created user. And then try would a different theme. These tests might helkp narrow down the cause of the problem.

The logs probably contain more direct clues, so that’s the best option to start with: suitecrm.log and php_errors.log

Hmmm, I checked the log and this is what it is throwing at me:

[Wed May 03 14:46:07 2017] [error] [client 172.16.108.244] PHP Notice: Undefined property: JotPadDashlet::$seedBean in /sugarcrm/sugarapp/crmces/include/Dashlets/Dashlet.php on line 245
[Wed May 03 14:46:07 2017] [error] [client 172.16.108.244] PHP Notice: Trying to get property of non-object in /sugarcrm/sugarapp/crmces/include/Dashlets/Dashlet.php on line 245
[Wed May 03 14:46:07 2017] [error] [client 172.16.108.244] PHP Warning: Smarty error: Falta campo requerido:file in /sugarcrm/sugarapp/crmces/include/Smarty/Smarty.class.php on line 1094
[Wed May 03 14:46:07 2017] [error] [client 172.16.108.244] PHP Notice: Undefined index: labelsAndValues in /sugarcrm/sugarapp/crmces/modules/Charts/Dashlets/OutcomeByMonthDashlet/OutcomeByMonthDashlet.php on line 123
[Wed May 03 14:46:07 2017] [error] [client 172.16.108.244] PHP Notice: Undefined property: OutcomeByMonthDashlet::$seedBean in /sugarcrm/sugarapp/crmces/include/Dashlets/Dashlet.php on line 245
[Wed May 03 14:46:07 2017] [error] [client 172.16.108.244] PHP Notice: Trying to get property of non-object in /sugarcrm/sugarapp/crmces/include/Dashlets/Dashlet.php on line 245
[Wed May 03 14:46:07 2017] [error] [client 172.16.108.244] PHP Warning: Smarty error: Falta campo requerido:file in /sugarcrm/sugarapp/crmces/include/Smarty/Smarty.class.php on line 1094
[Wed May 03 14:46:23 2017] [error] [client 172.16.108.244] PHP Notice: Undefined property: JotPadDashlet::$seedBean in /sugarcrm/sugarapp/crmces/include/Dashlets/Dashlet.php on line 245
[Wed May 03 14:46:23 2017] [error] [client 172.16.108.244] PHP Notice: Trying to get property of non-object in /sugarcrm/sugarapp/crmces/include/Dashlets/Dashlet.php on line 245,
[Wed May 03 14:46:23 2017] [error] [client 172.16.108.244] PHP Warning: Smarty error: Falta campo requerido:file in /sugarcrm/sugarapp/crmces/include/Smarty/Smarty.class.php on line 1094
[Wed May 03 14:46:23 2017] [error] [client 172.16.108.244] PHP Notice: Undefined index: labelsAndValues in /sugarcrm/sugarapp/crmces/modules/Charts/Dashlets/OutcomeByMonthDashlet/OutcomeByMonthDashlet.php on line 123
[Wed May 03 14:46:23 2017] [error] [client 172.16.108.244] PHP Notice: Undefined property: OutcomeByMonthDashlet::$seedBean in /sugarcrm/sugarapp/crmces/include/Dashlets/Dashlet.php on line 245
[Wed May 03 14:46:23 2017] [error] [client 172.16.108.244] PHP Notice: Trying to get property of non-object in /sugarcrm/sugarapp/crmces/include/Dashlets/Dashlet.php on line 245
[Wed May 03 14:46:23 2017] [error] [client 172.16.108.244] PHP Warning: Smarty error: Falta campo requerido:file in /sugarcrm/sugarapp/crmces/include/Smarty/Smarty.class.php on line 1094

Theres some stuff about Zucker Reports thats missing from my files, but I’m not sure if that affects it. I dont even know what that does. Also, I see it does make mention to OutcomeByMonthDashlet, specifically it mentions Undefined property: OutcomeByMonthDashlet::$seedBean . Im trying to look that up, But I dont see much information nor am I too sure why that error is being thrown.

I appreciate your comments!

Mauricio.

Now that I’m paying attention, it seems you’re running SugarCRM, not SuiteCRM. You’re in the wrong forums, then…

I dont know why it says SugarCRM, in the file structure, but this is an instance of SuiteCRM.

Ok, correct forums then. : - )

In the logs you should ignore “Notices” and “Information” and just look at “Fatal” and “Error” messages, or perhaps “Warning” messages if you have to.

And look for errors that happen in the exact moment the screen loads.

Have you tried the other diagnostics I suggested above?

I did! thank you so much for the information! As it turned out, it was an issue with a dropdown list that the dashlet uses to generate the report. We had created our own dropdown list, and as a result, the values werent matching up with the ones SuiteCRM uses.

Again, many thanks for your input. Much appreciated!