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

        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.

          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: