I'm updating everything to prepare for the upgrade to version 7.0. I'm currently on Espo 5.9.4
As part of the upgrade, I upgraded PHP 7.2 to 7.4 and I thought everything was working fine...until it seemed like we weren't getting emails anymore.
Turns out...we weren't. And this is what the log says. I'm assuming it's a PHP error, but maybe not?
I'll be upgrading to 7.0 within a few days, but can't go that long w/o email in the system. How can I fix this quickly?
UPDATE:
So, turns out we haven't receive any emails in our system for about 3 days, when we started updating things. What's confusing is that the email logs in the Admin say "Success" for every email poll AND the error message in the logs is somewhat sporadic. It's not triggering nearly as frequently as our emails are being checked. But still, no emails are coming in at all...
UPDATE #2:
I tried to start upgrading en route to 7.0 to see if that would fix the errors.
It got worse.
When I started running the command php command.php upgrade, I got this error:
To try and solve this, I downloaded the 5.9.4 zip file, removed the vendor files on my server and did an SFTP upload of vendor files from the 'clean' 5.4.9 install. The error is still there...
I also tried to upload the upgrade package via the UI and the error I got was that this needed to be run from the command line.
So...now email doesn't work AND I can't start upgrading...
As part of the upgrade, I upgraded PHP 7.2 to 7.4 and I thought everything was working fine...until it seemed like we weren't getting emails anymore.
Turns out...we weren't. And this is what the log says. I'm assuming it's a PHP error, but maybe not?
Code:
Espo.ERROR: InboundEmail 5e4344684a6edd9fb (Get Message w/ parser MailMimeParser): [0] NoRewindIterator::__construct(): Argument #1 ($iterator) must be of type Iterator, SplFixedArray given [] []
UPDATE:
So, turns out we haven't receive any emails in our system for about 3 days, when we started updating things. What's confusing is that the email logs in the Admin say "Success" for every email poll AND the error message in the logs is somewhat sporadic. It's not triggering nearly as frequently as our emails are being checked. But still, no emails are coming in at all...
UPDATE #2:
I tried to start upgrading en route to 7.0 to see if that would fix the errors.
It got worse.
When I started running the command php command.php upgrade, I got this error:
Code:
swp@swp-espo-production:/var/www/hub$ php command.php upgrade PHP Fatal error: Declaration of PDO::Prepare(string $query, array $options = []) must be compatible with Doctrine\DBAL\Driver\Connection:Prepare($prepareString) in /var/www/hub/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php on line 0
I also tried to upload the upgrade package via the UI and the error I got was that this needed to be run from the command line.
So...now email doesn't work AND I can't start upgrading...
Comment