Create a Joomla User

brononius 18 Jul, 2013
When i try to create a Joomla user through a form, i'm getting following error:

Fatal error: Call to undefined method JDate::MySQL() in .../com_chronoforms/form_actions/joomla_user_save/joomla_user_save.php on line 176

I've changed in line 176
$user->set('registerDate', $date->toMySQL());
$user->set('registerDate', $date->toSQL());

And it seems to work better...😉

Apparently 'toMySQL' has been deprecate?
GreyHead 18 Jul, 2013
Hi brononius,

Thanks for the update and fix. I assume that this is Joomla! 3?

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