You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
final protected function statementList(array! statements, bool extendsMode = false) -> string
It sometimes returns null which leads to the crash:
PHP Fatal error: Phalcon\Mvc\View\Engine\Volt\Compiler::statementList(): Return value must be of type string, null returned
Also similar on the readMetaDataIndex function PHP Fatal error: Phalcon\Mvc\Model\MetaData::readMetaDataIndex(): Return value must be of type ?array, string returned
The text was updated successfully, but these errors were encountered:
@oleghind Could you please offer a test script or the model you are trying to use against the metadata engine? Also any volt files relevant?
At first look it doesn't seem that the statementList returns anything other than a string and the readMetaDataIndex should in theory return ?array but I need to check it against the data you are testing with.
final protected function statementList(array! statements, bool extendsMode = false) -> string
It sometimes returns
null
which leads to the crash:PHP Fatal error: Phalcon\Mvc\View\Engine\Volt\Compiler::statementList(): Return value must be of type string, null returned
Also similar on the
readMetaDataIndex
functionPHP Fatal error: Phalcon\Mvc\Model\MetaData::readMetaDataIndex(): Return value must be of type ?array, string returned
The text was updated successfully, but these errors were encountered: