Where is the function PostCalendar_user_view () ? Is it dynamic function?

Hello,
I got 500 error.
[https://testopenemr.indigoarc.com/interface/main/calendar/index.php?module=PostCalendar&func=view&viewtype=day ] 500 (Internal Server Error)

I tried to debug it. The problem is in this code line
interface/main/calendar/includes/pnMod.php
function pnModFunc ($modname, $type, $func, $args = array())
return $modfunc($args);

  1. Where is the $modfunc function it is $modfunc = PostCalendar_user_view ? Is it dynamic function , do you store this function in the database?

How to debug it?
Thanks

Hi @Saparbek , did you try using xdebug?

No. Should I use it ?
Thanks