I've been able to fix the problem by manually adding the libraries back in Composer. This works for everything EXCEPT PHPMailer. I can't seem to find a way to make it found, even though I have added it back through Composer and the files exist.
Suggestions on how to fix this?
For reference, I'm running the following setup:
Joomla 3.9.28
PHP 7.4.21
Here are the steps I followed:
1. This is the result when I added the library I needed for my component (docraptor/docraptor) as required in Composer.
Code: Select all
Lock file operations: 9 installs, 0 updates, 0 removals
- Locking docraptor/docraptor (2.0.0)
- Locking guzzlehttp/guzzle (6.5.5)
- Locking guzzlehttp/promises (1.4.1)
- Locking guzzlehttp/psr7 (1.8.2)
- Locking psr/http-message (1.0.1)
- Locking ralouphie/getallheaders (3.0.3)
- Locking symfony/polyfill-intl-idn (v1.23.0)
- Locking symfony/polyfill-intl-normalizer (v1.23.0)
- Locking symfony/polyfill-php72 (v1.23.0)
Package operations: 0 installs, 0 updates, 40 removals
- Removing symfony/yaml (v5.3.6)
- Removing symfony/polyfill-php55 (v1.20.0)
- Removing symfony/polyfill-mbstring (v1.23.1)
- Removing symfony/polyfill-ctype (v1.23.0)
- Removing symfony/deprecation-contracts (v2.4.0)
- Removing simplepie/simplepie (1.5.6)
- Removing psr/simple-cache (1.0.1)
- Removing psr/log (1.1.4)
- Removing psr/http-factory (1.0.1)
- Removing psr/http-client (1.0.1)
- Removing psr/container (1.1.1)
- Removing phpseclib/phpseclib (3.0.9)
- Removing phpoffice/phpspreadsheet (1.18.0)
- Removing phpmailer/phpmailer (v6.5.0)
- Removing paragonie/random_compat (v2.0.20)
- Removing paragonie/constant_time_encoding (v2.4.0)
- Removing myclabs/php-enum (1.8.3)
- Removing markbaker/matrix (2.1.3)
- Removing markbaker/complex (2.0.3)
- Removing maennchen/zipstream-php (2.1.0)
- Removing leafo/lessphp (v0.5.0)
- Removing joomla/utilities (1.6.2)
- Removing joomla/uri (1.2.0)
- Removing joomla/string (1.4.5)
- Removing joomla/session (1.6.0)
- Removing joomla/registry (1.6.3)
- Removing joomla/input (1.4.0)
- Removing joomla/image (1.5.1)
- Removing joomla/filter (1.4.3)
- Removing joomla/filesystem (1.6.0)
- Removing joomla/event (1.3.0)
- Removing joomla/di (1.5.1)
- Removing joomla/data (1.2.0)
- Removing joomla/compat (1.2.0)
- Removing joomla/archive (1.1.10)
- Removing joomla/application (1.9.2)
- Removing ircmaxell/password-compat (v1.0.4)
- Removing google/recaptcha (1.2.4)
- Removing ezyang/htmlpurifier (v4.13.0)
- Removing components/font-awesome (5.15.3)