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
Hi , May I know how did you work it out ?
https://forum.phalconphp.com/discussion/7335/phalcon-203-the-metadata-is-invalid-or-is-corrupt
The text was updated successfully, but these errors were encountered:
it problem occured when running out of phalcon version updated, i was update source for lastest version.
Sorry, something went wrong.
Yes, I used the latest version of Phalcon, but this problem is still occured.
@@ it occured because i did not defined default value of meta data annotations, add this code to fix it. /Files AnnotationsMetaDataInitializer.php/
/Files AnnotationsMetaDataInitializer.php/
public function getMetaData(ModelInterface $model, DiInterface $di) { ... // Default values for columns PhalconMetadata::MODELS_DEFAULT_VALUES => [], // Fields that allow empty strings PhalconMetadata::MODELS_EMPTY_STRING_VALUES => []
public function getMetaData(ModelInterface $model, DiInterface $di) { ... // Default values for columns PhalconMetadata::MODELS_DEFAULT_VALUES => [],
// Fields that allow empty strings PhalconMetadata::MODELS_EMPTY_STRING_VALUES => []
}
No branches or pull requests
Hi , May I know how did you work it out ?
https://forum.phalconphp.com/discussion/7335/phalcon-203-the-metadata-is-invalid-or-is-corrupt
The text was updated successfully, but these errors were encountered: