output information from the database magento 2

/Block/Reviews.php <?php namespace Training\Reviews\Block; use Training\Reviews\Model\ResourceModel\Reviews\Collection; use Magento\Framework\View\Element\Template; class Reviews extends \Magento\Framework\View\Element\Template { public function _prepareLayout() { $this->pageConfig->getTitle()->set(__(‘Users Reviews’)); return parent::_prepareLayout(); } protected $_productCollectionFactory; protected $_productVisibility; public function __construct( \Magento\Framework\View\Element\Template\Context $context, \Training\Reviews\Model\ResourceModel\Reviews\CollectionFactory $productCollectionFactory, array $data = [] ) { $this->_productCollectionFactory = $productCollectionFactory; parent::__construct($context, $data); } public function getProductCollection() { $collection = $this->_productCollectionFactory->create(); $collection->addFieldToFilter(‘result’, [‘like’ =>…

M2: no_NO not recognised despite installed via community engineering lang pack

bin/magento info:language:list This return nb_NO and nn_NO for Norwegian, however no_NO does not exist. I can see some packages having the no_NO language file though (Stripe, Mageplaza). I tried to installed the Crowdin language pack for Norwegian via composer as suggested by Crowdin (they don’t have a nb_NO or nn_NO branch): composer require community-engineering/language-no_no Then…

How do i send Order Confirmation Email after successfull Payment in Magento 2.3.0

I am struggling with this from past 3 weeks and tried almost all of the solutions suggested but nothing works for me. I want to send an Order Confirmation email after successful payment (Payment Gateway Paystack). Even I have tried this https://meetanshi.com/blog/send-magento-2-order-confirmation-email-after-payment-success/ but the mails stop working for an order previously emails were sent with…