Symptoms
- After the authorization was completed, opening Extensions > My Extensions > Azure DNS > Open returns:
PLESK_ERROR: 500 error: Cannot access offset of type string on string.
- The authorization was made according to the official documentation.
- The extension was working before the authorization process.
- The following error can be seen in the panel.log:
CONFIG_TEXT: [2023-05-03 19:30:45.283] 4074085:64529a3fbdfc9 ERR [panel] Cannot access offset of type string on string:
0: /opt/psa/admin/plib/modules/azuredns/library/Client/AzureDnsClient.php:179
PleskExt\AzureDns\Client\AzureDnsClient->listByResourceGroup()
1: /opt/psa/admin/plib/modules/azuredns/library/DomainItem/DomainItemInfoLoader.php:58
PleskExt\AzureDns\DomainItem\DomainItemInfoLoader->getDomainItemInfoList()
2: /opt/psa/admin/plib/modules/azuredns/controllers/ServiceController.php:46
ServiceController->getDomainList()
3: /opt/psa/admin/plib/modules/azuredns/controllers/ServiceController.php:21
ServiceController->indexAction()
4: /opt/psa/admin/plib/vendor/plesk/zf1/library/Zend/Controller/Action.php:516
Zend_Controller_Action->dispatch(string 'indexAction')
5: /opt/psa/admin/plib/vendor/plesk/zf1/library/Zend/Controller/Dispatcher/Standard.php:308
Zend_Controller_Dispatcher_Standard->dispatch(object of type Zend_Controller_Request_Http, object of type Zend_Controller_Response_Http)
6: /opt/psa/admin/plib/vendor/plesk/zf1/library/Zend/Controller/Front.php:954
Zend_Controller_Front->dispatch()
7: /opt/psa/admin/plib/pm/Application.php:87
pm_Application->run()
8: /opt/psa/admin/htdocs/modules/azuredns/index.php:5
Cause
The zone isn't correctly defined on the Azure DNS portal.
Resolution
Follow the official steps to create the zone on Azure or contact Azure DNS support for assistance.
Comments
Please sign in to leave a comment.