Example plugin issue
Bug #1356563 reported by
Kristina Hoeppner
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Aaron Wells |
Bug Description
https:/
Mahara 1.10dev:
Basically if the sample module is installed and is not hidden then the setting, messages, and Logout menus are not displayed. If I hide the module then they are.
Changed in mahara: | |
assignee: | nobody → Aaron Wells (u-aaronw) |
milestone: | none → 1.10.0 |
Changed in mahara: | |
status: | Confirmed → In Progress |
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I was able to replicate the issue. Here's the underlying error:
[WAR] 9c (lib/mahara. php:1577) call_user_ func_array( ) expects parameter 1 to be a valid callback, class 'PluginModuleSa mple' does not have a method 'menu_items'
Call stack (most recent first):
log_ message( "call_user_ func_array( ) expects parameter 1 to be a...", 8, true, true, "/home/ aaronw/ www/mahara/ htdocs/ lib/mahara. php", 1577) at /home/aaronw/ www/mahara/ htdocs/ lib/errors. php:439 func_array( ) expects parameter 1 to be a...", "/home/ aaronw/ www/mahara/ htdocs/ lib/mahara. php", 1577, array(size 3)) at Unknown:0 user_func_ array(array( size 2), array(size 0)) at /home/aaronw/ www/mahara/ htdocs/ lib/mahara. php:1577 static_ method( "PluginModuleSa mple", "menu_items") at /home/aaronw/ www/mahara/ htdocs/ lib/web. php:2696 www/mahara/ htdocs/ lib/web. php:516 www/mahara/ htdocs/ admin/index. php:65
error(2, "call_user_
call_
call_
right_nav() at /home/aaronw/
smarty() at /home/aaronw/
[WAR] 9c (lib/web.php:2697) array_merge(): Argument #2 is not an array
Call stack (most recent first):
log_ message( "array_ merge() : Argument #2 is not an array", 8, true, true, "/home/ aaronw/ www/mahara/ htdocs/ lib/web. php", 2697) at /home/aaronw/ www/mahara/ htdocs/ lib/errors. php:439 aaronw/ www/mahara/ htdocs/ lib/web. php", 2697, array(size 8)) at Unknown:0 merge(array( size 12), null) at /home/aaronw/ www/mahara/ htdocs/ lib/web. php:2697 www/mahara/ htdocs/ lib/web. php:516 www/mahara/ htdocs/ admin/index. php:65
error(2, "array_merge(): Argument #2 is not an array", "/home/
array_
right_nav() at /home/aaronw/
smarty() at /home/aaronw/