The latest version of the CO plugin is broken as it needs some new code in Mautic. But that cannot get into Mautic 4 anymore as it’s security-fixes only mode.
This is related issue with the code changes needed in Mautic, but it will never get back into Mautic 4:
Another option is to use some older version of the CO plugin.
I also realized there must be a ‘cut’ between M4 and M5.
I have the following branch in production for a client: mc-cs-plugin-custom-objects-RELEASE_ACS-2022.09.02
Works for me just fine.
Of course I suggest to use the latest version.
hello @joeyk i had an issue while installing mc-cs-plugin-custom-objects in mautic 4.4
please can you help me?. i try clearing the cash but it’s still showing thesame error. thank in advance.
hello @escopecz i had an issue while installing mc-cs-plugin-custom-objects in mautic 4.4
please can you help me?. i try clearing the cash but it’s still showing thesame error. thank in advance.
Thank Sir i successfully install the plugin but i have this error whenever a add a product in the objet created and i can’t import from other source too.
I run Mautic v5.0.3 without composer. My PHP version is 8.0.30.
Can you confirm that the plugin is compatible with my Mautic and PHP version?
I downloaded the mentioned branch and extracted it into the plugins folder. Renamed it to CustomObjectsBundle.
I run the php80 ./mautic/bin/console mautic:plugins:install command. The result is 0 new plugins were installed and 0 updated.
I run php80 ./mautic/bin/console cache:clear and receiving error: Compile Error: Access level to MauticPlugin\CustomObjectsBundle\Controller\CustomObject\FormController::renderForm() must be protected (as in class Symfony\Bundle\FrameworkBundle\Controller\AbstractController) or weaker
Do you have any idea, how to fix it?
I also tried to install the plugin using php80 ./mautic/bin/console mautic:marketplace:install acquia/mc-cs-plugin-custom-objects -vvv. This time I got this error: Error while installing this plugin. Check the logs for more details or run again with the -vvv parameter.
The log contains this: [2024-02-26T18:20:28.411523+00:00] mautic.WARNING: Command mautic:marketplace:install exited with status code 2 {“hostname”:“s50”,“pid”:861212}
Is this because of the lack of composer?
Hello @joeyk@escopecz please i’m facing this issue after installing custom objet and when i want to add new item or import something it’s show me the screen below. please for help. i’m using mautic 4.4.11 with PHP 7.4.33.
what i have don : i have clear the cash
error in the log : [2024-02-27 08:06:21] mautic.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalThrowableError: “Attempted to call an undefined method named “loadMetadata” of class “MauticPlugin\CustomObjectsBundle\Entity\AbstractCustomFieldValue”.” at /var/www/html/mautic/vendor/doctrine/persistence/src/Persistence/Mapping/Driver/StaticPHPDriver.php line 65 {“exception”:“[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Attempted to call an undefined method named "loadMetadata" of class "MauticPlugin\CustomObjectsBundle\Entity\AbstractCustomFieldValue". at /var/www/html/mautic/vendor/doctrine/persistence/src/Persistence/Mapping/Driver/StaticPHPDriver.php:65)”} {“hostname”:“ip-172-31-39-150”,“pid”:467}