Skip to content

Hide Menu If Customer is not Logged In. And Show when Login

I want to hide the menu when user is not logged in. And Show when It Logs in. I did the following code. public function __construct( MagentoCustomerModelSessionFactory $customerSession, LoggerInterface $logger, MagentoFrameworkAppResponseHttp $redirect, MagentoFrameworkAppHttpContext $httpContext ) { $this->customerSession = $customerSession; $this->logger… Read More »Hide Menu If Customer is not Logged In. And Show when Login

Strange Magento 2.4.6-p2 PageBuilder problem while installing “Missing required argument $characterSet of GtDomDocument”

Can somebody help? I have installed magento 2.4.6-p2 and wanted to install Pagebuilder. So I downloaded “magento2-page-builder-develop”, but i get an error while compiling: Unable to apply data patch MagentoPageBuilderSetupPatchDataUpgradePageBuilderStripStyles for module Magento_PageBuilder. Original exception message: Missing required argument $characterSet… Read More »Strange Magento 2.4.6-p2 PageBuilder problem while installing “Missing required argument $characterSet of GtDomDocument”

Undefined array key “inventory_source”

I get the following error when running bin/magento setup:upgrade This is after I uninstalled MSI inventory management system Warning: Undefined array key “inventory_source” in /vendor/magento/framework/Setup/Declaration/Schema/Db/SchemaBuilder.php on line 153 Setup:upgrade stalls with this error and magento goes off line Appreciate help