NETLINK Posted May 18, 2018 Report Posted May 18, 2018 When trying to register a new domain through the admin back-end (with use_module enabled), I'm getting the following error when pressing the Add Service button. This happens using the Namecheap and the Namesilo module. The problem seems to be with the $service->pricing_id property. The data passed in the service_ids is as follows: array ( 0 => NULL, ) Something went wrong. Trying to get property of non-object on line 5742 in /home/user/public_html/blesta/app/controllers/admin_clients.php Printing Stack Trace: #0 [internal function]: UnknownException::setErrorHandler(8, 'Trying to get p...', '/home/user/...', 5742, Array) #1 /home/user/public_html/blesta/vendors/monolog/monolog/src/Monolog/ErrorHandler.php(164): call_user_func(Array, 8, 'Trying to get p...', '/home/user/...', 5742, Array) #2 /home/user/public_html/blesta/app/controllers/admin_clients.php(5742): Monolog\ErrorHandler->handleError(8, 'Trying to get p...', '/home/user/...', 5742, Array) #3 /home/user/public_html/blesta/app/controllers/admin_clients.php(5722): AdminClients->updateServicesRenewalForProration(Array) #4 /home/user/public_html/blesta/app/controllers/admin_clients.php(5599): AdminClients->createService(Array, Array) #5 /home/user/public_html/blesta/app/controllers/admin_clients.php(4586): AdminClients->processServiceStep('confirm', Object(stdClass), Object(stdClass), Object(stdClass)) #6 /home/user/public_html/blesta/vendors/minphp/bridge/src/Lib/Dispatcher.php(143): AdminClients->addService() #7 /home/user/public_html/blesta/index.php(21): Dispatcher::dispatch('/admin/clients/...') #8 {main} Quote
NETLINK Posted May 19, 2018 Author Report Posted May 19, 2018 8 hours ago, activa said: Wich blesta version you have ? 4.2.2. It was also happening in v4.2.1. Quote
Blesta Addons Posted May 19, 2018 Report Posted May 19, 2018 are you using prorate for domain package ? Quote
NETLINK Posted May 19, 2018 Author Report Posted May 19, 2018 1 minute ago, Blesta Addons said: are you using prorate for domain package ? Yeah, this feature is enabled. I've used it for some clients. Quote
Blesta Addons Posted May 20, 2018 Report Posted May 20, 2018 18 hours ago, NETLINK said: Yeah, this feature is enabled. I've used it for some clients. can you try disable it? also try to print (dump) the $service var in the services.php model and the $vars in admin_clients.php. Quote
Tyson Posted May 22, 2018 Report Posted May 22, 2018 Was the service created in Blesta? It seems as though it was not, perhaps due to an error with the module. Quote
NETLINK Posted May 31, 2018 Author Report Posted May 31, 2018 On 5/23/2018 at 12:41 AM, Tyson said: Was the service created in Blesta? It seems as though it was not, perhaps due to an error with the module. If "Use Module" is selected, the service does not get created in Blesta. If "Use Module" is not selected, the service is created successfully in Blesta only. Quote
Beav Posted May 31, 2018 Report Posted May 31, 2018 1 hour ago, NETLINK said: If "Use Module" is selected, the service does not get created in Blesta. If "Use Module" is not selected, the service is created successfully in Blesta only. Sounds like an issue with the module, Any errors for the module? From the admin nav bar navigate Tools->Logs->(Module tab)->(Module in question). Click to expand. Quote
Tyson Posted June 22, 2018 Report Posted June 22, 2018 I believe the original error will no longer be encountered when CORE-2451 is added in v4.3.0-b2. The underlying issue, however, appears to be that the module failed to provision the service for some reason. I suggest taking a look at the module logs as @GosuHostsuggests. Quote
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.