The value of primary key "pid" is missing.

Error reason:

Uncaptured exception.

Details: exception 'FLEA_Db_Exception_MissingPrimaryKey' with message 'The value of primary key "pid" is missing.' in D:\wwwroot\curtismen\wwwroot\lib\flea\FLEA\Db\TableDataGateway.php:846
Stack trace:
#0 D:\wwwroot\curtismen\wwwroot\app\front\Controller\products.php(148): FLEA_Db_TableDataGateway->update(Array)
#1 D:\wwwroot\curtismen\wwwroot\app\front\Controller\products.php(264): controller_products->productviewdata(0)
#2 D:\wwwroot\curtismen\wwwroot\lib\flea\FLEA\Dispatcher\Simple.php(120): controller_products->actionproductview()
#3 D:\wwwroot\curtismen\wwwroot\lib\flea\FLEA\Dispatcher\Auth.php(127): FLEA_Dispatcher_Simple->_executeAction('products', 'productview', 'Controller_prod...')
#4 D:\wwwroot\curtismen\wwwroot\lib\flea\FLEA.php(816): FLEA_Dispatcher_Auth->dispatching()
#5 D:\wwwroot\curtismen\wwwroot\index.php(42): FLEA::runMVC()
#6 {main}

Exception: FLEA_Db_Exception_MissingPrimaryKey
Message: The value of primary key "pid" is missing.


Filename: D:\wwwroot\curtismen\wwwroot\app\front\Controller\products.php [148]
#6 FLEA_Db_TableDataGateway::update(array(1))

Filename: D:\wwwroot\curtismen\wwwroot\app\front\Controller\products.php [264]
#5 controller_products::productviewdata(0)

Filename: D:\wwwroot\curtismen\wwwroot\lib\flea\FLEA\Dispatcher\Simple.php [120]
#4 controller_products::actionproductview()

Filename: D:\wwwroot\curtismen\wwwroot\lib\flea\FLEA\Dispatcher\Auth.php [127]
#3 FLEA_Dispatcher_Simple::_executeAction('products', 'productview', 'Controller_products')

Filename: D:\wwwroot\curtismen\wwwroot\lib\flea\FLEA.php [816]
#2 FLEA_Dispatcher_Auth::dispatching()

Filename: D:\wwwroot\curtismen\wwwroot\index.php [42]
#1 FLEA::runMVC()