RE: [MODULE] WHMCS
01-10-2016, 06:29 AM
(This post was last modified: 01-10-2016, 06:30 AM by cybercoder.)
I just installed latest version of sentora & lates version of WHMCS module, But there's just blank page when try to manage WHMCS module.
The log file: /var/sentora/logs/sentora-error.log
and it refers to this static function:
But i can't see any unexpected '[' !!!!!!!!!
How can fix this?
The log file: /var/sentora/logs/sentora-error.log
Code:
PHP Parse error: syntax error, unexpected '[' in /etc/sentora/panel/modules/whmcs/code/controller.ext.php on line 201, referer: x.x.x.x/?module=moduleadmin&action=EditModule
Code:
static function getCurrentUserID()
{
return ctrl_users::GetUserDetail()["userid"];
}
How can fix this?