After trying to add a chart Dashlet in the Dashboard of my Home Page, the latter doesn’t display the Dashboard anymore:
I’ve tried to run several repair tools (including the quick repair and rebuild), and looked at the options that I may have to reinitialize the module (dashboard?), but I didn’t find the solution. It looks like it’s an Ajax issue, maybe because a chart is trying to load?
I was logged in as the admin when the problem occurred: please note that I’m experiencing this issue only with such account (when I log in as a standard user, everything is fine).
Could you confirm your SuiteCRM Version, PHP Version and Hosting Environment (Apache2, Nginx, IIS)?
thank you for your reply. Here you have the required info:
If that X in the PHP version is 0, 1, 2 or 3, you’re ok. If it’s 4, you’re not.
You’re getting a 500, a server crash. There is probably an error message in your PHP log - the one defined by the
error_log entry in your
Thank you for the pointing me in this direction.
The exact PHP is 7.3.6.
Here are the errors:
Warning : Invalid argument supplied for foreach() in …/htdocs/modules/Charts/Dashlets/CampaignROIChartDashlet/CampaignROIChartDashlet.php on line 339
Deprecated : Non-static method DBManager::convert() should not be called statically in …/htdocs/modules/Charts/Dashlets/MyPipelineBySalesStageDashlet/MyPipelineBySalesStageDashlet.php on line 379
Fatal error : Uncaught Error: Cannot call abstract method DBManager::convert() in …/htdocs/modules/Charts/Dashlets/MyPipelineBySalesStageDashlet/MyPipelineBySalesStageDashlet.php:379 Stack trace: #0
…/htdocs/modules/Charts/Dashlets/MyPipelineBySalesStageDashlet/MyPipelineBySalesStageDashlet.php(129): MyPipelineBySalesStageDashlet->constructQuery() #1
…/htdocs/modules/Home/index.php(246): MyPipelineBySalesStageDashlet->display() #2
…/htdocs/modules/Home/views/view.list.php(54): include(’/home/vol10_1/e…’) #3
…/htdocs/include/MVC/View/SugarView.php(226): HomeViewList->display() #4
…/htdocs/include/MVC/Controller/SugarController.php(435): SugarView->process() #5
…/htdocs/include/MVC/Controller/SugarController.php(375): SugarController->processView() #6 /home/vol10_1/epizy.com/ in …/htdocs/modules/Charts/Dashlets/MyPipelineBySalesStageDashlet/MyPipelineBySalesStageDashlet.php on line 379
Now, renaming the directories
Obviously fixed the issue (the dashboard came back), since these three dashlets appear to be somehow corrupted.
However my initial goal was to include these charts in my dashboard. Starting from this point, do you have any advice on how could I achieve that (at least how to “reset” those dashlets, if this is the problem)?
This might be the fix you need, but I am not sure
It might be your PHP version. According to the Compatibility Matrix
PHP 7.3 is supported on SuiteCRM versions 7.11.5 and up.
I tested that this issue was not within 7.11.13 recently with no issues. maybe upgrading to the latest version could resolve your issues
@oxilnovo22 Please ignore my previous post. Your PHP version should be good for your SuiteCRM Version.
Based on the error It looks like an Ajax issue. Please customize and try to go to the following link in your installation:
Please let us know if it works,