Skip to content

magento man

Magento 2 plugin not working for MagentoBundleModelProductType when also applied on AbstractType

I am trying to use plugins on the following Magento 2 core methods: MagentoBundleModelProductType::checkProductBuyState() MagentoBundleModelProductType::getOptionsIds() MagentoCatalogModelProductTypeAbstractType::checkProductBuyState() Core classes (simplified) MagentoBundleModelProductType extends MagentoCatalogModelProductTypeAbstractType: class MagentoBundleModelProductType extends MagentoCatalogModelProductTypeAbstractType { public function checkProductBuyState($product) { parent::checkProductBuyState($product); $productOptionIds = $this->getOptionsIds($product); // … more logic return… Read More »Magento 2 plugin not working for MagentoBundleModelProductType when also applied on AbstractType

delete category

How can I delete a product from category using API? I tried with: rest/V1/categories/&{category_id}/products/&{sku} and usually works fine. But sometimes I get err msg: “The category doesn’t contain the specified product.” I tried POST with the new category links list,… Read More »delete category

Magewire security vulnerability: Magewire encountered corrupt data

Whilst working with a Magewire component, randomly getting: {“message”:”Magewire security vulnerability: Magewire encountered corrupt datan when trying to hydrate the X\Y\Z component. Ensure that the [name, id, resolver and data] of the Magewire component wasn’tn tampered with between requests.”,”code”:500}

Composer install fails with curl errors from repo.packagist.org – BunnyCDN connection issues (Romania/Docker)

Updated issue description: Problem: Persistent Composer install failures when using official Packagist repository Affects both HTTP/1.1 and HTTP/2. Environment: Environment: Docker containers PHP: 8.1 Composer: 2.8.4 Magento: 2.4.7-p7 Errors encountered: curl error 92: HTTP/2 stream 0 was not closed cleanly:… Read More »Composer install fails with curl errors from repo.packagist.org – BunnyCDN connection issues (Romania/Docker)

error is occuring in smartwave porto theme

how can i fix this Compilation from source: /var/www/html/magento248p1/vendor/magento/theme-frontend-blank/web/css/styles-l.less Operation on an invalid type in _responsive.less Error happened during deploy process: Compilation from source: /var/www/html/magento248p1/vendor/magento/theme-frontend-blank/web/css/styles-l.less Operation on an invalid type in _responsive.less

how to fix this issue facing after upgrade 248p2

Compilation from source: /var/www/html/evolutionhomecorp.com/vendor/magento/theme-frontend-blank/web/css/styles-l.less error evaluating function ceil: math functions take numbers as parameters in _responsive.less Error happened during deploy process: Compilation from source: /var/www/html/evolutionhomecorp.com/vendor/magento/theme-frontend-blank/web/css/styles-l.less error evaluating function ceil: math functions take numbers as parameters in _responsive.less