I have MODx revolution v.2.2.8 installed and haven't been in my control panel for quite some time. I was looking around in the control panel when it just went blank and now displays an error message (I did not make any changes at all).
The first think I noticed was the page tree was not showing.
Here is my error page:
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /MYRoot/core/model/modx/modx.class.php on line 2409
Fatal error: Class 'modContext_' not found in /MyRoot/core/xpdo/xpdo.class.php on line 763
The first file (line #2409) says this(second line):
$this->config = array_merge($this->config, $config);
$this->_systemConfig= $this->config;
return true;
The second file (line#760) shows this (3rd line):
if ($className= $this->loadClass($className)) {
$className .= '_' . $this->config['dbtype'];
if ($instance= new $className ($this)) {
if (is_array($fields) && !empty ($fields)) {
$instance->fromArray($fields);
Can anyone point me in the right direction? I don't even know where to look in the error logs. Confused as to what to do now.