Reply To: Illegan string offset 'state' error

#10004441
Avatar
Murtaza Basrai
Participant

Hi Christi,
I’m facing the same error.
However I used the following solution:

Replaced Line 412 in registration_form.php
from

$selectedoption = ($address_values[‘state’])?$address_values[‘state’]:$this->field[‘us_default_state’];

to

if (isset($address_values[‘state’])) {
$selectedoption = ($address_values[‘state’])?$address_values[‘state’]:$this->field[‘us_default_state’];
}