Multi-user Sync and php parameters

I am trying to enable multi-user sync with my working project. Once I add:

Client side:
myDataProcessor.setAutoUpdate(2000);

Server side:
$gridConn->enable_live_update(‘actions_table’);

The grid loads, but a few moments later I get the following error:

Undefined index: current week at … line 26

Line 26 contains:

if($_GET[‘currentWeek’]){

My php code passes a few variables (including ‘currentWeek’) for my sql queries. Any way to get my php code to work with multi-user sync?

Are you using the currentWeek parameter in the constructor of dataprocessor, or using some other way to set it.

//such kind of init must work correctly //parameter will be used in all live-update calls var dp = new dataProcessor("some.php?currentWeek=2");