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
{{ message }}
Repository navigation
[BUG] Wrong interface on compileSource leads to fatal error #16608
protected function compileSource(string! viewCode, bool extendsMode = false) -> string
compileSource method returns string, but sometimes it returns array
Example:
if extendsMode {
let finalCompilation[] = block;
} else {
let finalCompilation .= block;
}
}
}
return finalCompilation;
... which leads to a crash: PHP Fatal error: Phalcon\Mvc\View\Engine\Volt\Compiler::compileSource(): Return value must be of type string, array returned
changed the title [-]Wrong interface on compileSource leads to fatal error[/-][+][BUG] Wrong interface on compileSource leads to fatal error[/+]on Jun 7, 2024
Activity
[-]Wrong interface on compileSource leads to fatal error[/-][+][BUG] Wrong interface on compileSource leads to fatal error[/+]niden commentedon Jun 7, 2024
Resolved in #16609
Thank you @oleghind