- Magento Development
- Magento Services
- Industry Solutions
- Hire Magento Developer
I faced a problem after migration from Magento 1,
When I go to the admin product page, I can’t see the product view just reloading the loader.
When I check the log files gives me error like: PHP Fatal error: Method Magento\\Ui\\TemplateEngine\\Xhtml\\Result::__toString() must not throw an exception, caught TypeError: Argument 1 passed to Magento\\InventorySalesAdminUi\\Model\\GetSalableQuantityDataBySku::execute() must be of the type string, null given, called in…
After debugging I found the issue that stated SKU should be empty for migration products.
As you know, in Magento, the SKU is a required field when you create a new product. So in migration, it might happened that store product SKU was blanked or not a string due to corrupted data.
To resolve this issue, we need to run below query:
UPDATE catalog_product_entity SET sku='' WHERE sku IS NULL;
Simply, we set SKU as NULL and fix that where any SKU’s are store blank in the database.
create the event.xml on your module under the Vendor/Module/etc/event.xml and...
If you need a custom meta tag for a specific...
Generally, if you load font as preload, it will load...
Step 1: First you need to add di.xml in the...
Override the vendor/magento/module-sales/view/frontend/templates/email/items/order/default.phtml file on your theme and add the...