Can you temporary change the code for the view component in app/config/services.php to
$di->setShared('view', function () {
$config = $this->getConfig();
$view = new View();
$view->setDI($this);
$view->setViewsDir($config->application->viewsDir);
$view->registerEngines([
'.volt' => function ($view) {
$config = $this->getConfig();
$volt = new VoltEngine($view, $this);
if($config->settings->development === false) {
$volt->setOptions([
'compiledPath' => $config->application->cacheDir,
'compiledSeparator' => '_',
'compileAlways' => TRUE // use if problems with updating files exist
]);
// Alternative to force clear cache and re-compile files
// array_map('unlink', glob($config->application->cacheDir . 'volt/*.php'));
// $volt->setOptions(array(
// 'compileAlways' => TRUE,
// ));
}
// Custom volt functions
$compiler = $volt->getCompiler();
$compiler->addFunction('split', 'explode');
return $volt;
},
'.phtml' => PhpEngine::class // php >= 5.5 only
//'.phtml' => 'Phalcon\Mvc\View\Engine\Php' // php <= php 5.4 work-around
]);
return $view;
});
And the load the page and see if it works?