Can anybody please help me out. I cant seem to create new article pages without getting this error.
ERROR [User Error]: Object::__call() Method 'get_static' not found in class 'FileDataObjectManager'
IN POST /admin/getitem?ID=23&ajax=1
Line 133 in /home/.margara/riotsociety/riotsociety.com.au/sapphire/core/Object.php
Source
======
124:
125: } else if($config['function_str']) {
126: $function = Object::$extraMethods[$this->class][strtolower($methodName)]['function'] =
create_function('$obj, $args', $config['function_str']);
127: return $function($this, $args);
128:
129: } else {
130: user_error("Object::__call() Method '$methodName' in class '$this->class' an invalid format: " .
var_export(Object::$extraMethods[$this->class][$methodName],true), E_USER_ERROR);
131: }
132: } else {
* 133: user_error("Object::__call() Method '$methodName' not found in class '$this->class'",
E_USER_ERROR);
134: }
135: }
136:
137: /**
138: * This function allows you to overload class creation methods, so certain classes are
139: * always created correctly over your system.
<ul>user_error(Object::__call() Method 'get_static' not found in class 'FileDataObjectManager',256)
line 133 of Object.php
Object->__call(get_static,Array)
Object->get_static(File,allowed_file_types)
line 87 of FileDataObjectManager.php
FileDataObjectManager->__construct(ArticlePage,Resources,Resource,Attachment,Array,getCMSFields_forPopup)
line 43 of ArticlePage.php
ArticlePage->getCMSFields(CMSMain)
line 380 of CMSMain.php
CMSMain->getEditForm(23)
line 855 of LeftAndMain.php
LeftAndMain->EditForm()
line 344 of LeftAndMain.php
LeftAndMain->getitem(HTTPRequest)
line 162 of Controller.php
Controller->handleAction(HTTPRequest)
line 107 of RequestHandler.php
RequestHandler->handleRequest(HTTPRequest)
line 122 of Controller.php
Controller->handleRequest(HTTPRequest)
line 262 of Director.php
Director::handleRequest(HTTPRequest,Session)
line 106 of Director.php
Director::direct(admin/getitem)
line 115 of main.php
</ul>