Problem after install with left and right side panels

Permalink
To get the dashboard and left panel working I had to modify the following code....
added this line $this->template = strval(str_replace("\0", "", $this->template));

Is this a bug?

Problem in concrete5-8.4.0RC4 and concrete5-8.3.2 code.

public function renderViewContents($scopeItems)
{
$contents = '';

// Render the main view file
if ($this->innerContentFile) {
$contents = $this->renderInnerContents($scopeItems);
}

// Render the template around it
$this->template = strval(str_replace("\0", "", $this->template));

if (file_exists($this->template)) {
$contents = $this->renderTemplate($scopeItems, $contents);
}

return $contents;
}

"concrete/src/View/View.php"

 
rpiskac replied on at Permalink Reply
Forgot to mention I was getting this in the logs....

Exception Occurred: /srv/www/wwwim/concrete5-8.4.0RC4/concrete/src/View/View.php:215 file_exists() expects parameter 1 to be a valid path, string given (2)
rpiskac replied on at Permalink Reply
PHP 5.6.27 (cli) (built: Oct 22 2016 17:38:02)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
rpiskac replied on at Permalink Reply
upgraded to newer php problem solved

PHP 5.6.36 (cli) (built: May 25 2018 23:29:51)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
rpiskac replied on at Permalink Reply
Spoke to soon, this did not fix it.