Closed thisbar closed 3 years ago
This issue was caused by Mercado Pago's SDK that uses Doctrine Annotations
This issue was caused by Mercado Pago's SDK that uses Doctrine Annotations
This sounds like it should be reported upstream
In general if you're not using symfony bundle (or zend module) there's a setup step you need to do yourself so the annotations can be loaded, from https://www.doctrine-project.org/projects/doctrine-mongodb-odm/en/2.1/reference/introduction.html#setup
$loader = require_once('path/to/vendor/autoload.php');
AnnotationRegistry::registerLoader([$loader, 'loadClass']);
this possibly is mitigated by some newer version of doctrine/annotations, depends what you have installed.
I am having an issue with an model while the others works succesfully. I am using version 2.2. I get this error:
My model is:
The other models are identical and works!