Open ParthBrahmbhatt opened 4 years ago
I go stuck on this as well (Magento 2.4). in FilterArgument.php the getEntityAttributes method looks like its returning the wrong type of array which throws an error in Magento's AstConverter.
I fixed it by changing getEntityAttributes() method to:
public function getEntityAttributes(): array { $fields = []; foreach ($this->config->getConfigElement('PromoBanner')->getFields() as $field) { $fields[$field->getName()] = [ 'type' => 'String', 'fieldName' => $this->fieldMapping[$field->getName()] ?? $field->getName(), ]; } return $fields; }
Below error coming after execute the query mentioned into module