Post by pravin_29 » Thu May 12, 2016 4:23 pm

I have upgraded to opercart ver 2.

In the admin dashboard, when trying to enter "Total Customer" section, I am getting error as below:

Parse error: syntax error, unexpected '&&' (T_BOOLEAN_AND), expecting ')' in /home/pragytmd/public_html/admin/controller/customer/customer.php on line 1105

I opened customer.php, line 1105 says

} elseif (($custom_field['type'] == 'text' && !empty($custom_field['validation'] && $custom_field['location']

Please help to correct the above issue.

Newbie

Posts

Joined
Thu May 12, 2016 4:15 pm

Post by samoyan » Mon May 30, 2016 1:13 am

I also have the same error... :-[ as of May 29, 2016, OpenCart version: 2.2.0.0
Parse error: syntax error, unexpected '&&' (T_BOOLEAN_AND), expecting ')' in /home/seafoode/public_html/system/storage/modification/admin/controller/customer/customer.php on line 1105

Newbie

Posts

Joined
Sun May 22, 2016 3:48 am

Post by milky » Mon Jun 06, 2016 2:56 am

Hi,

I have a similar problem, after I refresh after a module installation, if I click on Customer I get the error below. I upload a backup of the customer file and the problem is gone.

Parse error: syntax error, unexpected T_BOOLEAN_AND, expecting ')' in /home/www/inno-in.com/NewStore/system/storage/modification/admin/controller/customer/customer.php on line 1108

Any solutions besides uploading a back up every time?

Thanks

Newbie

Posts

Joined
Sat Jan 21, 2012 2:04 am

Post by mohittyagi82 » Wed Feb 08, 2017 8:54 pm

Hi,
You just download opencart 2.3.0.2 and replace this code at error line with code taken from opencart 2.3.0.2.
I also got this error but now has been resolved.

Newbie

Posts

Joined
Wed Apr 20, 2016 7:02 pm
Who is online

Users browsing this forum: No registered users and 3 guests