diff --git a/vendor/magento/framework/View/File/Collector/Base.php b/vendor/magento/framework/View/File/Collector/Base.php
index 3dd1st..9405947 100644
--- a/vendor/magento/framework/View/File/Collector/Base.php
+++ b/vendor/magento/framework/View/File/Collector/Base.php
@@ -65,7 +65,7 @@
         foreach ($sharedFiles as $file) {
             $result[] = $this->fileFactory->create($file->getFullPath(), $file->getComponentName(), null, true);
         }
-        $area = $theme->getArea();
+        $area = $theme->getData('area');
         $themeFiles = $this->componentDirSearch->collectFilesWithContext(
             ComponentRegistrar::MODULE,
             "view/{$area}/{$this->subDir}{$filePath}"
