Автодом на Королева CGI Error

ERROR:
 
service.cgi: Can't call method "finish" on an undefined value.
 
ERROR DETAILS:
 
  • main in file service.cgi at line 141

  •  
    $ENV VARIABLES:

  • SCRIPT_NAME = /service/service.cgi
  • REQUEST_METHOD = GET
  • SCRIPT_FILENAME = /var/www/vhosts/avtodom-na-koroleva.ru/httpdocs/service/service.cgi
  • seo_hidden_text =
  • seo_keywords =
  • QUERY_STRING = id=3
  • REMOTE_PORT = 33064
  • HTTP_USER_AGENT = CCBot/2.0 (https://commoncrawl.org/faq/)
  • HTTP_X_ACCEL_INTERNAL = /internal-nginx-static-location
  • PP_CUSTOM_PHP_INI = /var/www/vhosts/system/avtodom-na-koroleva.ru/etc/php.ini
  • HTTP_ACCEPT_LANGUAGE = en-US,en;q=0.5
  • HTTP_X_REAL_IP = 44.213.63.130
  • seo_description =
  • GATEWAY_INTERFACE = CGI/1.1
  • DOCUMENT_ROOT = /var/www/vhosts/avtodom-na-koroleva.ru/httpdocs
  • PP_CUSTOM_PHP_CGI_INDEX = fastcgi
  • SERVER_NAME = avtodom-na-koroleva.ru
  • SERVER_ADMIN = autodom@krsn.ru
  • HTTP_CONNECTION = close
  • SERVER_PORT = 80
  • slide_html =
    • /files/slide/1/item_01_image.jpg+/news/?id=38+N
    • /files/slide/1/item_02_image.jpg+/news/?id=38+N
    • /files/slide/1/item_03_image.jpg+/news/?id=38+N
    • /files/slide/1/item_04_image.jpg+/news/?id=38+N
    • /files/slide/1/item_05_image.jpg+/news/?id=38+N
  • REMOTE_ADDR = 44.213.63.130
  • SERVER_PROTOCOL = HTTP/1.0
  • HTTP_X_FORWARDED_FOR = 44.213.63.130
  • REQUEST_URI = /service/?id=3
  • seo_title =
  • SERVER_ADDR = 95.172.133.252
  • HTTP_HOST = avtodom-na-koroleva.ru

  •