Answer the question
In order to leave comments, you need to log in
Why did cron break after connecting the vendor and use?
Tell me, why did the cron break after connecting the vendor and use? In the sense it stopped working
Namely, after adding these lines:
require '/var/www/project/vendor/autoload.php';
use Aws\Ses\SesClient;
use Aws\Exception\AwsException;
Answer the question
In order to leave comments, you need to log in
Turn on error output in PHP and you need to debug what error occurs.
I assume that Aws\Ses\SesClient and Aws\Exception\AwsException are not found, are these your classes/interfaces/traits self-written?
Try setting up composer.json and run the command:
$ php composer.phar dump-autoload -o
To make the autoloader pick up your classes
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question