mhermann Posted March 5, 2021 Share Posted March 5, 2021 Hi. I am getting this error every time domain sync runs at the sync isn't working anymore. Any idea? [WHMCS Application] ERROR: Error: Object of class WHMCS\Domains\Domain could not be converted to string in /MYPATHTOWHMCS//modules/registrars/ispapi/lib/sdk/src/APIClient.php:406 Stack trace: #0 /MYPATHTOWHMCS//modules/registrars/ispapi/lib/sdk/src/APIClient.php(406): preg_replace() #1 /MYPATHTOWHMCS//modules/registrars/ispapi/lib/sdk/src/APIClient.php(472): HEXONET\APIClient->flattenCommand() #2 /MYPATHTOWHMCS//modules/registrars/ispapi/lib/Ispapi.php(416): HEXONET\APIClient->request() #3 /MYPATHTOWHMCS//modules/registrars/ispapi/lib/DomainTransfer.php(76): WHMCS\Module\Registrar\Ispapi\Ispapi::call() #4 /MYPATHTOWHMCS//modules/registrars/ispapi/ispapi.php(3109): WHMCS\Module\Registrar\Ispapi\DomainTransfer::getSuccessLog() #5 /MYPATHTOWHMCS//vendor/whmcs/whmcs-foundation/lib/Module/AbstractModule.php(0): ispapi_TransferSync() #6 /MYPATHTOWHMCS//vendor/whmcs/whmcs-foundation/lib/Module/Registrar.php(0): WHMCS\Module\AbstractModule->call() #7 /MYPATHTOWHMCS//vendor/whmcs/whmcs-foundation/lib/Cron/Task/DomainTransferSync.php(0): WHMCS\Module\Registrar->call() #8 /MYPATHTOWHMCS//vendor/whmcs/whmcs-foundation/lib/Scheduling/Task/AbstractTask.php(0): WHMCS\Cron\Task\DomainTransferSync->__invoke() #9 /MYPATHTOWHMCS//vendor/whmcs/whmcs-foundation/lib/Scheduling/Task/AbstractTask.php(0): WHMCS\Scheduling\Task\AbstractTask->execute() #10 /MYPATHTOWHMCS//vendor/whmcs/whmcs-foundation/lib/Cron/Console/Command/AbstractCronCommand.php(0): WHMCS\Scheduling\Task\AbstractTask->run() #11 /MYPATHTOWHMCS//vendor/whmcs/whmcs-foundation/lib/Cron/Console/Command/AbstractCronCommand.php(0): WHMCS\Cron\Console\Command\AbstractCronCommand->executeCollection() #12 /MYPATHTOWHMCS//vendor/symfony/console/Command/Command.php(255): WHMCS\Cron\Console\Command\AbstractCronCommand->execute() #13 /MYPATHTOWHMCS//vendor/symfony/console/Application.php(912): Symfony\Component\Console\Command\Command->run() #14 /MYPATHTOWHMCS//vendor/symfony/console/Application.php(264): Symfony\Component\Console\Application->doRunCommand() #15 /MYPATHTOWHMCS//vendor/symfony/console/Application.php(140): Symfony\Component\Console\Application->doRun() #16 /MYPATHTOWHMCS//crons123456/cron.php(0): Symfony\Component\Console\Application->run() #17 {main} {"exception":"[object] (Error(code: 0): Object of class WHMCS\\Domains\\Domain could not be converted to string at /MYPATHTOWHMCS//modules/registrars/ispapi/lib/sdk/src/APIClient.php:406)"} [] 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted March 5, 2021 Share Posted March 5, 2021 2 minutes ago, mhermann said: Hi. I am getting this error every time domain sync runs at the sync isn't working anymore. Any idea? isn't ISPAPI the registrar module written by Hexonet ? if so, probably best to contact their support for this. I can see their module was updated last month, so downloading the latest version of their module for your WHMCS version might be all that is needed - but their support will be able to advise you on this better than me. 0 Quote Link to comment Share on other sites More sharing options...
mhermann Posted March 6, 2021 Author Share Posted March 6, 2021 Yes it is the hexonet module. I opened a bug report. In case someone has the same issue: https://github.com/hexonet/whmcs-ispapi-registrar/issues/168 0 Quote Link to comment Share on other sites More sharing options...
mhermann Posted March 8, 2021 Author Share Posted March 8, 2021 Resolved with latest patch of Hexonet-Module 1 Quote Link to comment Share on other sites More sharing options...
brian! Posted March 8, 2021 Share Posted March 8, 2021 2 hours ago, mhermann said: Resolved with latest patch of Hexonet-Module that's good to hear - I was optimistic their support would be ale to fix it quickly.... e.g faster than certain other companies! 🙂 2 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.