Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-2374

Accessing Billing > Reports results in an error

    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

        admin Paul Phillips created issue -
        admin Paul Phillips made changes -
        Field Original Value New Value
        Attachment capture-for-jira-screenshot-20170421-095521-448.png [ 11629 ]
        Automated transition triggered when Jonathan Reissmueller created a branch in Stash -
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        tyson Tyson Phillips (Inactive) added a comment -

        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.

        Show
        tyson Tyson Phillips (Inactive) added a comment - 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.
        tyson Tyson Phillips (Inactive) made changes -
        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 ]

          People

          • Assignee:
            tyson Tyson Phillips (Inactive)
            Reporter:
            admin Paul Phillips
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: