Post by shaharmag@gmail.com » Tue Jan 26, 2021 7:12 pm

Hallo ,
I have a problem that happens when costumer complete his checkout process it sent him :

Parse error: syntax error, unexpected '$this' (T_VARIABLE), expecting function (T_FUNCTION) in /home/mysite/domains/mysite.co.il/public_html/vqmod/vqcache/vq2-catalog_controller_checkout_success.php on line 59

Code: Select all

	$this->cart->clear();

			unset($this->session->data['shipping_method']);
			unset($this->session->data['shipping_methods']);
			unset($this->session->data['payment_method']);
			unset($this->session->data['payment_methods']);
			unset($this->session->data['guest']);
			unset($this->session->data['comment']);
			unset($this->session->data['order_id']);	
			unset($this->session->data['coupon']);
			unset($this->session->data['reward']);
			unset($this->session->data['voucher']);
			unset($this->session->data['vouchers']);
		}	
									   
		$this->language->load('checkout/success'); [b] -----   LINE 59[/b]
		
		$this->document->setTitle($this->language->get('heading_title'));
		
		$this->data['breadcrumbs'] = array(); 

      	$this->data['breadcrumbs'][] = array(
        	'href'      => $this->url->link('common/home'),
        	'text'      => $this->language->get('text_home'),
        	'separator' => false
      	); 
I am using 1.5.5.1

Can someone please help me ?


Posts

Joined
Thu Dec 29, 2016 2:44 pm

Post by xxvirusxx » Tue Jan 26, 2021 8:16 pm

What vqmod extensions you have installed?

Extensions converted by me for Free | Custom 3.0.3.7 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by straightlight » Tue Jan 26, 2021 8:59 pm

Caused by an installed extension. Contact the extension developer to resolve this issue.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 41 guests