We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If you try to edit or to add an object in your database, you could have this error:
Error: Undefined class constant 'BUILD_VALIDATOR_EVENT' File C:\wamp64\www\bob_dilab\vendor\cakephp\cakephp\src\Validation\ValidatorAwareTrait.php Line: 176
I added the class constant in file vendor\dilab\cake-mongo\src\Collection.php: const BUILD_VALIDATOR_EVENT = 'Model.buildValidator';
Its the same value than in the file vendor\cakephp\cakephp\src\ORM\Table.php
I don't know if it is the right way to fix it but it made the trick for me.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If you try to edit or to add an object in your database, you could have this error:
Error: Undefined class constant 'BUILD_VALIDATOR_EVENT'
File C:\wamp64\www\bob_dilab\vendor\cakephp\cakephp\src\Validation\ValidatorAwareTrait.php
Line: 176
I added the class constant in file vendor\dilab\cake-mongo\src\Collection.php:
const BUILD_VALIDATOR_EVENT = 'Model.buildValidator';
Its the same value than in the file vendor\cakephp\cakephp\src\ORM\Table.php
I don't know if it is the right way to fix it but it made the trick for me.
The text was updated successfully, but these errors were encountered: