Mautic says emails are sent but they aren't

Hi,

I’ve updated to version 6.0.5 from 6.0.4 and now i’m facing a lot of problems now. I’ve downgraded but problems persist.

I have the email setup and tests OK. But when sending example emails to contacts it says it was sent but in fact it doesn’t. But it used to. I noticed because in a workflow that sends a mautic email in n8n the mautic node works normally. In the contact page it shows the sent email but the email isn’t sent.

Cron job: php /path_to_mautic/bin/console messenger:consume email --limit=50 --time-limit=600 --quiet

Also when applying doctrine:schema:validate i get:

Mapping

[FAIL] The entity-class Mautic\DynamicContentBundle\Entity\DynamicContentLeadData mapping is invalid:

  • The association Mautic\DynamicContentBundle\Entity\DynamicContentLeadData#dynamicContent refers to the inverse side field Mautic\DynamicContentBundle\Entity\DynamicContent#id which is not defined as association.
  • The association Mautic\DynamicContentBundle\Entity\DynamicContentLeadData#dynamicContent refers to the inverse side field Mautic\DynamicContentBundle\Entity\DynamicContent#id which does not exist.

Database

[ERROR] The database schema is not in sync with the current mapping file.

No errors in the log.
Also here’s the error given when console doctrine:schema:update --no-interaction --force

[WARNING] Not passing the “–complete” option to “doctrine:schema:update” is deprecated and will not be supported when
using doctrine/dbal 4

Updating database schema…

In ExceptionConverter.php line 117:

An exception occurred while executing a query: SQLSTATE[42000]: Syntax error or access violation: 1091 Can’t DROP INDEX IDX_1AE3441319EB6921; check that
it exists

In Exception.php line 28:

SQLSTATE[42000]: Syntax error or access violation: 1091 Can’t DROP INDEX IDX_1AE3441319EB6921; check that it exists

In Connection.php line 33:

SQLSTATE[42000]: Syntax error or access violation: 1091 Can’t DROP INDEX IDX_1AE3441319EB6921; check that it exists

doctrine:schema:update [–em EM] [–complete] [–dump-sql] [-f|–force]

Any idea where to start fixing?

I finally decided to start Mautic over… again. Went down in the rabit hole… mostly by following AI.

I got to agree with the moto: “Don’t update prod instance” as far it relates with Mautic.

Well this issue is closed. But don’t let my frustration influence you, Mautic and the community remain in my heart :slight_smile:

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.