When I disable MSI on Magento 2.4.5 I receive the following error when trying to open any product Cardinality violation: 1242 Subquery returns more than 1 row, query was: SELECT 1 AS `status`, `e`.`entity_id`, `e`.`attribute_set_id`, `e`.`type_id`, `e`.`created_at`, `e`.`updated_at`, `e`.`sku`, `e`.`name`, `e`.`short_description`, `e`.`price`, `e`.`special_price`, `e`.`special_from_date`, `e`.`special_to_date`, `e`.`image`, `e`.`small_image`, `e`.`thumbnail`, `e`.`news_from_date`, `e`.`news_to_date`, […]
Magento2
I have not enabled the Use Flat Catalog Category and Use Flat Catalog Product in the admin panel. But when I checked the Database Magento created the flat tables. Can you please give me a brief on the below things (if possible examples)? What is a Flat Catalog? When it […]
I am trying to override the vendor/magento/module-inventory-in-store-pickup/Model/GetPickupLocations.php file I have copied it to app/design/frontend/Magento/child_theme/Magento_InventoryInStorePickup/Model/GetPickupLocations.php but it doesn’t seem to work, have I copied it to the correct location?
I’ve created a module to add a custom image upload field to a CMS page. The image displays in the admin and I can save the image but not able to delete it. I remove the image by clicking the bin/trash icon and save the CMS page but the image […]
There are many REST endpoints that require passing a sourceId parameter. Where do I get the value for sourceId? https://magento.redoc.ly/2.4.5-admin/tag/inventorysources#operation/GetV1InventorySources GET https://mymagentodomain.com/rest/V1/inventory/sources returns { "items": [ { "source_code": "default", "name": "Default Source", "enabled": true, "description": "Default Source", "latitude": 0, "longitude": 0, "country_id": "US", "postcode": "00000", "use_default_carrier_config": true, "carrier_links": [], "extension_attributes": […]
Upgraded to Magento2.4.4-pt1. Now reindexing from SSH I am getting error with reindexing catalog_product_attribute. php -d memory_limit=2G bin/magento indexer:reindex catalog_product_attribute Product EAV index process error during indexation process: Warning: Illegal offset type in /var/www/vhosts/upperlimitsinc.com/httpdocs/vendor/magento/module-catalog/Model/ResourceModel/Product/Indexer/Eav/Source.php on line 392. I am not sure why I am getting this error or how to […]
I’ve seen a few similar questions here when i searched but they all pertain to magento 1. This seems identical do what i want to do.. Redirect “Continue Shopping” Button to the Current Product Category it was added from? I see their using the Mage class which is now the […]
it’s been several times that I tried to make magento work but I always have the error page Whoops, our bad and I have tried everything so I am leaving it to you. If you need capture or anything you can ask me thank you in advance Thanks in advance
I tried to customize the Mobile search from label to anchor, but it’s not working. However, I modified the form.min.phtml and form-min.js file as below but still not working. <a title="Search" class="label" for="search" data-role="minisearch-anchor" href="javascript::void(0)" > <span ><?php /* @escapeNotVerified */ echo __('Search'); ?></span> </a> and the js file .. […]