Welcome Guest, Not a member yet? Register   Sign In
HMVC, is it possible to run the same module more than once?
#1

[eluser]Unknown[/eluser]
I have a module that takes a few params and generate a navigation based on the given params.
It works fine the first time around, when it is called a second time I get the following errors:

Code:
A PHP Error was encountered

Severity: Notice

Message: Undefined property: CI::$items

Filename: MX/Controller.php

Line Number: 57
A PHP Error was encountered

Severity: Notice

Message: Indirect modification of overloaded property Navigation::$items has no effect

Filename: controllers/navigation.php

Line Number: 50
A PHP Error was encountered

Severity: Notice

Message: Undefined property: CI::$items

Filename: MX/Controller.php

Line Number: 57


call: modules::run('navigation/build_navigation', $params)

then
modules::run('navigation/build_navigation', $paramsB)







Theme © iAndrew 2016 - Forum software by © MyBB