Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Forum Module /

Discuss the Forum Module.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

[User Error] Object::__call() Method 'getAbstract' not found in class 'ForumHolder_Controller'


Reply


2 Posts   1031 Views

Avatar
OnebyOne

Community Member, 54 Posts

7 February 2009 at 1:27am

Edited: 07/02/2009 1:40am

When i've had try to post redirect to login form (user is log in before i try to post)
When clicking show profile i get:

[User Error] Object::__call() Method 'getAbstract' not found in class 'ForumHolder_Controller'
GET /ForumMemberProfile/show/1
Line 133 in /home/xxxx/public_html/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.

__________________

SS 2.3.0rc3 + forum 0.2 rc1

Avatar
Sean

Forum Moderator, 922 Posts

12 February 2009 at 10:56pm

Edited: 12/02/2009 10:57pm

Hi there,

This was fixed in this patch, I believe: [url]http://open.silverstripe.com/changeset/71566/modules[/url]

Cheers,
Sean