Not working [wcp_statistics] !

Hello
i locate this code : [wcp_statistics]
inside our wordpress code template 2 mounts a go .

after that each user after login can see number of ticket and ......
but 1 weeks a go this part of site not working :slight_frown:
i told to my designer and he need know about this :

1 - how we can inform with PHP code that a user login in website or logout ?

and please help for solve this problem

thanks