-
- 127 Posts
After installing a theme this error started happening. Here is the error I am getting when I try to go to any resource in the tree. Elements, files, and even the site itself is working. I just can't get to any of the resources to change anything
Fatal error: Call to a member function get() on array in C:\xampp\htdocs\manager\controllers\default\resource\resource.class.php on line 152
This is installed locally, obviously...any ideas
[ed. note: jasonmonette last edited this post 7 years, 8 months ago.]
www.JBMWebDesign.com
www.JBMAutomation.com
-
- 127 Posts
Ok, I ran the installer again, and noticed that an extra called biss got an error
Attempting to preserve files at C:/xampp/htdocs/core/packages/articles-1.7.10-pl.transport.zip into archive C:/xampp/htdocs/core/packages/sharp.mdxdemo.com-150725.0926.38-2.3.3-pl/modTransportPackage/5d1e1613539175bf8f912023a091a6cc.0.preserved.zip
xPDOVehicle does not support resolvers of type .
Could not resolve vehicle for object of class modTransportPackage; criteria: Array ( [signature] => biss-1.0-beta1 )
I tried to manually install this bliss and got the following error:
Console running...
Attempting to install package with signature: biss-1.0-beta1
Package found...now preparing to install.
Could not open file for reading: biss-1.0-beta1.transport.zip?revolution_version=Revolution-2.5.1-pl
MODX could not download the file. You must enable allow_url_fopen, cURL or fsockopen to use remote transport packaging.
Could not transfer package biss-1.0-beta1.transport.zip to C:/xampp/htdocs/core/packages/.
Could not install package with signature: biss-1.0-beta1
Could this be what is causing the issue?
www.JBMWebDesign.com
www.JBMAutomation.com
discuss.answer
The theme extra installs a too old TinyMCE. Please update it.
-
- 127 Posts
Here is the code from resource.class.php. Line 6 is line 152.....thanks
/**
* Fire any pre-render events
* @return array|bool|string
*/
public function firePreRenderEvents() {
$resourceId = !empty($this->resource) ? $this->resource->get('id') : (!empty($this->scriptProperties['id']) ? $this->scriptProperties['id'] : 0);
$properties = array(
'id' => $resourceId,
'mode' => !empty($resourceId) ? modSystemEvent::MODE_UPD : modSystemEvent::MODE_NEW,
);
if (!empty($resourceId)) {
$properties['resource'] =& $this->resource;
}
$onDocFormPrerender = $this->modx->invokeEvent('OnDocFormPrerender',$properties);
if (is_array($onDocFormPrerender)) {
$onDocFormPrerender = implode('',$onDocFormPrerender);
}
$this->setPlaceholder('onDocFormPrerender',$onDocFormPrerender);
return $onDocFormPrerender;
}
www.JBMWebDesign.com
www.JBMAutomation.com
-
- 127 Posts
Quote from: Jako at Aug 26, 2016, 05:31 AMThe theme extra installs a too old TinyMCE. Please update it.
That was it! Thanks!
www.JBMWebDesign.com
www.JBMAutomation.com