- Issue created by @hemgar
- Status changed to RTBC
7 months ago 3:52am 27 August 2024 - Status changed to Needs work
4 months ago 7:50am 20 November 2024 - 🇮🇳India prashant.c Dharamshala
This is not the correct way to fix this. Because this is a library downloaded by the composer
mailjet/mailjet-apiv3-php
We need to add the following to the composer.json file
"MailjetTools\\": "docroot/modules/contrib/mailjet/lib/mailjet-api-php/"
in the section
"autoload-dev": { "psr-4": { "Drupal\\Tests\\PHPUnit\\": "tests/phpunit/src/", "MailjetTools\\": "docroot/modules/contrib/mailjet/lib/mailjet-api-php/" } },
Then refresh the autoload path by executing the command
composer dump-autoload
This should fix the error.