FriendlyDotCH / mautic-multi-domain

MIT License
38 stars 18 forks source link

mautic 4.3-rc ERROR #9

Closed rashaqqel closed 1 year ago

rashaqqel commented 2 years ago

After installation, when clicking the multi domain button, nothing happens and i see this error in the log file.

[2022-05-21 03:25:30] mautic.CRITICAL: Uncaught PHP Exception Doctrine\DBAL\Exception\TableNotFoundException: "An exception occurred while executing 'SELECT COUNT() AS dctrn_count FROM (SELECT DISTINCT id10 FROM (SELECT m0.is_published AS is_published0, m0.date_added AS date_added1, m0.created_by AS created_by2, m0.created_by_user AS created_by_user3, m0.date_modified AS date_modified4, m0.modified_by AS modified_by5, m0.modified_by_user AS modified_by_user6, m0.checked_out AS checked_out7, m0.checked_out_by AS checked_out_by8, m0.checked_out_by_user AS checked_out_by_user9, m0.id AS id10, m0.email AS email11, m0.domain AS domain_12 FROM multidomain m0 ORDER BY m0_.email ASC) dctrn_result) dctrn_table': SQLSTATE[42S02]: Base table or view not found: 1146 Table 'mt.multi_domain' doesn't exist" at /home/mt/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 61 {"exception":"[object] (Doctrine\DBAL\Exception\TableNotFoundException(code: 0): An exception occurred while executing 'SELECT COUNT() AS dctrn_count FROM (SELECT DISTINCT id10 FROM (SELECT m0.is_published AS is_published0, m0.date_added AS date_added1, m0.created_by AS created_by2, m0.created_by_user AS created_by_user3, m0.date_modified AS date_modified4, m0.modified_by AS modified_by5, m0.modified_by_user AS modified_by_user6, m0.checked_out AS checked_out7, m0.checked_out_by AS checked_out_by8, m0.checked_out_by_user AS checked_out_by_user9, m0.id AS id10, m0.email AS email11, m0.domain AS domain_12 FROM multidomain m0 ORDER BY m0_.email ASC) dctrn_result) dctrn_table':\n\nSQLSTATE[42S02]: Base table or view not found: 1146 Table 'mt.multi_domain' doesn't exist at /home/mt/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:61, Doctrine\DBAL\Driver\PDO\Exception(code: 42S02): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'mt.multi_domain' doesn't exist at /home/mt/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18, PDOException(code: 42S02): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'mt.multi_domain' doesn't exist at /home/mt/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:141)"} {"hostname":"contact","pid":30966}

jos0405 commented 1 year ago

Hi there is an issue with initialization here. Reinstalling the plugin should help.