Error: Typed property Drupal\experience_builder\Entity\VersionedConfigEntityBase::$active_version must not be accessed before initialized
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3530804. -->
Reported by: [jatingupta40](https://www.drupal.org/user/3687039)
>>>
<p>While accessing the /admin/modules/uninstall page or clearing cache using (ddev ddev drush cr)<br>
Error: Typed property Drupal\experience_builder\Entity\VersionedConfigEntityBase::$active_version must not be accessed before initialization in Drupal\experience_builder\Entity\VersionedConfigEntityBase->__construct() (line 34 of modules/contrib/experience_builder/src/Entity/VersionedConfigEntityBase.php)</p>
<p>1. Take a fresh pull<br>
2. cd ui<br>
3. npm install<br>
4. npm run devdrupal<br>
5. ddev drush cr > got this error<br>
6. checked if site is working - admin/modules/uninstall also got the same error.</p>
<p><img src="https://www.drupal.org/files/issues/2025-06-18/Screenshot%20from%202025-06-18%2018-50-42.png" alt="cache clear"></p>
<p><img src="https://www.drupal.org/files/issues/2025-06-18/Screenshot%20from%202025-06-18%2018-50-59.png" alt=""></p>
> Related issue: [Issue #3523841](https://www.drupal.org/node/3523841)
> Related issue: [Issue #3492722](https://www.drupal.org/node/3492722)
issue