Web Analytics

Fill the form & Get Installation Support

Magento 2.3 admin product view not working after migration

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:

Simply, we set SKU as NULL and fix that where any SKU’s are store blank in the database.

Fill the below form if you have any Magento programming need.

    Recent Articles

    Author Info

    Author Image

    Magento Developer

    Hire S. Gorjia

    Get a Free Quote

      /* second popup */

      Connect With Us