From e1d5964e0cd26b76c67d38459771b54742ee8937 Mon Sep 17 00:00:00 2001 From: Sathakathulla-S Date: Tue, 15 Apr 2025 19:34:38 +0530 Subject: [PATCH] Exception #0 (ReflectionException) issue fixed --- .../Eav/Model/Entity/Attribute/AbstractAttribute.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/code/Magento/Eav/Model/Entity/Attribute/AbstractAttribute.php b/app/code/Magento/Eav/Model/Entity/Attribute/AbstractAttribute.php index 7cd3be6034890..cb7a9f3602831 100644 --- a/app/code/Magento/Eav/Model/Entity/Attribute/AbstractAttribute.php +++ b/app/code/Magento/Eav/Model/Entity/Attribute/AbstractAttribute.php @@ -636,7 +636,11 @@ public function getSource() } else { $this->_source = $this->getSourceModel(); } - $source = $this->_universalFactory->create($this->_source); + try { + $source = $this->_universalFactory->create($this->_source); + } catch (\ReflectionException $e) { + $source = false; + } if (!$source) { throw new LocalizedException( __(