Marketplace installation of Custom Objects fails

Your software
My Mautic version is: 4.4.7
My PHP version is: 8.0

Your problem
My problem is:

Tried to install “custom objects” plugin from the marketplace. Takes a while, confirms installation. Asks for activation in plugins.

However, its not in the plugins section, can’t be activated. Is also not showing up anywhere in Mautic. The plugin folder doesn’t show this plugin either.

These errors are showing in the log:

“[2023-04-01 15:17:23] mautic.ERROR: Installation of plugin through Composer has failed”

Steps I have tried to fix the problem:

Tried to install from CLI via “composer require acquia/mc-cs-plugin-custom-objects” confirms the installation. Clear cache, install plugin via command line made it finally appear in the plugins list in Mautic.

I had this issue after installing Mautic with Composer and I thought I did something wrong so didn’t bother to report it.

I think I have the same problem:

Your software
My Mautic version is: 4.4.7
My PHP version is: 7.4.33

Your problem
When I try to run the installation of any addon on, the information appears:
“Successfully installed Cronfig”

My mautic is a fresh test installation.

But in log:

[2023-04-11 07:05:06] mautic.ERROR: Installation of plugin through Composer has failed:  [] {"hostname":"ubuntu-2gb-fsn1-1","pid":24208}
[2023-04-11 07:05:20] mautic.WARNING: PHP Warning - require(/home/perfo-ma/htdocs/test.testdomain.com/var/cache/pro_/ContainerJh3AbeS/getSwiftmailer_EmailSender_ListenerService.php): failed to open stream: No such file or directory - in file /home/perfo-ma/htdocs/test.testdomain.com/var/cache/pro_/ContainerJh3AbeS/appAppKernelProdContainer.php - at line 2338 {"file":"getSwiftmailer_EmailSender_ListenerService.php","lazyLoad":true} {"hostname":"ubuntu-2gb-fsn1-1","pid":24208}
[2023-04-11 07:05:20] mautic.ERROR: PHP Notice: require(): Failed opening required '/home/perfo-ma/htdocs/test.testdomain.com/var/cache/pro_/ContainerJh3AbeS/getSwiftmailer_EmailSender_ListenerService.php' (include_path='.:/usr/share/php') - in file /home/perfo-ma/htdocs/test.testdomain.com/var/cache/pro_/ContainerJh3AbeS/appAppKernelProdContainer.php - at line 2338 [] {"hostname":"ubuntu-2gb-fsn1-1","pid":24208}
[2023-04-11 07:05:20] mautic.WARNING: PHP Warning - Cannot modify header information - headers already sent by (output started at /home/perfo-ma/htdocs/test.testdomain.com/vendor/symfony/http-foundation/Response.php:384) - in file /home/perfo-ma/htdocs/test.testdomain.com/app/bundles/CoreBundle/ErrorHandler/ErrorHandler.php - at line 481 {"error":{"inline":null,"type":64,"message":"The site is currently offline due to encountering an error. If the problem persists, please contact the system administrator. System administrators, check server logs for errors.","logMessage":null,"line":2338,"file":"/home/perfo-ma/htdocs/test.testdomain.com/var/cache/pro_/ContainerJh3AbeS/appAppKernelProdContainer.php","trace":[{"namespace":"","short_class":"","class":"","type":"","function":"","file":"/home/perfo-ma/htdocs/test.testdomain.com/var/cache/pro_/ContainerJh3AbeS/appAppKernelProdContainer.php","line":2338,"args":[]}],"context":[],"showExceptionMessage":false,"previous":null},"inTemplate":false,"isAjax":true,"dataArray":{"errors":[{"message":"The site is currently offline due to encountering an error. If the problem persists, please contact the system administrator. System administrators, check server logs for errors.","code":500,"type":null}]}} {"hostname":"ubuntu-2gb-fsn1-1","pid":24208}
[2023-04-11 07:05:20] mautic.ERROR: Symfony\Component\Debug\Exception\FatalErrorException: Notice: require(): Failed opening required '/home/perfo-ma/htdocs/test.testdomain.com/var/cache/pro_/ContainerJh3AbeS/getSwiftmailer_EmailSender_ListenerService.php' (include_path='.:/usr/share/php') - in file /home/perfo-ma/htdocs/test.testdomain.com/var/cache/pro_/ContainerJh3AbeS/appAppKernelProdContainer.php - at line 2338 [] {"hostname":"ubuntu-2gb-fsn1-1","pid":24208}```

Hi guys,

Any solution for this issue?
Fresh install through composer, I installed the plugin from Marketplace and then I’m stucking with a 500 internal error just after hitting the button to go to the plugins page (CTA after install is successful).

Mautic version: Mautic 4.4.8

Log:

`

[2023-05-22 00:20:16] mautic.CRITICAL: Uncaught PHP Exception Doctrine\DBAL\Exception\TableNotFoundException: “An exception occurred while executing ‘SELECT c0_.is_published AS is_published_0, c0_.date_added AS date_added_1, c0_.created_by AS created_by_2, c0_.created_by_user AS created_by_user_3, c0_.date_modified AS date_modified_4, c0_.modified_by AS modified_by_5, c0_.modified_by_user AS modified_by_user_6, c0_.checked_out AS checked_out_7, c0_.checked_out_by AS checked_out_by_8, c0_.checked_out_by_user AS checked_out_by_user_9, c0_.id AS id_10, c0_.alias AS alias_11, c0_.name_singular AS name_singular_12, c0_.name_plural AS name_plural_13, c0_.description AS description_14, c0_.lang AS lang_15, c0_.type AS type_16, c0_.category_id AS category_id_17, c0_.relationship_object AS relationship_object_18, c0_.master_object AS master_object_19 FROM cdc_mt_custom_object c0_ LEFT JOIN cdc_mt_categories c1_ ON c0_.category_id = c1_.id WHERE c0_.is_published = ?’ with params [1]: SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘databasemtc.cdc_mt_custom_object’ doesn’t exist” at /var/www/vhosts/httpdocs/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 c0_.is_published AS is_published_0, c0_.date_added AS date_added_1, c0_.created_by AS created_by_2, c0_.created_by_user AS created_by_user_3, c0_.date_modified AS date_modified_4, c0_.modified_by AS modified_by_5, c0_.modified_by_user AS modified_by_user_6, c0_.checked_out AS checked_out_7, c0_.checked_out_by AS checked_out_by_8, c0_.checked_out_by_user AS checked_out_by_user_9, c0_.id AS id_10, c0_.alias AS alias_11, c0_.name_singular AS name_singular_12, c0_.name_plural AS name_plural_13, c0_.description AS description_14, c0_.lang AS lang_15, c0_.type AS type_16, c0_.category_id AS category_id_17, c0_.relationship_object AS relationship_object_18, c0_.master_object AS master_object_19 FROM cdc_mt_custom_object c0_ LEFT JOIN cdc_mt_categories c1_ ON c0_.category_id = c1_.id WHERE c0_.is_published = ?’ with params [1]:\n\nSQLSTATE[42S02]: Base table or view not found: 1146 Table ‘databasemtc.cdc_mt_custom_object’ doesn’t exist at /var/www/vhosts/httpdocs/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 ‘databasemtc.cdc_mt_custom_object’ doesn’t exist at /var/www/vhosts/httpdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18, PDOException(code: 42S02): SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘databasemtc.cdc_mt_custom_object’ doesn’t exist at /var/www/vhosts/httpdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:117)”} {“hostname”:“srv”,“pid”:28429}

`
Any help is greatly appreciated.

Thank you.