-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Hi there,
The AfterProductUpgrade hook in the hooks file:
Lines 15 to 17 in e97c096
| add_hook('AfterProductUpgrade', 1, function (array $params) { | |
| Product::upgrade($params['upgradeid']); | |
| }); |
seems to be intercepting all upgrades created via the client area even if they are for orders that do not relate to products using the SolusIO provisioning module and causing the following error:
This functionality is currently blocking our ability to use this module as it blocks the ability to upgrade/downgrade other product types.
I'm picking a fix would be additional checking in WHMCS\Module\Server\SolusIoVps\WhmcsAPI\Product::upgrade to only perform the resize if the product uses the SolusIO provisioning module.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
