Uploaded image for project: 'InvoicePlane'
  1. InvoicePlane
  2. IP-577

Undefined property: CI::$mdl_invoice_tax_rates

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: v1.5.5
    • Component/s: None
    • Labels:
      None
    • Environment:

      Description

      When fetching the URL “/invoices/cron/recur/KEY”, 2 PHP errors are thrown at us [the new invoice gets created but major details (items etc.) are missing and the “next date” @invoices/recurring/index isn’t renewed]:

       

      A PHP Error was encountered

      Severity: Notice
      Message: Undefined property: CI::$mdl_invoice_tax_rates
      Filename: core/Model.php
      Line Number: 77

      Backtrace:
      File: ***/invoiceplane/application/modules/invoices/models/Mdl_invoices.php
      Line: 252
      Function: __get

      File: ***/invoiceplane/application/modules/invoices/controllers/Cron.php
      Line: 61
      Function: copy_invoice

      File: ***/invoiceplane/index.php
      Line: 327
      Function: require_once

      -

      Fatal error: Call to a member function where() on null in ***/invoiceplane/application/modules/invoices/models/Mdl_invoices.php on line 252
      A PHP Error was encountered

      Severity: Error
      Message: Call to a member function where() on null
      Filename: models/Mdl_invoices.php
      Line Number: 252
      (No useful backtrace given.)

        Gliffy Diagrams

          Attachments

            Structure

              Activity

                People

                • Assignee:
                  kovah Kovah
                  Reporter:
                  cpu4you Computer Projects Unlimited Ges.m.b.H.
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Structure Helper Panel