Error when activating: can’t 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: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 calledinstalled.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)
Viewing 1 replies (of 1 total)
- The topic ‘Error when activating: can’t find installed.php’ is closed to new replies.