Fatal error when activating Regression Testing Extension

I’ve created a fresh WordPress installation for testing (translation project) and installed MainWP Dashboard 5.4.0.20. The site is running on PHP 8.4

When activating Regression Testing Extension 5.1 I get the following warning and fatal errors:

PHP Warning:  require_once(/.../wp-content/plugins/mainwp-regression-testing-extension/libs/vendor/composer/autoload_real.php): Failed to open stream: No such file or directory in /.../wp-content/plugins/mainwp-regression-testing-extension/libs/vendor/autoload.php on line 23

PHP Fatal error:  Uncaught Error: Failed opening required '/.../wp-content/plugins/mainwp-regression-testing-extension/libs/vendor/composer/autoload_real.php' (include_path='.:/usr/local/php84/lib/php') in /.../wp-content/plugins/mainwp-regression-testing-extension/libs/vendor/autoload.php:23
Stack trace:
#0 /.../wp-content/plugins/mainwp-regression-testing-extension/mainwp-html-regression-extension.php(162): require_once()
#1 /.../wp-content/plugins/mainwp-regression-testing-extension/mainwp-html-regression-extension.php(117): MainWP\Extensions\HTML_Regression\MainWP_Html_Regression_Extension_Activator::auto_load_files()
#2 /.../wp-content/plugins/mainwp-regression-testing-extension/mainwp-html-regression-extension.php(303): MainWP\Extensions\HTML_Regression\MainWP_Html_Regression_Extension_Activator->__construct()
#3 /.../wp-admin/includes/plugin.php(2387): include_once('...')
#4 /.../wp-admin/includes/plugin.php(673): plugin_sandbox_scrape()
#5 /.../wp-admin/includes/plugin.php(879): activate_plugin()
#6 /.../wp-admin/plugins.php(126): activate_plugins()
#7 {main}
  thrown in /.../wp-content/plugins/mainwp-regression-testing-extension/libs/vendor/autoload.php on line 23

Occurrence: Warning is once, error is blocking activation.

Hey @josklever

I couldn’t reproduce this issue. I’ve used a fresh WP install and a fresh MainWP Dashboard install running on PHP 8.4.10.

Can you try removing the add-on and reinstalling it?

If possible, try deactivating all non-MainWP plugins on the site.

If you still get the same error, please post the community system report from your MainWP Dashboard for our review.

A re-installation did help indeed. It appears that the plugin was installed incompletely the first time. Maybe the bulk install of all extensions at once was a bit to much.

Deactivating all non-MainWP plugins is not relevant on a fresh install…