Parse error: syntax error, unexpected T_BOOLEAN_AND, expecting ')'

ThemeBurn SupportForumsOpenCart ThemesShoppica OpenCart ThemeParse error: syntax error, unexpected T_BOOLEAN_AND, expecting ')'

This topic has been marked as not a support question.

hi,
try to enter to “my client” menu in administration panel and see this:

Parse error: syntax error, unexpected T_BOOLEAN_AND, expecting ‘)’ in /var/www/u0115107/data/www/myvesper.ru/admin/controller/customer/customer.php on line 1105

The part of code:
Line 1102: foreach ($custom_fields as $custom_field) {

Line 1103: if (($custom_field['location'] == ‘address’) && $custom_field['required'] && empty($value['custom_field'][$custom_field['custom_field_id']])) {

Line 1104: $this->error['address'][$key]['custom_field'][$custom_field['custom_field_id']] = sprintf($this->language->get(‘error_custom_field’), $custom_field['name']);

Line 1105: } elseif (($custom_field['type'] == ‘text’ && !empty($custom_field['validation'] && $custom_field['location'] == ‘address’)) && !filter_var($value['custom_field'][$custom_field['custom_field_id']], FILTER_VALIDATE_REGEXP, array(‘options’ => array(‘regexp’ => $custom_field['validation'])))) {

Line 1106: $this->error['address'][$key]['custom_field'][$custom_field['custom_field_id']] = sprintf($this->language->get(‘error_custom_field_validate’), $custom_field['name']);
}

August 24, 2016 at 3:30 pm #50364

Hi,

This issue will appear with the default theme too. It is not related to Shoppica and could not be covered by the free support offered by this forum. You may post your question in the official opencart forums, or seek a freelancer to do the job for you.

Best Regards,
ThemeBurn team

August 24, 2016 at 3:59 pm #50366
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.