How to install Acquia's Custom Objects plugin?

Hello sir. i wish to add item to custom object product with contect link.
but i’m getting only the data of the contact without the product data.

NB: the is no log error

my code:

CURLOPT_POSTFIELDS => array(
‘firstname’ => ‘Test’,
‘lastname’ => ‘DBS’,
‘email’ => ‘sys@gmail.com’,
‘customObjects’ => array(
‘data’ => array(
array(
‘id’ => 12, // Custom Object ID or alias for Products
‘alias’ => ‘products’,
‘data’ => array(
array(
‘name’ => ‘Order’,
‘attributes’ => array(
‘productprice’ => ‘8545’,
‘productID’ => ‘PD132’

                  )
              )
          )
      )
  )

)
/
)
));

Hi,

I’m having issues with installing it with PHP 8.1 and Mautic 5.0.3.
I tried both:

  • Release_ACS-2023.12.01-9
  • RELEASE_ACS-2022.09.02

Still same error after php8.1 bin/console mautic:plugins:install no update
If I run the php8.1 bin/console cache:clear then mautic is out I need to delete the folder plugins/CustomObjectsBundle/ and then again cache clear and it is back again.

Any help?

Thanks in advance.

Hi @janoslaszlo, I’m also having the same issue, just on the 5.0.3 version. Did you find a solution?

Hey, the Custom Objects plugin is not yet ready for Mautic 5.

The composer.json file is where you can find the plugin requirements for all Mautic plugins:

The work needed to make the plugin compatible with Mautic 5 is in this pull request:

Please, get involved with testing if you’d like to speed up the process.

1 Like