mirror of
https://github.com/SuiteCRM/SuiteCRM.git
synced 2026-03-02 19:16:58 -05:00
Calendar not working 7.8.2 #1846
Labels
No labels
Area: API
Area: Campaigns
Area: Cases
Area: Clean Up
Area: Clean Up: Performance
Area: Dashlets
Area: Databases
Area: Developer Tools
Area: Elasticsearch
Area: Elasticsearch
Area: Emails
Area: Emails:Campaigns
Area: Emails:Cases
Area: Emails:Compose
Area: Emails:Config
Area: Emails:Templates
Area: Environment
Area: Installation
Area: Language
Area: Mobile
Area: Module
Area: PDFs
Area: PHP8
Area: Reports
Area: Studio
Area: Styling
Area: Upgrading
Area: Workflow
Area:Activity Stream
Area:Calls
Area:Import
Area:Projects
Area:Search
Area:Surveys
Area:Themes
Area:Users
Branch:Hotfix
Good First Issue
Hacktoberfest
Help Wanted
PR:Community Contribution
PR:Type:Enhancement
Priority:Critical
Priority:Important
Priority:Moderate
Severity: Major
Severity: Minor
Severity: Moderate
Status: Requires Code Review
Status: Requires Updates
Status: Stale
Status: Team Investigating
Status:Assessed
Status:Fix Proposed
Status:Needs Assessed
Status:Requires Automated Tests
Type: Bug
Type:Deprecated
Type:Discussion
Type:Duplicate
Type:Invalid
Type:Question
Type:Suggestion
Type:Suggestion
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/SuiteCRM-SuiteCRM#1846
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @bellbot on GitHub (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
@CamoMacdonald commented on GitHub (Apr 13, 2017):
@bellbot This has been fixed in 7.8.3 #3225