After running composer update to Magento 2.4.8 and then executing the upgrade command, I get the following error message. SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry ‘0-5’ for key ‘EAV_ATTRIBUTE_OPTION_VALUE_STORE_ID_OPTION_ID’, query was: ALTER TABLE eav_attribute_option_value MODIFY COLUMN value varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT “Value”, ADD CONSTRAINT EAV_ATTRIBUTE_OPTION_VALUE_STORE_ID_OPTION_ID […]
Magento1
When i try to search any product on my website it shows this error “1 exception(s): Exception #0 (DomainException): Undefined factory algolia”. Does anyone know how to resolve this? So that my search functionality will work fine.
I need a value from Magento2 Admin Panel identified by the Attribute ID (267) for this Admin Panel Attribute in PHP Magento Code. For manipulating an expression. This is experimental so dont mind helping me. It will help me finding a better solution in future.. Like $attribute_ID='267'; $attribute=get_attribute_ID($attribute_ID); Would something […]
Subject Advanced Reporting endpoints return TLS close_notify / no HTTP response → Magento MBI service CURL connection error #52 Priority P3 (Standard) — Production admin feature unusable, storefront unaffected. (Adjust if this blocks operations.) Product / Area Adobe Commerce / Advanced Reporting (Magento Analytics module) (Adobe Entwickler Webseite) Description Since […]
For testing purposes, how to create a simple logger in Magento 2.4.8-p1 <?php declare(strict_types=1); namespace AveevaFirstSampleControllerIndex; use MagentoFrameworkAppActionhttpgetActionInterface; use PsrLogLoggerInterface; class Index implements httpgetActionInterface { /** * Execute method for the controller * * @return void */ protected $logger; public function __construct(LoggerInterface $logger) { $this->logger = $logger; } public function […]
How to get an order’s extension attribute value when creating the order via the API? For example to create an order I’m calling /rest/V1/carts/mine/payment-information with the following payload: { "payment_method": { "method": "cashondelivery" }, "email": "user@example.com", "billingAddress": { "country_id": "US", "street": [ "N/A" ], "telephone": "012345678911", "postcode": "11501", "city": "Bangkok", […]
I have a problem I am using Magento 4.2.4 and Elasticsearch 6 and this message appears can anyone help me to solve it. main.CRITICAL: {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"request [/magento2_product_2/product/_search] contains unrecognized parameter: [cat]"}],"type":"illegal_argument_exception","reason":"request [/magento2_product_2/product/_search] contains unrecognized parameter: [cat]"},"status":400} {"exception":"[object] (Elasticsearch\Common\Exceptions\BadRequest400Exception(code: 400): {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"request [/magento2_product_2/product/_search] contains unrecognized parameter: [cat]"}],"type":"illegal_argument_exception","reason":"request [/magento2_product_2/product/_search] contains unrecognized parameter: [cat]"},"status":400} at […]