MyBB Community Forums

Full Version: [F] Checkbox settings don't work [C-Chris]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
In the file \admin\inc\class_form.php we can find the method:
function generate_check_box($name, $value="", $label="", $options=array())

But in the file \admin\modules\config\settings.php when generating the settings form, if the type is 'checkbox' the code is trying to use:
$form->generate_checkbox_input(...);
So the result is the following error:
Quote:Fatal error: Call to undefined method Form::generate_checkbox_input() in ............\mybb\admin\modules\config\settings.php on line 1143
(maybe the line is incorrect, since my file is a modified one, but the error will occur also in a non-modified installation)
Thank you for your bug report.

This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated.

With regards,
MyBB Group