Magento2: Warning: Illegal offset type in isset or empty in /var/www/html/unicorn-magento/vendor/magento/module-ui/Config/Reader/Definition/Data.php on line 126

Created on 29 Dec 2017  路  6Comments  路  Source: magento/magento2

I have upgraded my store from M2.1.4 to M2.2.1, Upgradation was successful, once after that i can't able to edit products from admin. I am getting error message.

Preconditions

  1. Magento v. 2.2.1
  2. PHP 7.1.12
  3. nginx/1.10.3 (Ubuntu)

Steps to reproduce

  1. Upgrade Magento from older version to M2.2.1
  2. Log in to admin
  3. Edit any Product

Expected result

  1. It should allow us to edit the product.

Actual result

  1. Warning: Illegal offset type in isset or empty in /var/www/html/unicorn-magento/vendor/magento/module-ui/Config/Reader/Definition/Data.php on line 126

local unicorn com admin catalog product edit id 2

Format is valid needs update

All 6 comments

@NagamaniNaresh , thank you for your report.
We were not able to reproduce this issue by following the steps you provided. Please provide more detailed steps to reproduce or try to reproduce this issue on a clean installation or latest release.

Thanks @magento-engcom-team. Sorry, It was due to the Third party module which i have used, so I am closing the issue.

@NagamaniNaresh which third party module? I'm having the same issue :(

@NagamaniNaresh Naw really, drop the beans, man.

Hi guys,

I had the same problem and I just fixed by deleting some sequence definitions in my own custom extensions' module.xml

It seems we should pay more attention to that sequence/dependency definitions.

You can also check the custom attribute which is getting used to create configurable product. I had issue in the custom attribute and deleting the custom attribute and recreating it resolved my issue

Was this page helpful?
0 / 5 - 0 ratings