NETLINK Posted September 18, 2020 Report Posted September 18, 2020 Account gets created on CWP and logs show Success, but Blesta throws an exception and the account does not appear in Blesta. Undefined property: stdClass::$account_count on line 1172 in /home/xxx/public_html/blesta/components/modules/centoswebpanel/centoswebpanel.phpPrinting Stack Trace:#0 [internal function]: UnknownException::setErrorHandler(8, 'Undefined prope...', '/home/xxx/...', 1172, Array) #1 /home/xxx/public_html/blesta/vendors/monolog/monolog/src/Monolog/ErrorHandler.php(172): call_user_func(Array, 8, 'Undefined prope...', '/home/xxx/...', 1172, Array) #2 /home/xxx/public_html/blesta/components/modules/centoswebpanel/centoswebpanel.php(1172): Monolog\ErrorHandler->handleError(8, 'Undefined prope...', '/home/xxx/...', 1172, Array) #3 /home/xxx/public_html/blesta/components/modules/centoswebpanel/centoswebpanel.php(734): Centoswebpanel->updateAccountCount(Object(stdClass)) #4 /home/xxx/public_html/blesta/app/models/services.php(1134): Centoswebpanel->addService(Object(stdClass), Array, NULL, NULL, 'active') #5 /home/xxx/public_html/blesta/app/controllers/admin_clients.php(6889): Services->add(Array, Array, false) #6 /home/xxx/public_html/blesta/app/controllers/admin_clients.php(6776): AdminClients->createService(Array, Array) #7 /home/xxx/public_html/blesta/app/controllers/admin_clients.php(5292): AdminClients->processServiceStep('confirm', Object(stdClass), Object(stdClass), Object(stdClass)) #8 /home/xxx/public_html/blesta/vendors/minphp/bridge/src/Lib/Dispatcher.php(142): AdminClients->addService() #9 /home/xxx/public_html/blesta/index.php(21): Dispatcher::dispatch('/admin/clients/...') #10 {main} Quote
0 Paul Posted September 18, 2020 Report Posted September 18, 2020 Do you have an account limit set for this server? Settings > Company > Modules, Manage CWP module. Do you have error reporting or debugging enabled? Undefined property is usually a warning which wouldn't be shown. If you have error reporting or debugging enabled, you should disable and test again. Quote
Question
NETLINK
Account gets created on CWP and logs show Success, but Blesta throws an exception and the account does not appear in Blesta.
Undefined property: stdClass::$account_count on line 1172 in /home/xxx/public_html/blesta/components/modules/centoswebpanel/centoswebpanel.php
Printing Stack Trace:
#0 [internal function]: UnknownException::setErrorHandler(8, 'Undefined prope...', '/home/xxx/...', 1172, Array)
#1 /home/xxx/public_html/blesta/vendors/monolog/monolog/src/Monolog/ErrorHandler.php(172): call_user_func(Array, 8, 'Undefined prope...', '/home/xxx/...', 1172, Array)
#2 /home/xxx/public_html/blesta/components/modules/centoswebpanel/centoswebpanel.php(1172): Monolog\ErrorHandler->handleError(8, 'Undefined prope...', '/home/xxx/...', 1172, Array)
#3 /home/xxx/public_html/blesta/components/modules/centoswebpanel/centoswebpanel.php(734): Centoswebpanel->updateAccountCount(Object(stdClass))
#4 /home/xxx/public_html/blesta/app/models/services.php(1134): Centoswebpanel->addService(Object(stdClass), Array, NULL, NULL, 'active')
#5 /home/xxx/public_html/blesta/app/controllers/admin_clients.php(6889): Services->add(Array, Array, false)
#6 /home/xxx/public_html/blesta/app/controllers/admin_clients.php(6776): AdminClients->createService(Array, Array)
#7 /home/xxx/public_html/blesta/app/controllers/admin_clients.php(5292): AdminClients->processServiceStep('confirm', Object(stdClass), Object(stdClass), Object(stdClass))
#8 /home/xxx/public_html/blesta/vendors/minphp/bridge/src/Lib/Dispatcher.php(142): AdminClients->addService()
#9 /home/xxx/public_html/blesta/index.php(21): Dispatcher::dispatch('/admin/clients/...')
#10 {main}
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.