FeedbackForm Fatal Error
Posted: Thu Oct 05, 2006 3:56 pm
When adding a checkbox group, I get the following. Any ideas?
Fatal error: Call to a member function CreateInputText() on a non-object in C:\Inetpub\xNet\modules\FeedbackForm\classes\CheckboxGroupInput.class.php on line 163
EDIT for fix:
The bug followup didn't work as expected (was a bit unclear - line numbers must be different on mine). So:
Find the function RenderAdminForm (line 154 on mine) and add $module =& $this->mod_globals->selfptr; directly after the first opening curly brace, so it should be:
That should work.
Fatal error: Call to a member function CreateInputText() on a non-object in C:\Inetpub\xNet\modules\FeedbackForm\classes\CheckboxGroupInput.class.php on line 163
EDIT for fix:
The bug followup didn't work as expected (was a bit unclear - line numbers must be different on mine). So:
Find the function RenderAdminForm (line 154 on mine) and add $module =& $this->mod_globals->selfptr; directly after the first opening curly brace, so it should be:
Code: Select all
function RenderAdminForm($formDescriptor)
{
$module =& $this->mod_globals->selfptr;
$optVals = $this->GetOptionByKind('checkbox');
...