HI,
i have two questions.
1. When i run my cron job i am getting following error.
A PHP Error was encountered
Severity: Notice
Message: Undefined property: CI::$mdl_invoice_tax_rates
Filename: core/Model.php
Line Number: 77
Backtrace:
File: /home/domain/public_html/invoice/application/modules/invoices/models/Mdl_invoices.php
Line: 252
Function: __get
File: /home/domainname/public_html/invoice/application/modules/invoices/controllers/Cron.php
Line: 61
Function: copy_invoice
File: /home/domanname/public_html/invoice/index.php
Line: 327
Function: require_once
Fatal error: Call to a member function where() on null in /home/domainname/public_html/invoice/application/modules/invoices/models/Mdl_invoices.php on line 252
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/domainname/public_html/invoice/vendor/codeigniter/framework/system/core/Exceptions.php:271)
Filename: core/Common.php
Line Number: 564
Backtrace:
A PHP Error was encountered
Severity: Error
Message: Call to a member function where() on null
Filename: models/Mdl_invoices.php
Line Number: 252
Backtrace:
- When run the cron job the recur invoice created but with empty record.