Title: Error when activating: can&#8217;t find installed.php
Last modified: August 7, 2023

---

# Error when activating: can’t find installed.php

 *  Resolved [thecmg](https://wordpress.org/support/users/thecmg/)
 * (@thecmg)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/error-when-activating-cant-find-installed-php/)
 * I’ve had this happen on both PHP 7.4 and 8.1 now after installing version 4.5.3.
   WordPress versions are a mix of 5.9.7 and 6.2.2.
 * After activating the plugin (either through `wp plugin activate` or through the
   UI, I get a white screen and the following error in the logs:
 *     ```wp-block-code
       Got error 'PHP message: PHP Warning: require(/srv/www/SITE/public_html/wp-content/plugins/wp-security-audit-log/third-party/vendor/composer/installed.php): Failed to open stream: No such file or directory in /srv/www/SITE/public_html/wp-content/plugins/wp-security-audit-log/third-party/vendor/composer/InstalledVersions.php on line 346
       ```
   
 * At that line in `InstalledVersions.php`, it’s trying to load a file called `installed.
   php` that does not exist. Creating a file with that name with just the content`
   <?php `seems to make it work and goes through the setup wizard.

Viewing 1 replies (of 1 total)

 *  Plugin Support [robertabela](https://wordpress.org/support/users/robert681/)
 * (@robert681)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/error-when-activating-cant-find-installed-php/#post-16956235)
 * Thank you for using our plugin [@thecmg](https://wordpress.org/support/users/thecmg/)
 * In regards to the different WordPress versions, I am presuming you mean you are
   seeing this warning on both versions, which means you are running the plugin 
   on multiple websites. Is that correct?
   By the way, this is a warning so it should
   not be affecting the functionality of the plugin or website. Can you please confirm
   that to start off with?Usually this warning is caused by different versions of
   Composer. Also, so now, once you have created the empty file, everything is working
   correctly?
 * Looking forward to hearing from you.

Viewing 1 replies (of 1 total)

The topic ‘Error when activating: can’t find installed.php’ is closed to new replies.

 * ![](https://ps.w.org/wp-security-audit-log/assets/icon-256x256.png?rev=2961534)
 * [WP Activity Log](https://wordpress.org/plugins/wp-security-audit-log/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-security-audit-log/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-security-audit-log/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-security-audit-log/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-security-audit-log/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-security-audit-log/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [robertabela](https://wordpress.org/support/users/robert681/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/error-when-activating-cant-find-installed-php/#post-16956235)
 * Status: resolved