formrow->id); $MyPlugins =& CFPlugins::getInstance($MyForm->formrow->id); // NB: I've since reworked the confirmation page plugin to use the Plugin helper."> [SOLVED]cf_confirmation_page bug - Forums

Forums

[SOLVED]cf_confirmation_page bug

GreyHead 13 Jun, 2009
There's a missing call in the plugin file

"Fatal error: Call to a member function runPlugin() on a non-object in /var/xxx/xxxxx/components/com_chronocontact/plugins/cf_confirmation_page.php on line 173"



Fix is:
      $MyCustomCode =& CFCustomCode::getInstance($MyForm->formrow->id);
      $MyPlugins =& CFPlugins::getInstance($MyForm->formrow->id); // <-- add this line
      if(JRequest::getVar('task') != 'beforeshow'){


NB: I've since reworked the confirmation page plugin to use the Plugin helper.
This topic is locked and no more replies can be posted.