TypeError: Return value of Webkul\Otp\Helper\Data::getCountries() must be of the type array, null returned in /var/www/vhosts/alfaclinic.net/httpdocs/app/code/Webkul/Otp/Helper/Data.php:273 Stack trace: #0 /var/www/vhosts/alfaclinic.net/httpdocs/app/code/Webkul/Otp/view/frontend/templates/form/register.phtml(21): Webkul\Otp\Helper\Data->getCountries() #1 /var/www/vhosts/alfaclinic.net/httpdocs/vendor/magento/framework/View/TemplateEngine/Php.php(71): include('/var/www/vhosts...') #2 /var/www/vhosts/alfaclinic.net/httpdocs/vendor/magento/framework/View/Element/Template.php(273): Magento\Framework\View\TemplateEngine\Php->render() #3 /var/www/vhosts/alfaclinic.net/httpdocs/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Element\Template->fetchView() #4 /var/www/vhosts/alfaclinic.net/httpdocs/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Customer\Block\Form\Register\Interceptor->___callParent() #5 /var/www/vhosts/alfaclinic.net/httpdocs/app/code/Webkul/MagentoAmp/Plugin/Framework/View/Element/Template.php(36): Magento\Customer\Block\Form\Register\Interceptor->Magento\Framework\Interception\{closure}() #6 /var/www/vhosts/alfaclinic.net/httpdocs/vendor/magento/framework/Interception/Interceptor.php(135): Webkul\MagentoAmp\Plugin\Framework\View\Element\Template->aroundFetchView() #7 /var/www/vhosts/alfaclinic.net/httpdocs/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Customer\Block\Form\Register\Interceptor->Magento\Framework\Interception\{closure}() #8 /var/www/vhosts/alfaclinic.net/httpdocs/generated/code/Magento/Customer/Block/Form/Register/Interceptor.php(230): Magento\Customer\Block\Form\Register\Interceptor->___callPlugins() #9 /var/www/vhosts/alfaclinic.net/httpdocs/vendor/magento/framework/View/Element/Template.php(303): Magento\Customer\Block\Form\Register\Interceptor->fetchView() #10 /var/www/vhosts/alfaclinic.net/httpdocs/vendor/magento/framework/View/Element/AbstractBlock.php(1111): Magento\Framework\View\Element\Template->_toHtml() #11 /var/www/vhosts/alfaclinic.net/httpdocs/vendor/magento/framework/View/Element/AbstractBlock.php(1115): Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}() #12 /var/www/vhosts/alfaclinic.net/httpdocs/vendor/magento/framework/View/Element/AbstractBlock.php(675): Magento\Framework\View\Element\AbstractBlock->_loadCache() #13 /var/www/vhosts/alfaclinic.net/httpdocs/generated/code/Magento/Customer/Block/Form/Register/Interceptor.php(455): Magento\Framework\View\Element\AbstractBlock->toHtml() #14 /var/www/vhosts/alfaclinic.net/httpdocs/vendor/magento/framework/View/Layout.php(578): Magento\Customer\Block\Form\Register\Interceptor->toHtml() #15 /var/www/vhosts/alfaclinic.net/httpdocs/vendor/magento/framework/View/Layout.php(555): Magento\Framework\View\Layout->_renderBlock() #16 /var/www/vhosts/alfaclinic.net/httpdocs/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement() #17 /var/www/vhosts/alfaclinic.net/httpdocs/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() #18 /var/www/vhosts/alfaclinic.net/httpdocs/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement() #19 /var/www/vhosts/alfaclinic.net/httpdocs/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout\Interceptor->renderElement() #20 /var/www/vhosts/alfaclinic.net/httpdocs/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer() #21 /var/www/vhosts/alfaclinic.net/httpdocs/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement() #22 /var/www/vhosts/alfaclinic.net/httpdocs/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() #23 /var/www/vhosts/alfaclinic.net/httpdocs/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement() #24 /var/www/vhosts/alfaclinic.net/httpdocs/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout\Interceptor->renderElement() #25 /var/www/vhosts/alfaclinic.net/httpdocs/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer() #26 /var/www/vhosts/alfaclinic.net/httpdocs/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement() #27 /var/www/vhosts/alfaclinic.net/httpdocs/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() #28 /var/www/vhosts/alfaclinic.net/httpdocs/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement() #29 /var/www/vhosts/alfaclinic.net/httpdocs/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout\Interceptor->renderElement() #30 /var/www/vhosts/alfaclinic.net/httpdocs/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer() #31 /var/www/vhosts/alfaclinic.net/httpdocs/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement() #32 /var/www/vhosts/alfaclinic.net/httpdocs/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() #33 /var/www/vhosts/alfaclinic.net/httpdocs/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement() #34 /var/www/vhosts/alfaclinic.net/httpdocs/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout\Interceptor->renderElement() #35 /var/www/vhosts/alfaclinic.net/httpdocs/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer() #36 /var/www/vhosts/alfaclinic.net/httpdocs/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement() #37 /var/www/vhosts/alfaclinic.net/httpdocs/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() #38 /var/www/vhosts/alfaclinic.net/httpdocs/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement() #39 /var/www/vhosts/alfaclinic.net/httpdocs/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout\Interceptor->renderElement() #40 /var/www/vhosts/alfaclinic.net/httpdocs/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer() #41 /var/www/vhosts/alfaclinic.net/httpdocs/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement() #42 /var/www/vhosts/alfaclinic.net/httpdocs/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() #43 /var/www/vhosts/alfaclinic.net/httpdocs/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement() #44 /var/www/vhosts/alfaclinic.net/httpdocs/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout\Interceptor->renderElement() #45 /var/www/vhosts/alfaclinic.net/httpdocs/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer() #46 /var/www/vhosts/alfaclinic.net/httpdocs/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement() #47 /var/www/vhosts/alfaclinic.net/httpdocs/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() #48 /var/www/vhosts/alfaclinic.net/httpdocs/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement() #49 /var/www/vhosts/alfaclinic.net/httpdocs/vendor/magento/framework/View/Layout.php(975): Magento\Framework\View\Layout\Interceptor->renderElement() #50 /var/www/vhosts/alfaclinic.net/httpdocs/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Layout->getOutput() #51 /var/www/vhosts/alfaclinic.net/httpdocs/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\Layout\Interceptor->___callParent() #52 /var/www/vhosts/alfaclinic.net/httpdocs/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\Layout\Interceptor->Magento\Framework\Interception\{closure}() #53 /var/www/vhosts/alfaclinic.net/httpdocs/generated/code/Magento/Framework/View/Layout/Interceptor.php(347): Magento\Framework\View\Layout\Interceptor->___callPlugins() #54 /var/www/vhosts/alfaclinic.net/httpdocs/vendor/magento/framework/View/Result/Page.php(258): Magento\Framework\View\Layout\Interceptor->getOutput() #55 /var/www/vhosts/alfaclinic.net/httpdocs/vendor/magento/framework/View/Result/Layout.php(171): Magento\Framework\View\Result\Page->render() #56 /var/www/vhosts/alfaclinic.net/httpdocs/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Result\Layout->renderResult() #57 /var/www/vhosts/alfaclinic.net/httpdocs/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\Result\Page\Interceptor->___callParent() #58 /var/www/vhosts/alfaclinic.net/httpdocs/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\Result\Page\Interceptor->Magento\Framework\Interception\{closure}() #59 /var/www/vhosts/alfaclinic.net/httpdocs/generated/code/Magento/Framework/View/Result/Page/Interceptor.php(95): Magento\Framework\View\Result\Page\Interceptor->___callPlugins() #60 /var/www/vhosts/alfaclinic.net/httpdocs/vendor/magento/framework/App/Http.php(120): Magento\Framework\View\Result\Page\Interceptor->renderResult() #61 /var/www/vhosts/alfaclinic.net/httpdocs/generated/code/Magento/Framework/App/Http/Interceptor.php(23): Magento\Framework\App\Http->launch() #62 /var/www/vhosts/alfaclinic.net/httpdocs/vendor/magento/framework/App/Bootstrap.php(263): Magento\Framework\App\Http\Interceptor->launch() #63 /var/www/vhosts/alfaclinic.net/httpdocs/pub/index.php(29): Magento\Framework\App\Bootstrap->run() #64 {main}