Skip to main content
Development Branch - Member Groups Started by AaronB · · Read 2724 times 0 Members and 1 Guest are viewing this topic. previous topic - next topic

Development Branch - Member Groups

member groups/edit member groups :: clicking on any of the groups produces this error:

Fatal error: Call to a member function action_index() on a non-object in G:\xampp\htdocs\elk_dev\sources\subs\Action.class.php on line 172


Re: Development Branch - Member Groups

Reply #1

I missed that one...

arg... yeah.
Well, let's do another test, in Action.class.php, change:
Code: [Select]
				// an OOP controller, call it over
$subAction['controller']->{$subAction['function']}();
to:
Code: [Select]
				// an OOP controller, call it over
if (is_object($subAction['controller']))
$subAction['controller']->{$subAction['function']}();
else
{
$controller_name = $subAction['controller'];
$controller = new $controller_name();

$controller->{$subAction['function']}();
}
This should cover any situation.
Bugs creator.
Features destroyer.
Template killer.

Re: Development Branch - Member Groups

Reply #2

QuoteThis should cover any situation.
Never say any lol :D

Re: Development Branch - Member Groups

Reply #3

Me that use an absolute? O_o

Someone hacked my mind for sure, nods
Bugs creator.
Features destroyer.
Template killer.