Jump to content

PrestaShopDatabaseException


Recommended Posts

After installing google analytics module in my shop i am getting below error in order confirmation page..

 

i am using Google Analytics v2.3.2.

 

plz reply me when problem solve on   my mail :  [email protected]

 

PrestaShopDatabaseException]

Field 'id_customer' doesn't have a default value
 

INSERT INTO `ps_ganalytics` (id_order, id_shop, sent, date_add) VALUES (20, 1, 0, NOW())

at line 765 in file classes/db/Db.php

760. 			WebserviceRequest::getInstance()->setError(500, '[SQL Error] '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);761. 		}762. 		elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))763. 		{764. 			if ($sql)765. 				throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');766. 767. 			throw new PrestaShopDatabaseException($this->getMsgError());768. 		}769. 	}770. 
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...