Composer update breaks 4.4.7 to 4.4.12 and give 500 errors after update

I have done many composer updated for the past 2 years which was fine each time it updates.

But today I wanted to update my Mautic 4.4.7 to the latest and when I did, it broken Mautic with 500 error when I am trying to load the page.

Yes, everything in cache folder was deleted as always after the update which still did not prevent the error. I had to do a rollback to 4.4.7 to get a working Mautic again.

Here the log of the error (domain and path name were edited out) . Can anyone help me troubleshoot it please? I am running php 8.0

Bill

[01-Apr-2024 20:22:20 America/Chicago] PHP Warning:  Undefined array key "path" in /home/editedout/www.editeddomain.com/app/bundles/CoreBundle/Controller/ExceptionController.php on line 111
[02-Apr-2024 05:08:34 America/Chicago] PHP Warning:  Undefined array key "path" in /home/editedout/www.editeddomain.com/app/bundles/CoreBundle/Controller/ExceptionController.php on line 111
[04-Apr-2024 03:30:41 America/Chicago] PHP Warning:  Undefined array key "path" in /home/editedout/www.editeddomain.com/app/bundles/CoreBundle/Controller/ExceptionController.php on line 111
[13-Apr-2024 14:28:12 America/Chicago] PHP Warning:  Undefined array key "path" in /home/editedout/www.editeddomain.com/app/bundles/CoreBundle/Controller/ExceptionController.php on line 111
[14-Apr-2024 15:05:17 America/Chicago] PHP Warning:  Undefined array key "path" in /home/editedout/www.editeddomain.com/app/bundles/CoreBundle/Controller/ExceptionController.php on line 111
[15-Apr-2024 18:29:55 UTC] PHP Warning:  require(/home/editedout/www.editeddomain.com/vendor/composer/../guzzlehttp/promises/src/functions_include.php): Failed to open stream: No such file or directory in /home/editedout/www.editeddomain.com/vendor/composer/autoload_real.php on line 78
[15-Apr-2024 18:29:55 UTC] PHP Warning:  require(/home/editedout/www.editeddomain.com/vendor/composer/../guzzlehttp/promises/src/functions_include.php): Failed to open stream: No such file or directory in /home/editedout/www.editeddomain.com/vendor/composer/autoload_real.php on line 78
[15-Apr-2024 18:29:55 UTC] PHP Fatal error:  Uncaught Error: Failed opening required '/home/editedout/www.editeddomain.com/vendor/composer/../guzzlehttp/promises/src/functions_include.php' (include_path='.:/opt/cpanel/ea-php80/root/usr/share/pear') in /home/editedout/www.editeddomain.com/vendor/composer/autoload_real.php:78
Stack trace:
#0 /home/editedout/www.editeddomain.com/vendor/composer/autoload_real.php(61): composerRequire91fde17925feee7c97363c87d7ea65fe('c964ee0ededf28c...', '/home/editedout...')
#1 /home/editedout/www.editeddomain.com/vendor/autoload.php(7): ComposerAutoloaderInit91fde17925feee7c97363c87d7ea65fe::getLoader()
#2 /home/editedout/www.editeddomain.com/autoload.php(13): require('/home/editedout...')
#3 /home/editedout/www.editeddomain.com/index.php(16): require_once('/home/editedout...')
#4 {main}
  thrown in /home/editedout/www.editeddomain.com/vendor/composer/autoload_real.php on line 78
[15-Apr-2024 18:29:55 UTC] PHP Fatal error:  Uncaught Error: Failed opening required '/home/editedout/www.editeddomain.com/vendor/composer/../guzzlehttp/promises/src/functions_include.php' (include_path='.:/opt/cpanel/ea-php80/root/usr/share/pear') in /home/editedout/www.editeddomain.com/vendor/composer/autoload_real.php:78
Stack trace:
#0 /home/editedout/www.editeddomain.com/vendor/composer/autoload_real.php(61): composerRequire91fde17925feee7c97363c87d7ea65fe('c964ee0ededf28c...', '/home/editedout...')
#1 /home/editedout/www.editeddomain.com/vendor/autoload.php(7): ComposerAutoloaderInit91fde17925feee7c97363c87d7ea65fe::getLoader()
#2 /home/editedout/www.editeddomain.com/autoload.php(13): require('/home/editedout...')
#3 /home/editedout/www.editeddomain.com/index.php(16): require_once('/home/editedout...')
#4 {main}
  thrown in /home/editedout/www.editeddomain.com/vendor/composer/autoload_real.php on line 78

Hi? Anyone home?

File missing…

Download an archive, extract files and rsync it over.

1 Like

Which file is missing? functions_include.php?

Thank you,
Bill

When it comes to patching, when in doubt, all of it. (no reason to hold yourself from insuring file integrity)

Make sure to take out the trash if any (files that were removed from the new release)

I thought this is what composer is suppose to do … LOL