Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calendar not working 7.8.2 #3395

Closed
bellbot opened this issue Apr 13, 2017 · 1 comment
Closed

Calendar not working 7.8.2 #3395

bellbot opened this issue Apr 13, 2017 · 1 comment

Comments

@bellbot
Copy link

bellbot commented Apr 13, 2017

Calendar not showing.

Issue

There was an inproper decalatrion of variable in "CalendarDisplay.php" which cause PHP fatal error:
PHP Fatal error: Uncaught Error: [] operator not supported for strings in C:\inetpub\wwwroot\examplesuite\modules\Calendar\CalendarDisplay.php:178
Stack trace:
#0 C:\inetpub\wwwroot\examplesuite\modules\Calendar\index.php(99): CalendarDisplay->display()
#1 C:\inetpub\wwwroot\examplesuite\include\MVC\View\SugarView.php(761): include_once('C:\inetpub\wwwr...')
#2 C:\inetpub\wwwroot\examplesuite\include\MVC\View\views\view.classic.php(74): SugarView->includeClassicFile('modules/Calenda...')
#3 C:\inetpub\wwwroot\examplesuite\include\MVC\View\SugarView.php(169): ViewClassic->display()
#4 C:\inetpub\wwwroot\examplesuite\include\MVC\Controller\SugarController.php(363): SugarView->process()
#5 C:\inetpub\wwwroot\examplesuite\include\MVC\Controller\SugarController.php(310): SugarController->processView()
#6 C:\inetpub\wwwroot\examplesuite\include\MVC\SugarApplication.php(105): SugarController->execute()
#7 C:\inetpub\wwwroot\examplesuite\index.php(51): SugarApplication->execute()
#8 {main}
thrown in C:\inetpub\wwwroot\examplesuite\modules\Calendar\CalendarDisplay.php on line 178

Expected Behavior

Browse Calendar properly.

Actual Behavior

Calendar not showing.

Possible Fix

After changing declaration: $location_array = "";
to: $location_array = Array();
Calendar seems to work fine.

Steps to Reproduce

Context

Noticed right after installing fresh SuiteCRM 7.8.2

Your Environment

  • SuiteCRM Version used: Version 7.8.2
  • Environment name and version (e.g. MySQL, PHP 7): PHP 7.1.1, MSSQL
  • Operating System and version (e.g Ubuntu 16.04): Windows Server 2012 R2 Standard
@CamoMacdonald
Copy link

@bellbot This has been fixed in 7.8.3 #3225

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants