Open tomasr1981 opened 4 months ago
Venturia/Controller/Action/Helper/SimpleTemplateViewRenderer.php is not a Zend Framework class, but it looks like that's where the bug is. It is calling Zend_View_Abstract->render with a null argument, but the argument should be the name of a template file. ZF should probably throw an error in this case, but it does not, so you deal with the natural consequences of trying to render with a null template file name.
You're right, I forgot to mention that. However, this line is treated and the mentioned function should not be called with a null template.
80 if (!is_null($layoutScript)) {
81 $layoutContent = $this->view->render($layoutScript);
82 $this->getResponse()->appendBody($layoutContent, $name);
84 }
So listing the error doesn't make much sense. Do you have any idea?
I would run that in a debugger and see what is actually happening, there is no way to tell from this, other than it's something unexpected.
Hi, I found an error that I can't locate, or rather I don't know what caused it. The truth is that I'm using PHP 8.2, but I'm not sure if that makes a difference.
I am using the following code in simple-template.tpl.php, yet the error says that there is an error on line 246.
What exactly causes the framework error and how can it be fixed?