skip to Main Content

When I upgrading Magento 2.4.4 I am getting Deprecated Functionality: Return type of ComposerRepositoryCompositeRepository::count()

When I upgraded Magento 2.4.3 to 2.4.4, I got a php8.1 deprecated functionality error. PHP Fatal error: During inheritance of Countable: Uncaught Exception: Deprecated Functionality: Return type of ComposerRepositoryCompositeRepository::count() should either be compatible with Countable::count(): int, or the #[ReturnTypeWillChange] attribute…

VIEW QUESTION

magento order status change

In magento2 back end when I submit shipment the order status will changes from processing to complete but I can't find where the code execute this can any one tell me where I can find the code? I use magento2.4.3-p1…

VIEW QUESTION

Magento2: product not visible after import

I'm using this piece of code: $product->setSku($csvProduct[0]); // Set your sku here $product->setName($csvProduct[6]); // Name of Product $product->setData('icecat_id',$csvProduct[0]); $product->setData('is_featured',0); $product->setData('is_salable',1); $product->setData('gift_message_available',0); $product->setAttributeSetId(4); // Attribute set id $product->setStatus(1); // Status on product enabled/ disabled 1/0 $product->setWeight(10); // weight of product $product->setVisibility(4);…

VIEW QUESTION

Magento 2: Cannot getData from different controller

I have this class class Api extends MagentoFrameworkModelAbstractModel { public function __construct( MagentoFrameworkMessageManagerInterface $messageManager, MagentoFrameworkAppConfigScopeConfigInterface $scopeConfig, MagentoStoreModelStoreManagerInterface $storeManager, MyModulePaymentHelperData $helper ) { $this->messageManager = $messageManager; $this->scopeConfig = $scopeConfig; $this->storeManager = $storeManager; $this->helper = $helper; $this->contentType = $this->helper->getConfigData('content_type'); } . .…

VIEW QUESTION
Back To Top
Search