grid error

i open grid, that work but see this error:

Parse error: syntax error, unexpected ‘’])) ’ (T_CONSTANT_ENCAPSED_STRING), expecting ‘]’ in /var/www/vhosts/androidintheworld.it/httpdocs/scriptcase/app/globo/grid_statistiche/grid_statistiche_resumo_sc_free_group_by.class.php(3489) : eval()'d code on line 4 Parse error: syntax error, unexpected ‘s’ (T_STRING), expecting ‘]’ in /var/www/vhosts/androidintheworld.it/httpdocs/scriptcase/app/globo/grid_statistiche/grid_statistiche_resumo_sc_free_group_by.class.php(3489) : eval()'d code on line 2 Parse error: syntax error, unexpected ‘s’ (T_STRING), expecting ‘]’ in /var/www/vhosts/androidintheworld.it/httpdocs/scriptcase/app/globo/grid_statistiche/grid_statistiche_resumo_sc_free_group_by.class.php(3489) : eval()'d code on line 2 Parse error: syntax error, unexpected ‘s’ (T_STRING), expecting ‘]’ in /var/www/vhosts/androidintheworld.it/httpdocs/scriptcase/app/globo/grid_statistiche/grid_statistiche_resumo_sc_free_group_by.class.php(3489) : eval()'d code on line 2 Parse error: syntax error, unexpected ‘s’ (T_STRING), expecting ‘]’ in /var/www/vhosts/androidintheworld.it/httpdocs/scriptcase/app/globo/grid_statistiche/grid_statistiche_resumo_sc_free_group_by.class.php(3489) : eval()'d code on line 2 Parse error: syntax error, unexpected ‘s’ (T_STRING), expecting ‘]’ in /var/www/vhosts/androidintheworld.it/httpdocs/scriptcase/app/globo/grid_statistiche/grid_statistiche_resumo_sc_free_group_by.class.php(3489) : eval()'d code on line 2 Parse error: syntax error, unexpected ‘s’ (T_STRING), expecting ‘]’ in /var/www/vhosts/androidintheworld.it/httpdocs/scriptcase/app/globo/grid_statistiche/grid_statistiche_resumo_sc_free_group_by.class.php(3489) : eval()'d code on line 2 Parse error: syntax error, unexpected ‘s’ (T_STRING), expecting ‘]’ in /var/www/vhosts/androidintheworld.it/httpdocs/scriptcase/app/globo/grid_statistiche/grid_statistiche_resumo_sc_free_group_by.class.php(3489) : eval()'d code on line 2 Parse error: syntax error, unexpected ‘s’ (T_STRING), expecting ‘]’ in /var/www/vhosts/androidintheworld.it/httpdocs/scriptcase/app/globo/grid_statistiche/grid_statistiche_resumo_sc_free_group_by.class.php(3489) : eval()'d code on line 2 Parse error: syntax error, unexpected ‘s’ (T_STRING), expecting ‘]’ in /var/www/vhosts/androidintheworld.it/httpdocs/scriptcase/app/globo/grid_statistiche/grid_statistiche_resumo_sc_free_group_by.class.php(3489) : eval()'d code on line 2 Parse error: syntax error, unexpected ‘s’ (T_STRING), expecting ‘]’ in /var/www/vhosts/androidintheworld.it/httpdocs/scriptcase/app/globo/grid_statistiche/grid_statistiche_resumo_sc_free_group_by.class.php(3489) : eval()'d code on line 2 Parse error: syntax error, unexpected ‘s’ (T_STRING), expecting ‘]’ in /var/www/vhosts/androidintheworld.it/httpdocs/scriptcase/app/globo/grid_statistiche/grid_statistiche_resumo_sc_free_group_by.class.php(3489) : eval()'d code on line 2 Parse error: syntax error, unexpected ‘s’ (T_STRING), expecting ‘]’ in /var/www/vhosts/androidintheworld.it/httpdocs/scriptcase/app/globo/grid_statistiche/grid_statistiche_resumo_sc_free_group_by.class.php(3489) : eval()'d code on line 2 Parse error: syntax error, unexpected ‘s’ (T_STRING), expecting ‘]’ in /var/www/vhosts/androidintheworld.it/httpdocs/scriptcase/app/globo/grid_statistiche/grid_statistiche_resumo_sc_free_group_by.class.php(3489) : eval()'d code on line 2 Parse error: syntax error, unexpected ‘s’ (T_STRING), expecting ‘]’ in /var/www/vhosts/androidintheworld.it/httpdocs/scriptcase/app/globo/grid_statistiche/grid_statistiche_resumo_sc_free_group_by.class.php(3489) : eval()'d code on line 2 Parse error: syntax error, unexpected ‘s’ (T_STRING), expecting ‘]’ in /var/www/vhosts/androidintheworld.it/httpdocs/scriptcase/app/globo/grid_statistiche/grid_statistiche_resumo_sc_free_group_by.class.php(3489) : eval()'d code on line 2 Parse error: syntax error, unexpected ‘s’ (T_STRING), expecting ‘]’ in lobo/grid_statistiche/grid_statistiche_resumo_sc_free_group_by.class.php(3489) : eval()'d code on line 4 Parse error: syntax error, unexpected ‘’])) ’ (T_CONSTANT_ENCAPSED_STRING), expecting ‘]’ in

Are you adding PHP code in the Grid’s events?

Check your event PHP code syntax.

I have found that it helps to run NetBeans, with the PHP plugin, alongside my ScriptCase session. Copy/paste the PHP code from your event to NetBeans which will usually show you where the problem is.

PHP code is notorious for hiding unmatched {}, (), ‘’, and “” characters. NetBeans is quite good at finding these.

I now use NetBeans to edit my PHP, then paste it into the ScriptCase events. It saves time because it provides auto-complete, and saves trouble because it highlights errors.

ok i try, but i ask, if possible insert any code of php in project, or must use syntax for sc

No, there is no sc syntax except for fieldnames and global variables. The rest is pure php. Of course you can use the sc macros, but in fact these are implemented as php functions. So you can add your own php in the events code, libraries and php methods, whatever you need.

I had similar error,
avoid using ’ in any labels , tab titles and any names. you can debug if you open the php file in a php editor and search the line with the error.