Skip to content

How to remove the Deprecated property of __construct from Abstract Class using overriding or any other way

Error main.ERROR: Deprecated Functionality: Creation of dynamic property MagiccartMagicproductControllerAdminhtmlProductIndexInterceptor::$_resultRedirectFactory is deprecated in vendor/magiccart/magicproduct/Controller/Adminhtml/Action.php on line 78 Class namespace MagiccartMagicproductControllerAdminhtmlAction abstract class Action extends MagentoBackendAppAction { public function __construct( MagentoBackendAppActionContext $context, ) { parent::__construct($context); $this->_resultRedirectFactory = $context->getResultRedirectFactory(); } Class MagiccartMagicproductControllerAdminhtmlProductIndex class… Read More »How to remove the Deprecated property of __construct from Abstract Class using overriding or any other way

How to add Product to Cart with Mutiple custom options using GraphQl?

I have Two custom Options for Downloadable Product here is my query response for getting product { “data”: { “products”: { “items”: [ { “id”: 145, “name”: “Product Attachments”, “sku”: “FME_135_M2”, “__typename”: “DownloadableProduct”, “options”: [ { “title”: “Include:”, “required”: false,… Read More »How to add Product to Cart with Mutiple custom options using GraphQl?

Class “Zend_Http_Response” not found error in magento 2.4.6

In my magento2.4.6 am facing below error – “Error: Class “Zend_Http_Response” not found in C:xampphtdocswffappcodeAmastyInvisibleCaptchaModelCaptcha.php:100″ – $responseBody = Zend_Http_Response::extractBody($googleResponse); <?php declare(strict_types=1); namespace AmastyInvisibleCaptchaModel; use AmastyBaseModelGetCustomerIp; use AmastyInvisibleCaptchaModelConfigSourceCaptchaVersion; use MagentoCustomerModelGroup; use MagentoCustomerModelSession; use MagentoFrameworkHTTPAdapterCurl; use MagentoFrameworkPhrase; use Zend_Http_Response; class Captcha {… Read More »Class “Zend_Http_Response” not found error in magento 2.4.6