Version: master (1.10)
Platform: any
Browser: any
I got the warning when adding an authentication plugin to an institution
[WAR] ae (lib/mahara.php:1845) Argument 1 passed to Plugin::validate_config_options() must be an instance of Pieform, array given
Call stack (most recent first):
log_message("Argument 1 passed to Plugin::validate_config_optio...", 8, true, true, "/home/sonn/code/mahara/master/htdocs/lib/mahara.ph...", 1845) at /home/sonn/code/mahara/master/htdocs/lib/errors.php:433
error(4096, "Argument 1 passed to Plugin::validate_config_optio...", "/home/sonn/code/mahara/master/htdocs/lib/mahara.ph...", 1845, array(size 0)) at /home/sonn/code/mahara/master/htdocs/lib/mahara.php:1845
Plugin::validate_config_options(array(size 7), object(Pieform)) at Unknown:0
call_user_func_array(array(size 2), array(size 2)) at /home/sonn/code/mahara/master/htdocs/lib/mahara.php:1584
call_static_method("PluginAuthBrowserid", "validate_config_options", array(size 7), object(Pieform)) at /home/sonn/code/mahara/master/htdocs/admin/users/addauthority.php:114
auth_config_validate(object(Pieform), array(size 7)) at Unknown:0
call_user_func_array("auth_config_validate", array(size 2)) at /home/sonn/code/mahara/master/htdocs/lib/pieforms/pieform.php:1382
Pieform->validate(array(size 7)) at /home/sonn/code/mahara/master/htdocs/lib/pieforms/pieform.php:505
Pieform->__construct(array(size 5)) at /home/sonn/code/mahara/master/htdocs/lib/pieforms/pieform.php:162
Pieform::process(array(size 5)) at /home/sonn/code/mahara/master/htdocs/lib/pieforms/pieform.php:71
pieform(array(size 5)) at /home/sonn/code/mahara/master/htdocs/admin/users/addauthority.php:87
Patch for "master" branch: https:/ /reviews. mahara. org/3452