Jump to content
  • 0

Error when creating an account through the CWP module


NETLINK

Question

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}

 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...