Skip to content

magento man

Tracking User Interactions, Saving them to Database Table and then send it to GA4 . Events and data events are saved as null in my table

This is the function that captures some data protected function captureRequestData(RequestInterface $oRequest, $aPostParams) { return [ ‘request’ => [ ‘status’ =>’pending’, ‘params’ => json_encode($aPostParams), ‘endpoint’ => $oRequest->getRequestUri(), ‘view’ => json_encode($oRequest->getHeaders()->toArray()), ‘event’ => $this->_oEventobserver->getEventName(), ‘data’ => json_encode($this->_oEventobserver->getEventData() ), ‘ip’ => $oRequest->getClientIp(),… Read More »Tracking User Interactions, Saving them to Database Table and then send it to GA4 . Events and data events are saved as null in my table

Extra parameters passed to parent construct $directoryHelper

I am getting the following error on di compile: **Extra parameters passed to parent construct $directoryHelper** That’s the original code: class PreviewButton extends MagentoConfigBlockSystemConfigFormField { protected $blockFactory; public function __construct( MagentoBackendBlockTemplateContext $context, MagentoFrameworkViewElementBlockFactory $blockFactory, array $data = [], ?SecureHtmlRenderer $jsonHelper… Read More »Extra parameters passed to parent construct $directoryHelper

Hosting Company Alphavps Using Nulled WHMCS

Just wanted to make all the community aware of a company going by the name of AlphaVPS as a trading name of DA international group Ltd Th… | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1905777&goto=newpost

Products are not updated via async API in Magento 2.4.6, though tasks are marked as succesful

When trying to update products via Magento async API, tasks are marked as succesfully accomplished, but products are not changed. Almost all values under custom_attributes, including “tax_class_id” are not updated, except the “cost”. Standard attributes “price” and “qty” are always… Read More »Products are not updated via async API in Magento 2.4.6, though tasks are marked as succesful

Best hosting provider? In your opinion

I’m leaving host Gator, I need a new host, dream host, a2 and namecheap are the ones I’m considering, I’m pretty ignorant to what is good or… | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1905747&goto=newpost

Hostmatters

Hello everyone, This is my first post here. I’m not sure if this belongs to this sub-forum, if it doesn’t please feel free to move it to t… | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1905729&goto=newpost

Magento2 getSelect Printing Query without any __string

I have no idea why my getSelect printing query without echo & __toString. public function loadOrdersCollection($orders): mixed { $pac_orders = array(); $orderCollection = $this->orderCollection->create()->addFieldToFilter(‘increment_id’, $orders, ‘in’); $paymentMethods = explode(‘,’, $this->getPaymentMethods()); /* join with payment table */ $joinQuery = $orderCollection->getSelect() ->join([“sales_order_payment”],… Read More »Magento2 getSelect Printing Query without any __string