Details
Description
Undefined property: Invoices::$ServiceInvoices on line 1116 in C:\wamp64\www\blesta\public_html\app\models\invoices.php
Printing Stack Trace:
#0 [internal function]: UnknownException::setErrorHandler(8, 'Undefined prope...', 'C:\\wamp64\\www
b...', 1116, Array)
#1 C:\wamp64\www\blesta\public_html\vendors\monolog\monolog\src\Monolog\ErrorHandler.php(164): call_user_func(Array, 8, 'Undefined prope...', 'C:\\wamp64\\www
b...', 1116, Array)
#2 C:\wamp64\www\blesta\public_html\app\models\invoices.php(1116): Monolog\ErrorHandler->handleError(8, 'Undefined prope...', 'C:\\wamp64\\www
b...', 1116, Array)
#3 C:\wamp64\www\blesta\public_html\app\controllers\admin_clients.php(5701): Invoices->appendServices('6929', Array)
#4 C:\wamp64\www\blesta\public_html\app\controllers\admin_clients.php(5580): AdminClients->createService(Array, Array)
#5 C:\wamp64\www\blesta\public_html\app\controllers\admin_clients.php(4573): AdminClients->processServiceStep('confirm', Object(stdClass), Object(stdClass), Object(stdClass))
#6 C:\wamp64\www\blesta\public_html\vendors\minphp\bridge\src\Lib\Dispatcher.php(143): AdminClients->addService()
#7 C:\wamp64\www\blesta\public_html\index.php(21): Dispatcher::dispatch('/blesta/public_...')
#8 {main}
This code needs to be added at the start of the method:
if (!isset($this->ServiceInvoices)) { Loader::loadModels($this, ['ServiceInvoices']); }
This bug was introduced by CORE-2167
Issue Links
- relates to
-
CORE-2167 Services may renew for paid invoices that are not necessarily for the renewal
- Closed
Activity
Description |
{quote}
Undefined property: Invoices::$ServiceInvoices on line 1116 in C:\wamp64\www\blesta\public_html\app\models\invoices.php Printing Stack Trace: #0 \[internal function]: UnknownException::setErrorHandler(8, 'Undefined prope...', 'C:\\wamp64\\www\\b...', 1116, Array) #1 C:\wamp64\www\blesta\public_html\vendors\monolog\monolog\src\Monolog\ErrorHandler.php(164): call_user_func(Array, 8, 'Undefined prope...', 'C:\\wamp64\\www\\b...', 1116, Array) #2 C:\wamp64\www\blesta\public_html\app\models\invoices.php(1116): Monolog\ErrorHandler->handleError(8, 'Undefined prope...', 'C:\\wamp64\\www\\b...', 1116, Array) #3 C:\wamp64\www\blesta\public_html\app\controllers\admin_clients.php(5701): Invoices->appendServices('6929', Array) #4 C:\wamp64\www\blesta\public_html\app\controllers\admin_clients.php(5580): AdminClients->createService(Array, Array) #5 C:\wamp64\www\blesta\public_html\app\controllers\admin_clients.php(4573): AdminClients->processServiceStep('confirm', Object(stdClass), Object(stdClass), Object(stdClass)) #6 C:\wamp64\www\blesta\public_html\vendors\minphp\bridge\src\Lib\Dispatcher.php(143): AdminClients->addService() #7 C:\wamp64\www\blesta\public_html\index.php(21): Dispatcher::dispatch('/blesta/public_...') #8 \{main} {quote} This code needs to be added at the start of the method: {code} if (!isset($this->ServiceInvoices)) { Loader::loadModels($this, ['ServiceInvoices']); } {code} |
{quote}
Undefined property: Invoices::$ServiceInvoices on line 1116 in C:\wamp64\www\blesta\public_html\app\models\invoices.php Printing Stack Trace: #0 \[internal function]: UnknownException::setErrorHandler(8, 'Undefined prope...', 'C:\\wamp64\\www\\b...', 1116, Array) #1 C:\wamp64\www\blesta\public_html\vendors\monolog\monolog\src\Monolog\ErrorHandler.php(164): call_user_func(Array, 8, 'Undefined prope...', 'C:\\wamp64\\www\\b...', 1116, Array) #2 C:\wamp64\www\blesta\public_html\app\models\invoices.php(1116): Monolog\ErrorHandler->handleError(8, 'Undefined prope...', 'C:\\wamp64\\www\\b...', 1116, Array) #3 C:\wamp64\www\blesta\public_html\app\controllers\admin_clients.php(5701): Invoices->appendServices('6929', Array) #4 C:\wamp64\www\blesta\public_html\app\controllers\admin_clients.php(5580): AdminClients->createService(Array, Array) #5 C:\wamp64\www\blesta\public_html\app\controllers\admin_clients.php(4573): AdminClients->processServiceStep('confirm', Object(stdClass), Object(stdClass), Object(stdClass)) #6 C:\wamp64\www\blesta\public_html\vendors\minphp\bridge\src\Lib\Dispatcher.php(143): AdminClients->addService() #7 C:\wamp64\www\blesta\public_html\index.php(21): Dispatcher::dispatch('/blesta/public_...') #8 \{main} {quote} This code needs to be added at the start of the method: {code} if (!isset($this->ServiceInvoices)) { Loader::loadModels($this, ['ServiceInvoices']); } {code} This bug was introduced by |
Status | Open [ 1 ] | In Progress [ 3 ] |
Remaining Estimate | 0 minutes [ 0 ] | |
Time Spent | 10 minutes [ 600 ] | |
Worklog Id | 10334 [ 10334 ] |
Status | In Progress [ 3 ] | In Review [ 5 ] |
Resolution | Fixed [ 1 ] |
Sprint | 4.2.0 Sprint 2 [ 47 ] |
Rank | Ranked higher |
Fix Version/s | 4.1.2 [ 11016 ] | |
Fix Version/s | 4.2.0-b1 [ 11014 ] | |
Original Estimate | 0 minutes [ 0 ] |
Status | In Review [ 5 ] | Closed [ 6 ] |