Skip to content

magento man

Deprecated Functionality Error in SessionManager.php on line 186 after update to 2.4.6

After updating my Magento store to version 2.4.6, I’m encountering a deprecated functionality error when visiting the admin page. The front-end, however, works fine. Deprecated Functionality: Creation of dynamic property MagentoFrameworkAcl::$_roleRegistry is deprecated in vendor/magento/framework/Session/SessionManager.php on line 186. The code… Read More »Deprecated Functionality Error in SessionManager.php on line 186 after update to 2.4.6

Magento 2.4.3: Cloned Product Overwrites Existing Entry in CatalogInvetory_Stock

I am working on a Magento 2.4.3 store and am cloning a product via the below methodology: $product_clone = $this->object_manager->create(Product::class); $product_clone->load($source_product_id); $product = $this->object_manager->create(Product::class); $product->setData($product_clone->getData()); However, after modifying and saving the cloned product, the inventory for the source product goes… Read More »Magento 2.4.3: Cloned Product Overwrites Existing Entry in CatalogInvetory_Stock

Magento 2:How can I fetch and log the product information on the product page when the user customises the product (e.g: changes the size, color, etc)

Right now in my template phtml file I am using this code to fetch the data and log it: console.log(“Product Information: “, <?=json_encode($block->getProduct())?>); But I am unable to fetch information when the user customises the product by changing the size… Read More »Magento 2:How can I fetch and log the product information on the product page when the user customises the product (e.g: changes the size, color, etc)