Jump to content

Recommended Posts

Posted

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}

 

Posted
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.

  • 2 weeks later...
Posted
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.

Posted
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. 

  • 4 weeks later...
Posted

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.

Join the conversation

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

Guest
Reply to this topic...

×   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...