After enabling the cron job for scheduled services:
* * * * * /usr/bin/php -f /var/www/yourespodirectory/cron.php > /dev/null 2>&1
I get the following error which is related to importing e-mails from a synchronized IMAP account:
PHP Fatal error: Cannot use Espo\Entities\Email as Email because the name is already in use in
/var/www/html/espocrm/application/Espo/Services/InboundEmail.php on line 34
I have solved it - just change the line 34 in
/var/www/html/espocrm/application/Espo/Services/InboundEmail.php
which normally reads:
use \Espo\Entities\Email;
to read:
use \Espo\Entities\Email as EntityEmail;
There is no direct reference to the Email namespace so this way it works.
But this should be changed in the EspoCRM code as it actually is a bug, and should not be contained in the source code this way.
Comment