Joomla 2.5.27
PHP 5.5.6
hello developpers,
I found a bug in the migration of users, only when there a userfield of type age_verification,
a fatal PHP error occurs.
location:
backend/com_virtuemart/tables/userfields.php - function formatFieldType() case: age_verification
PHP Fatal error: Cannot use object of type stdClass as array
I solved it this way:
I replaced this line ...
$this->params = 'minimum_age='.(int)$_data['minimum_age']."\n";
with ...
$this->params = 'minimum_age='.(int)$_data->minimum_age."\n";
regards,
Joep Winters
You don't mention what VM version?
Virtuemart version 2.6.10