Whoops \ Exception \ ErrorException (E_ERROR)
Whoops\Exception\ErrorException thrown with message "Class 'PMCOM\Front\category' not found" Stacktrace: #0 Whoops\Exception\ErrorException in /var/www/vhosts/shesto.co.uk/httpdocs/src/PMCOM/Front/Cart.php:1327

Class 'PMCOM\Front\category' not found

Stack frames (1):
0 Whoops\Exception\ErrorException
…/­src/­PMCOM/­Front/­Cart.php1327
/var/www/vhosts/shesto.co.uk/httpdocs/src/PMCOM/Front/Cart.php
	*
	* @param int $category_id
	* @return boolan
	*
	*/
	function is_in_category($category_id)
	{
		$items = $this->get_cart_items();
 
		$cat = new category();
		$cats = $cat->get_child_categories($category_id, array($category_id));
 
		foreach($items as $item_p)
		{
			if(!$item_p->voucher)
			{
				if(in_array($item_p->product->category_id, $cats))
				{
					return true;
				}

Environment & details:

empty
empty
empty
empty
empty
Key Value
PATH
"/sbin:/usr/sbin:/bin:/usr/bin"
PP_CUSTOM_PHP_INI
"/var/www/vhosts/system/shesto.co.uk/etc/php.ini"
PP_CUSTOM_PHP_CGI_INDEX
"fastcgi"
SCRIPT_NAME
"/index.php"
REQUEST_URI
"/cart/"
QUERY_STRING
""
REQUEST_METHOD
"GET"
SERVER_PROTOCOL
"HTTP/1.0"
GATEWAY_INTERFACE
"CGI/1.1"
REDIRECT_URL
"/cart/"
REMOTE_PORT
"32960"
SCRIPT_FILENAME
"/var/www/vhosts/shesto.co.uk/httpdocs/index.php"
SERVER_ADMIN
"tim@purposemedia.co.uk"
DOCUMENT_ROOT
"/var/www/vhosts/shesto.co.uk/httpdocs"
REMOTE_ADDR
"54.224.225.228"
SERVER_PORT
"443"
SERVER_ADDR
"5.250.179.132"
SERVER_NAME
"www.shesto.co.uk"
SERVER_SOFTWARE
"Apache"
SERVER_SIGNATURE
"<address>Apache Server at www.shesto.co.uk Port 443</address>\n"
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_CONNECTION
"close"
HTTP_X_FORWARDED_FOR
"54.224.225.228"
HTTP_X_REAL_IP
"54.224.225.228"
HTTP_HOST
"www.shesto.co.uk"
HTTPS
"on"
SCRIPT_URI
"https://www.shesto.co.uk/cart/"
SCRIPT_URL
"/cart/"
REDIRECT_STATUS
"200"
REDIRECT_HTTPS
"on"
REDIRECT_SCRIPT_URI
"https://www.shesto.co.uk/cart/"
REDIRECT_SCRIPT_URL
"/cart/"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1493141092.2548
REQUEST_TIME
1493141092
empty
0. PMCOM\Core\PurposeHandler
1. Whoops\Handler\CallbackHandler