Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 5.0.0
-
Component/s: Modules, Staff Interface
-
Labels:None
Description
NameSilo has an option to select your Domains Package Group and import domain TLDs, automatically marking up domain prices by a percentage you set. This is available in the management area for the module.
This no longer works, packages are not actually created, but a successful message is shown. I suspect this broke in 5.0 because of package table schema changes.
The following is written to the logs when the import is attempted:
[2021-05-11T18:13:44.778038+00:00] general.WARNING: E_WARNING: Invalid argument supplied for foreach()
{"code":2,"message":"Invalid argument supplied for foreach()","file":"/var/www/vhosts/domain.com/httpdocs/blesta/components/modules/namesilo/includes/namesilo_packages.php","line":271}[2021-05-11T18:13:44.777879+00:00] general.NOTICE: E_NOTICE: Trying to get property 'pricing' of non-object
{"code":8,"message":"Trying to get property 'pricing' of non-object","file":"/var/www/vhosts/domain.com/httpdocs/blesta/components/modules/namesilo/includes/namesilo_packages.php","line":271}
[2021-05-11T18:13:44.778148+00:00] general.NOTICE: E_NOTICE: Trying to get property 'email_content' of non-object
Turns out this is not related to 5.0 rather this happens if you create a tld package through namesilo, then delete it outside of namesilo, then try to resave the packages in namesilo.