Fatal error: Call to a member function getVertical() on null in /home/zblxps8jblb0/public_html/directory/company.php on line 166
Whoops! There was an error.
0.
/­home/­zblxps8jblb0/­public_html/­directory/­company.php166

Whoops \ Exception \ ErrorException

Call to a member function getVertical() on null

/home/zblxps8jblb0/public_html/directory/company.php
 
//error_reporting(E_ALL);
 
//print "2".PHP_EOL;
 
$company = $app['orm.em']->getRepository('Onestop\Entity\Company')->findOneBy(array("id"=>$_GET['company']));
 
$content["verticalSections"] = $app['onestop.directory.manager']->getVerticalSections($company->getVertical());
$content["vertical"]=$company->getVertical();
 
Key Value
SERVER_SOFTWARE Apache
REQUEST_URI /directory-osb/company/132
PATH /usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin
PWD /usr/local/cpanel/cgi-sys
SHLVL 0
PHP_FCGI_MAX_REQUESTS 5000
HTTP_CONNECTION close
SCRIPT_NAME /directory/company.php
QUERY_STRING company=132
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.0
GATEWAY_INTERFACE CGI/1.1
REDIRECT_QUERY_STRING company=132
REDIRECT_URL /directory-osb/company/132
REMOTE_PORT 48254
SCRIPT_FILENAME /home/zblxps8jblb0/public_html/directory/company.php
SERVER_ADMIN webmaster@onestopbrokers.com
CONTEXT_DOCUMENT_ROOT /home/zblxps8jblb0/public_html
CONTEXT_PREFIX
REQUEST_SCHEME http
DOCUMENT_ROOT /home/zblxps8jblb0/public_html
REMOTE_ADDR 54.198.122.70
SERVER_PORT 80
SERVER_ADDR 160.153.131.139
SERVER_NAME www.onestopbrokers.com
SERVER_SIGNATURE
LD_LIBRARY_PATH /usr/local/apache/lib
HTTP_IF_MODIFIED_SINCE Thu, 14 Dec 2017 15:14:39 GMT
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_USER_AGENT CCBot/2.0 (http://commoncrawl.org/faq/)
HTTP_ACCEPT_ENCODING x-gzip, gzip, deflate
HTTP_HOST www.onestopbrokers.com
UNIQUE_ID WuGfkfd7MAPwn1nuZW0RYgAAA9I
REDIRECT_STATUS 200
REDIRECT_UNIQUE_ID WuGfkfd7MAPwn1nuZW0RYgAAA9I
FCGI_ROLE RESPONDER
PHP_SELF /directory/company.php
REQUEST_TIME_FLOAT 1524735889.073
REQUEST_TIME 1524735889
Key Value
company 132
empty
empty
empty
empty
Key Value
PATH /usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin
PWD /usr/local/cpanel/cgi-sys
SHLVL 0
PHP_FCGI_MAX_REQUESTS 5000
HTTP_CONNECTION close
SCRIPT_NAME /directory/company.php
REQUEST_URI /directory-osb/company/132
QUERY_STRING company=132
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.0
GATEWAY_INTERFACE CGI/1.1
REDIRECT_QUERY_STRING company=132
REDIRECT_URL /directory-osb/company/132
REMOTE_PORT 48254
SCRIPT_FILENAME /home/zblxps8jblb0/public_html/directory/company.php
SERVER_ADMIN webmaster@onestopbrokers.com
CONTEXT_DOCUMENT_ROOT /home/zblxps8jblb0/public_html
CONTEXT_PREFIX
REQUEST_SCHEME http
DOCUMENT_ROOT /home/zblxps8jblb0/public_html
REMOTE_ADDR 54.198.122.70
SERVER_PORT 80
SERVER_ADDR 160.153.131.139
SERVER_NAME www.onestopbrokers.com
SERVER_SOFTWARE Apache
SERVER_SIGNATURE
LD_LIBRARY_PATH /usr/local/apache/lib
HTTP_IF_MODIFIED_SINCE Thu, 14 Dec 2017 15:14:39 GMT
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_USER_AGENT CCBot/2.0 (http://commoncrawl.org/faq/)
HTTP_ACCEPT_ENCODING x-gzip, gzip, deflate
HTTP_HOST www.onestopbrokers.com
UNIQUE_ID WuGfkfd7MAPwn1nuZW0RYgAAA9I
REDIRECT_STATUS 200
REDIRECT_UNIQUE_ID WuGfkfd7MAPwn1nuZW0RYgAAA9I
FCGI_ROLE RESPONDER
PHP_SELF /directory/company.php
REQUEST_TIME_FLOAT 1524735889.073
REQUEST_TIME 1524735889
0. Whoops\Handler\PrettyPageHandler
1. Whoops\Handler\CallbackHandler