Fatal error: Uncaught TypeError: in_array() expects parameter 2 to be array, null given in /var/www/magento2/vendor/magmodules/m2-alternate-hreflang/Model/Cms/Repository.php:213 Stack trace: #0 /var/www/magento2/vendor/magmodules/m2-alternate-hreflang/Model/Cms/Repository.php(213): in_array(0, NULL) #1 /var/www/magento2/vendor/magmodules/m2-alternate-hreflang/Model/Cms/Repository.php(102): Magmodules\AlternateHreflang\Model\Cms\Repository->getAlternateCmsPages('shipping', Array) #2 /var/www/magento2/vendor/magmodules/m2-alternate-hreflang/ViewModel/Page.php(74): Magmodules\AlternateHreflang\Model\Cms\Repository->getAlternateData() #3 /var/www/magento2/vendor/magmodules/m2-alternate-hreflang/view/frontend/templates/header.phtml(15): Magmodules\AlternateHreflang\ViewModel\Page->getAlternateData() #4 /var/www/magento2/lib/internal/Magento/Framework/View/TemplateEngine/Php.php(59): include('/var/www/magent...') #5 /var/www/magento2/lib/internal/Magento/Framework/Interception/Interceptor.php(58): Magento\Framework\View\Templat in /var/www/magento2/vendor/magmodules/m2-alternate-hreflang/Model/Cms/Repository.php on line 213