Skip to content

magento2.3

Auto Added by WPeMatico

Shipment comment

I am trying to update a comment for an existing shipment, but I keep getting err mssg: {“message”: “Could not save the shipment comment.”} API and example I’m using are : Method:POST Request: {{base_url}}/rest/all/V1/shipment/1/comments { “entity”: { “parent_id”: 0, “comment”:… Read More »Shipment comment

Error: Call to a member function setActive() on bool in /var/www/html/project.local/vendor/magento/module-backend/Model/View/Result/Page.php:26

showing this error while clicking on a menu item created for a grid public function execute() { /** @var MagentoBackendModelViewResultPage $resultPage */ $resultPage = $this->_resultPageFactory->create(); $resultPage->setActiveMenu(‘Vendor_Grid::menu_id’); $resultPage->getConfig()->getTitle()->prepend(__(‘Certificate Grid List’)); return $resultPage; }

in magento2 add unique key constaint on column which has already foreign key adding for vendor code

i trying to add unique key constraint to company_id column in company_credit table but i facing issue like duplicate key Syntax error or access violation: 1061 Duplicate key name ‘COMPANY_CREDIT_COMPANY_ID’, query was: ALTER TABLE company_credit ADD CONSTRAINT COMPANY_CREDIT_COMPANY_ID UNIQUE KEY… Read More »in magento2 add unique key constaint on column which has already foreign key adding for vendor code

Magento 2 Data Migration “Integrity constraint violation: 1062 Duplicate entry ### for key ‘SALES_CREDITMEMO_INCREMENT_ID_STORE_ID

I’ve been having issues while using the data migration tool to migrate data from Magento 1.9.3 to Magento 2.3: I already setup the config.xml to migrate only Customers and Sales. I then run the following commands: php bin/magento migrate:settings –reset… Read More »Magento 2 Data Migration “Integrity constraint violation: 1062 Duplicate entry ### for key ‘SALES_CREDITMEMO_INCREMENT_ID_STORE_ID