Service Unavailable Error

Dear friends,

Can you please tell me why I get Service Unavailable Error?

This is what I get

Tygh\Exceptions\AException

Message

Duplicate entry '11-en' for key 'PRIMARY' (1062)

INSERT INTO cscart_company_descriptions (`company_description`, `lang_code`, `company_id`) VALUES ('', 'en', 11)

Error at

app/Tygh/Database/Connection.php, line: 1118

Backtrace


	
		
			File:
		
			app/Tygh/Database/Connection.php
	
	
		
			Line:
		
			488
	
	
		
			Function:
		
			<b>throwError</b>
	
	
		
			File:
		
			app/functions/fn.database.php
	
	
		
			Line:
		
			129
	
	
		
			Function:
		
			<b>query</b>
	
	
		
			File:
		
			app/functions/fn.companies.php
	
	
		
			Line:
		
			759
	
	
		
			Function:
		
			<b>db_query</b>
	
	
		
			File:
		
			app/controllers/frontend/companies.php
	
	
		
			Line:
		
			51
	
	
		
			Function:
		
			<b>fn_update_company</b>
	
	
		
			File:
		
			app/functions/fn.control.php
	
	
		
			Line:
		
			700
	
	
		
			Function:
		
			<b>include</b>
	
	
		
			File:
		
			app/functions/fn.control.php
	
	
		
			Line:
		
			456
	
	
		
			Function:
		
			<b>fn_run_controller</b>
	
	
		
			File:
		
			index.php
	
	
		
			Line:
		
			25
	
	
		
			Function:
		
			<b>fn_dispatch</b>

Please help me to fix this.

After what action do you get this error?

After what action do you get this error?

Again, thank you for trying to help. When a seller is trying to sign up by selecting a plan, the registration successfully goes through and soon after the registration, I get that error.

However, I managed to fix this by doing this.

1) I deleted all the plans

2) I deleted all the orders related to the vendors

3) Added the plans again

It worked.

Thank you for keeping us updated!

Thank you Sir.