[BUGFIX] Fixed PHP warning when using TCE