Jump to content
  • 0

Error when creating an account through the CWP module


Question

Posted

Account gets created on CWP and logs show Success, but Blesta throws an exception and the account does not appear in Blesta.

 

image.thumb.png.83736a7bfd636d7aa7441ebbb1ea9f31.png

 

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

  • 0
Posted

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.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...