Jump to content

Why getting Parse error: syntax error, unexpected T_OBJECT_OPERATOR?


ghurty

Recommended Posts

Why would I be getting a

Parse error: syntax error, unexpected T_OBJECT_OPERATOR

 

 

on the first line of this code?

if(!empty($_GET['designModeToken']) && getClass('ISC_ADMIN_AUTH')->isDesignModeAuthenticated($_GET['designModeToken'])) {
isc_setCookie('designModeToken', $_GET['designModeToken'], 0, true);
ob_end_clean();
header('Location: '.getConfig('ShopPathNormal'));
exit;
}

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.