You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you are new to the Modular Extensions HMVC library you might get some error-messages or notices that you don't understand. This page is may provide some clues.
[b]Modules output stops working after upgrade from 4.0[/b]
If your module seems to stop working after updating to latest 4.2.x version, check this and [color=red]remove the return[/color] first.
[code]return $this->load->view('partial', $data)[/code]
[b]Fatal error: Call to undefined method Modules::method() in (...)modules_helper.php on line 210[/b]
Modules is a defined class in Modular Extensions, so you cannot define your own Modules class also.
[b]Undefined property: YourController::some_method()[/b]
CodeIgniter assigns the last controller loaded as the value for get_instance, and CI_Loader uses get_instance to load system libraries, it is necessary to load system libraires in your module controller constructor to avoid this problem.