Upgrade Problem

Permalink
Hi,

I am trying to upgrade some old code to concreate5 version 8.3.

By the process of elimination I discovered that this line of code
\Config::save('ENABLE_CACHE', 0);


is generating this error
Argument 1 passed to Concrete\Core\Config\Renderer::__construct() must be of the type array, integer given, called in /var/www/vhosts/guerrilla-rf.com/httpdocs/current/concrete/src/Config/FileSaver.php on line 78


However, looking up the indicated line it looks like it should be an array.

76        array_set($current, $item, $value);
77
78        $renderer = new Renderer($current);


So I am not sure how to fix this.

Any suggestions?

gwardell
 
JohntheFish replied on at Permalink Reply
JohntheFish
Look at the code for the core dashboard page that does cache enable/disable.