Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Blocker
-
Resolution: Won't Fix
-
Affects Version/s: 4.0.0
-
Fix Version/s: None
-
Component/s: Staff Interface
-
Labels:None
Description
Accessing Billing > Reports produced an error.
Call to undefined method Reports::create() on line 64 of /home/username/public_html/app/models/report_manager.php
I am not able to duplicate this on PHP 7, but am on PHP 5.6
Activity
Field | Original Value | New Value |
---|---|---|
Attachment | capture-for-jira-screenshot-20170421-095521-448.png [ 11629 ] |

Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Closed [ 6 ] |
Fix Version/s | 4.0.1 [ 11010 ] | |
Assignee | Jonathan Reissmueller [ jonathan ] | Tyson Phillips [ tyson ] |
Resolution | Won't Fix [ 2 ] |
This error is encountered if the 'Reports' model exists in /app/models/reports.php from a v3.0.0 beta installation. The autoloader appears to load that file rather than the component, probably because it traverses the file system to find that one before it gets to the component of the same name. /app/models/reports.php should be removed from the installation to resolve the error.