Hey @JNichel,
I would spend some time practicing with PHP arrays. This error is telling you you’re trying to mix objects with multidimensional arrays. You are also not allowed to use colons as assignment operators in PHP.
In short, replace all of those {} with [] and colons with “=>”.
P.S. I have found that the PHP SDK is not intuitive. Instead, I wrote my own cURL wrapped functions to handle data with HubSpot.
I hope that helps!
