How to fix the «Call to a member function getStore() on null in app/code/WeltPixel/EnhancedEmail/Block/MenuLine.php:50» failure on a customer registration in WeltPixel Pearl 1.8.2?

01

Replace the constructor’s code in the app/code/WeltPixel/EnhancedEmail/Block/MenuLine.php file from

$this->_storeId = $this->_storeManager->getStore()->getId();
$this->_helper = $_helper;
parent::__construct($context, $nodeFactory, $treeFactory, $data);

to

parent::__construct($context, $nodeFactory, $treeFactory, $data);
$this->_storeId = $this->_storeManager->getStore()->getId();
$this->_helper = $_helper;