mirror of
https://github.com/SuiteCRM/SuiteCRM.git
synced 2026-03-02 19:16:58 -05:00
Upgrade from 7.6.x to 7.7 generates strict standards errors (2633 times) #1061
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#1061
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 @RichardLukins on GitHub (Aug 10, 2016).
Issue
Upgrading a very basic unchanged 7.6.x (7.6.3 but failed to make a note of it, sorry!) and not customised and never upgraded previously install, generates 2633 errors during upgrade
Expected Behavior
Error free upgrade!
Actual Behavior
After Pre-Flight checks all passed and upgrade clicked, this error is generated:
Strict Standards: Only variables should be passed by reference in /var/sites/c/crm.XYZ.com/public_html/include/SubPanel/SubPanelDefinitions.php on line 102
This error occurred 2633 times during the upgrade
Possible Fix
Are these just warnings, if so what should be configured differently to avoid them?
Should the preflight have generated a warning and recommend the corrective action in future?
The install had not been upgraded previously, and no alterations of system parameters had been done
Improve pre-flight checks if a configuration issue or upgrade process to avoid such error generation, or simplify output to a single error rather than 2633 of them!
Steps to Reproduce
Context
Test Upgrade files
Your Environment
Server information
Linux #6 SMP Fri May 20 17:37:06 BST 2011 x86_64
Server software version Apache
PHP version 5.6.22
Memory limit 128M
MySQL version 5.6.30
@RichardLukins commented on GitHub (Aug 11, 2016):
Changing the error reporting in the PHP.ini file to this:
error_reporting=E_ALL & ~E_DEPRECATED & ~E_STRICT
fixes the issue, although not why the upgrade is not "strict" compliant?!
@garrettw commented on GitHub (Nov 8, 2016):
I just installed SuiteCRM on my web server yesterday and I'm getting tons of "Strict Standards" error messages too. They break the layout quite badly.
@Dillon-Brown commented on GitHub (Sep 21, 2017):
No longer relevant as 7.6.x and 7.7.x are no longer supported. Please create a new issue if you are still encountering this problem in later versions. Thanks.