// create a new Mautic contact
$contact = $contactApi->create($params);
Now I am getting the following error when trying to create a new contact:
Unsure why this would be attempting to use a Stage attribute...but here is the error I am getting.
Code:
array(1) {
["error"]=>
array(2) {
["message"]=>
string(73) "Expected argument of type "MauticStageBundleEntityStage", "NULL" given"
["code"]=>
int(500)
}
}
Here is the log
Code:
Uncaught PHP Exception SymfonyComponentPropertyAccessExceptionInvalidArgumentException: "Expected argument of type "MauticStageBundleEntityStage", "NULL" given" at /opt/bitnami/apache2/htdocs/mautic/vendor/symfony/property-access/PropertyAccessor.php line 254 {"exception":"[object] (Symfony\Component\PropertyAccess\Exception\InvalidArgumentException(code: 0): Expected argument of type "Mautic\StageBundle\Entity\Stage", "NULL" given at /opt/bitnami/apache2/htdocs/mautic/vendor/symfony/property-access/PropertyAccessor.php:254)"} []
Now I am getting the following error when trying to create a new contact:
Unsure why this would be attempting to use a Stage attribute…but here is the error I am getting.
array(1) {
["error"]=>
array(2) {
["message"]=>
string(73) "Expected argument of type "MauticStageBundleEntityStage", "NULL" given"
["code"]=>
int(500)
}
}
Here is the log
Uncaught PHP Exception SymfonyComponentPropertyAccessExceptionInvalidArgumentException: "Expected argument of type "MauticStageBundleEntityStage", "NULL" given" at /opt/bitnami/apache2/htdocs/mautic/vendor/symfony/property-access/PropertyAccessor.php line 254 {"exception":"[object] (Symfony\Component\PropertyAccess\Exception\InvalidArgumentException(code: 0): Expected argument of type "Mautic\StageBundle\Entity\Stage", "NULL" given at /opt/bitnami/apache2/htdocs/mautic/vendor/symfony/property-access/PropertyAccessor.php:254)"} []