magento / magento2

Prior to making any Submission(s), you must sign an Adobe Contributor License Agreement, available here at: https://opensource.adobe.com/cla.html. All Submissions you make to Adobe Inc. and its affiliates, assigns and subsidiaries (collectively “Adobe”) are subject to the terms of the Adobe Contributor License Agreement.
http://www.magento.com
Open Software License 3.0
11.54k stars 9.31k forks source link

Reindexing issue after upgrading to magento 2.3 #22970

Closed himanshu-tech closed 5 years ago

himanshu-tech commented 5 years ago

Preconditions (*)

  1. Install magento 2.2.x
  2. Make custom multiselect product attribute with souce model

Steps to reproduce (*)

  1. Upgrade above magento2.2.x to magento2.3.1 2.Reindex Data

Expected result (*)

  1. Successful reidexing should happen for all indexers.

Actual result (*)

  1. Got error while reindexing Product EAV(catalog_product_attribute). The error which I got is: Warning: Illegal offset type in vendor/magento/module-catalog/Model/ResourceModel/Product/Indexer/Eav/Source.php line 351
m2-assistant[bot] commented 5 years ago

Hi @himanshu-tech. Thank you for your report. To help us process this issue please make sure that you provided the following information:

Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:

@magento-engcom-team give me 2.3-develop instance - upcoming 2.3.x release

For more details, please, review the Magento Contributor Assistant documentation.

@himanshu-tech do you confirm that you were able to reproduce the issue on vanilla Magento instance following steps to reproduce?


himanshu-tech commented 5 years ago

@magento-engcom-team Yes, I was able to reproduce the issue on vanilla Magento instance.

himanshu-tech commented 5 years ago

My bad. I have used translation function in one of the options value.

JonathanHelvey commented 2 years ago

Hi @himanshu-tech , I am running into this exact same error. I take it, its one of my attributes values is wrong. However, I am not sure. How exactly did you find what attribute was throwing error? How did you fix? Just curious, thank you for the help.