beshoo
Posts: 68
|
Posted: 04/16/2017, 1:14 PM |
|
when i use table grade with CSS colore events ,an error appear :
Warning: Illegal string offset 'BeforeShowRow' in F:\xampp\htdocs\instaAdmin\users_events.php on line 7
and if i use beforeshow event i got
Warning: Illegal string offset 'BeforeShow' in F:\xampp\htdocs\instaAdmin\users_events.php on line 6
now the code in line 6 and 7 is
function BindEvents()
{
global $users1;
$users1->time_balance->CCSEvents["BeforeShow"] = "users1_time_balance_BeforeShow";
$users1->CCSEvents["BeforeShowRow"] = "users1_BeforeShowRow";
}
i am using latest CCS virsion and php7
Please advice
_________________
_________________
beshoo Love PHP and CC 4.2 |
|
|
eratech
Posts: 513
|
Posted: 05/07/2017, 3:43 AM |
|
Beshoo
The lines above are just binding the functions that run the code (eg: users1_BeforeShow) so look in the functions. If you are changing styles in rows then perhaps you haven't got enough items in the Styles?
Usually the property is "Row;AltRow" and CCS sees that as 2 styles. Maybe you have none and it's erroring on that?
Cheers
Eric
_________________
CCS 3/4/5 ASP Classic, VB.NET, PHP
Melbourne, Victoria, Australia |
|
|
|