Forums

Joomla Registration Fails in 3.0

csteele 17 Dec, 2012
I've created the simple registration form in the tutorial, but when I use the form, I receive the following error:

Fatal error: Call to undefined method JDate::toMySQL() in /home/user123/public_html/sparrow/administrator/components/com_chronoforms/form_actions/joomla_registration/joomla_registration.php on line 104

Any ideas what's going on? I'm running Joomla 3.0 and the latest ChronoForms.
GreyHead 18 Dec, 2012
Hi csteele,

Looks like there has been a change in the Joomla! 3.0 code that got missed in the new version of CF :-(

For a fix please change line 104 of /administrator/components/com_chronoforms/form_actions/joomla_registration/joomla_registration.php to
$user->set('registerDate', $date->toSql());


Bob
This topic is locked and no more replies can be posted.