wp-media / backwpup

BackWPup - WordPress Backup Plugin
https://backwpup.com
GNU General Public License v2.0
88 stars 37 forks source link

[Bug]: Missing Composer dependencies after upgrading to 4.0.0 #125

Open limenet opened 1 year ago

limenet commented 1 year ago

Description of the bug

After upgrading the plugin to version 4.0.0, WordPress crashes due to missing Composer dependencies.

Reproduction instructions

  1. Install plugin in version 3.10.0
  2. Upgrade to 4.0.0
  3. Website crashes

(A fresh install probably works, too)

Expected behavior

Plugin doesn't crash, dependencies are present.

Environment info

Relevant log output

[Wed Nov 16 13:08:47.194013 2022] [proxy_fcgi:error] [pid 2515441] [client XXXXXXXXXX:31216] AH01071: Got error 'PHP message: PHP Warning:  require(/var/www/example.com/wp-content/plugins/backwpup/vendor/composer/../amphp/amp/lib/functions.php): failed to open stream: No such file or directory in /var/www/example.com/wp-content/plugins/backwpup/vendor/composer/autoload_real.php on line 59PHP message: PHP Fatal error:  require(): Failed opening required '/var/www/example.com/wp-content/plugins/backwpup/vendor/composer/../amphp/amp/lib/functions.php' (include_path='/var/www/example.com/wp-content/plugins/backwpup/vendor/pear/pear_exception:/var/www/example.com/wp-content/plugins/backwpup/vendor/pear/console_getopt:/var/www/example.com/wp-content/plugins/backwpup/vendor/pear/pear-core-minimal/src:/var/www/example.com/wp-content/plugins/backwpup/vendor/pear/archive_tar:.:/usr/share/php') in /var/www/example.com/wp-content/plugins/backwpup/vendor/composer/autoload_real.php on line 59', referer: http://example.com/wp-login.php

Additional context

No response

Code of Conduct