An error has been encountered, please enable debugging to view the error

CGI ERROR
==========================================
Error Message       : Error loading required libraries.
Check that they exist.
Reason: Undefined subroutine &main::dis called at gallery.cgi line 37.

Script Location     : gallery.cgi
Perl Version        : 5.010001

Form Variables
-------------------------------------------
dis                 : bridal-flowers
page                : 1

Environment Variables
-------------------------------------------
DOCUMENT_ROOT       : /home/brid2231/public_html
GATEWAY_INTERFACE   : CGI/1.1
HTTPS               : on
HTTPS_CA_FILE       : /etc/tls/pki/certs/
HTTP_ACCEPT         : text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_ENCODING: gzip
HTTP_ACCEPT_LANGUAGE: en-US,en;q=0.5
HTTP_CONNECTION     : Keep-Alive
HTTP_HOST           : www.bridesinbloom.com.au
HTTP_USER_AGENT     : CCBot/2.0 (https://commoncrawl.org/faq/)
HTTP_X_HTTPS        : 1
PATH                : /usr/local/bin:/usr/bin:/bin
QUERY_STRING        : dis=bridal-flowers&page=1
REDIRECT_QUERY_STRING: dis=bridal-flowers&page=1
REDIRECT_STATUS     : 200
REDIRECT_URL        : /galleries/bridal-flowers/1/
REMOTE_ADDR         : 18.210.22.132
REMOTE_PORT         : 56830
REQUEST_METHOD      : GET
REQUEST_URI         : /galleries/bridal-flowers/1/
SCRIPT_FILENAME     : /home/brid2231/public_html/cgi-bin/cart/custom/gallery.cgi
SCRIPT_NAME         : /cgi-bin/cart/custom/gallery.cgi
SCRIPT_URI          : https://www.bridesinbloom.com.au/galleries/bridal-flowers/1/
SCRIPT_URL          : /galleries/bridal-flowers/1/
SERVER_ADDR         : 103.29.216.104
SERVER_ADMIN        : webmaster@bridesinbloom.com.au
SERVER_NAME         : www.bridesinbloom.com.au
SERVER_PORT         : 443
SERVER_PROTOCOL     : HTTP/1.1
SERVER_SIGNATURE    : 
SERVER_SOFTWARE     : Apache/2.2.31 (Unix) mod_ssl/2.2.31 OpenSSL/1.0.1e-fips DAV/2 mod_bwlimited/1.4
SSL_CIPHER          : ECDHE-RSA-AES256-SHA
SSL_CIPHER_ALGKEYSIZE: 256
SSL_CIPHER_EXPORT   : false
SSL_CIPHER_USEKEYSIZE: 256
SSL_CLIENT_VERIFY   : NONE
SSL_COMPRESS_METHOD : NULL
SSL_PROTOCOL        : TLSv1.2
SSL_SECURE_RENEG    : true
SSL_SERVER_A_KEY    : rsaEncryption
SSL_SERVER_A_SIG    : sha256WithRSAEncryption
SSL_SERVER_I_DN     : /CN=bridesinbloom.com.au
SSL_SERVER_I_DN_CN  : bridesinbloom.com.au
SSL_SERVER_M_SERIAL : 23AF0F75
SSL_SERVER_M_VERSION: 3
SSL_SERVER_S_DN     : /CN=bridesinbloom.com.au
SSL_SERVER_S_DN_CN  : bridesinbloom.com.au
SSL_SERVER_V_END    : Sep  9 13:33:30 2019 GMT
SSL_SERVER_V_START  : Sep  9 13:33:30 2018 GMT
SSL_SESSION_ID      : 18BF21425F819BE8E576AD789A59E0F93F327ACAE4CF9655C7868A4DE8CCD1D0
SSL_TLS_SNI         : www.bridesinbloom.com.au
SSL_VERSION_INTERFACE: mod_ssl/2.2.31
SSL_VERSION_LIBRARY : OpenSSL/1.0.1e-fips
UNIQUE_ID           : Xar302cd2EYAACXQn7YAAAAe