sipcapture/homer-api

Can't create alarm

davidcsi opened this issue · 1 comments

Hello guys,

I'm trying to create an alarm based on 500 errors, when i click the "create alarm" button, i see in the console "500 Internal server error" (ironic!) and on apache's log i see:

[Tue Aug 08 07:03:01.822396 2017] [:error] [pid 30806] [client 10.0.1.26:40900] PHP Notice: Undefined variable: layer in /var/www/html/api/RestApi/Alarm.php on line 152, referer: https://singlecapture.com/ [Tue Aug 08 07:03:01.822411 2017] [:error] [pid 30806] [client 10.0.1.26:40900] PHP Fatal error: Call to a member function getTableName() on null in /var/www/html/api/RestApi/Alarm.php on line 152, referer:

Nevermind, it was fixed, outdated.