Closed powerpbx closed 2 years ago
We needed to make the following change to get WHMCS > System Settings > Products/Services > SomeSolusProduct > Module Settings to work populating Default Plan etc. from the Master Node.
WHMCS > System Settings > Products/Services > SomeSolusProduct > Module Settings
Default Plan
The test for array_exists and count does not work (at least not for us) because the variable is an Illuminate Collection, not an array. https://laravel.com/docs/9.x/collections#method-isnotempty https://laravel.com/docs/9.x/collections#method-count
array_exists
count
We are using PHP v7.3 and WHMCS v8.x
I noticed the reason it doesn't work for us. It was a previous change that we have not implemented yet.
We needed to make the following change to get
WHMCS > System Settings > Products/Services > SomeSolusProduct > Module Settings
to work populatingDefault Plan
etc. from the Master Node.The test for
array_exists
andcount
does not work (at least not for us) because the variable is an Illuminate Collection, not an array. https://laravel.com/docs/9.x/collections#method-isnotempty https://laravel.com/docs/9.x/collections#method-countWe are using PHP v7.3 and WHMCS v8.x