Skip to content

Magento 2.4.6 – No such entity with cartId – checkout_cart_index.xml

We face the issue that we sometimes get the error in the exception.log: Exception #0 (MagentoFrameworkExceptionNoSuchEntityException): No such entity with cartId = #0 /vendor/magento/module-quote/Model/QuoteRepository.php(149): MagentoFrameworkExceptionNoSuchEntityException::singleField(‘cartId’, NULL) #1 /vendor/magento/framework/Interception/Interceptor.php(58): MagentoQuoteModelQuoteRepository->getActive(NULL) #2 /vendor/magento/framework/Interception/Interceptor.php(138): MagentoQuoteModelQuoteRepositoryInterceptor->___callParent(‘getActive’, Array) #3 /vendor/magento/framework/Interception/Interceptor.php(153): MagentoQuoteModelQuoteRepositoryInterceptor->MagentoFrameworkInterception{closure}(NULL) #4 /generated/code/Magento/Quote/Model/QuoteRepository/Interceptor.php(52): MagentoQuoteModelQuoteRepositoryInterceptor->___callPlugins(‘getActive’, Array,… Read More »Magento 2.4.6 – No such entity with cartId – checkout_cart_index.xml

Add index in existing index in magento2

i want to add index in already existing index using Setup/UpgradeSchema $connection = $setup->getConnection(); $tableName = $setup->getTable(‘sales_order_grid’); $indexName = ‘sales_ordergrid_netsuite_id’; $columnName = ‘netsuite_id’; $connection->addIndex( $tableName, $indexName, $columnName, MagentoFrameworkDBAdapterAdapterInterface::INDEX_TYPE_FULLTEXT ); It’s creating new insted of adding to existing index. How can… Read More »Add index in existing index in magento2