Reply To: Illegan string offset 'state' error

Home Forums Pie-Register 2.0 Support Illegan string offset 'state' error Reply To: Illegan string offset 'state' error

#4441

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’];
}