Skip to content

I am trying to send email using helper class but show the error

TypeError: MagentoEmailModelTemplate::setVars(): Argument #1 ($vars) must be of type array, null given <?php namespace CustomScheduleContentNotifierHelper; use MagentoFrameworkAppHelperContext; use MagentoFrameworkTranslateInlineStateInterface; use MagentoFrameworkEscaper; use MagentoFrameworkMailTemplateTransportBuilder; class Email extends MagentoFrameworkAppHelperAbstractHelper { protected $inlineTranslation; protected $escaper; protected $transportBuilder; protected $logger; public function __construct( Context… Read More »I am trying to send email using helper class but show the error

Invaild security or form key, please refresh your page

i hit the url backendnotification/index/index this error show what is wrong route and controller this is my route code <router id=”admin”> <route id=”backendnotification” frontName=”backendnotification”> <module name=”Testing_ScheduleContentNotifier”/> </route> </router> </config> This is my controller code under Testing/ScheduleContentNotifier/Controller/Adminhtml/Index/Index.php <?php namespace TestingScheduleContentNotifierControllerAdminhtmlIndex; use… Read More »Invaild security or form key, please refresh your page

help finding the host

can someone help me find out who is hosting this website? elegance4style . com thank you! I need to send a dmca… | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1897044&goto=newpost

Filtering Product Collection on the basis of visibility

I want to remove the products from the product collection that are set Non-Individually Visible. Here is my code: $validProductsCollection = $this->collectionFactory->create(); $validProductsCollection->addFieldToFilter(ValidProductsInterface::DEMO_ID, $feedId) ->setPageSize($itemsPerPage) ->setCurPage($currentPage) ->addFieldToSelect(ValidProductsInterface::VALID_PRODUCT_ID); $collectionSize = $validProductsCollection->getSize();