Jump to content

tb1982

Members
  • Posts

    1
  • Joined

  • Last visited

tb1982's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. Hello, maybe it's not related to your problem but in my case setting an error in the "addService" module method raise an error on line 5742 of /app/controllers/admin_clients.php. On line 5707: $service_id = $this->Services->add($item, $package_ids, $notify); the method is returning null since an Error has been set on the Input module, however on line 5713 "$service_id" is appended to the array "$service_ids": $service_ids[] = $service_id; So on line 5716 the array $service_ids is not empty, raising then the error with the updateServicesRenewalForProration function. I solved the problem editing the admin_clients.php on line 5713, appending the $service_id to $service_ids only if not empty: if (!empty($service_id)) { $service_ids[] = $service_id; } I'm using Blesta 4.2.2, PHP 7.0.27
×
×
  • Create New...