Failed to reindex "Product Flat Data" - Reorganize EAV product structure to flat structure and "Product Price"

I have got the below error while indexing from the backend. "Warning: Illegal offset type in /home/public_html/vendor/magento/framework/DataObject.php on line 76",

  public function setData($key, $value = null)
            if ($key === (array)$key) {
                $this->_data = $key;
            } else {
                $this->_data[$key] = $value;  //line no. 76
            return $this;

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.