Here is the debug mode error log. How can I fix this issue?
OW Debug - Exception
Message: SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'entityType' in on clause is ambiguous File: /home3/gilesy/public_html/www.cyprusswingersnetwork.com/ow_core/database.php Line: 331 Trace: #0 /home3/gilesy/public_html/www.cyprusswingersnetwork.com/ow_core/database.php(331): PDOStatement->execute() #1 /home3/gilesy/public_html/www.cyprusswingersnetwork.com/ow_core/database.php(359): OW_Database->execute('SELECT * FROM `...', NULL) #2 /home3/gilesy/public_html//...hotphoto_service.php(90): OW_Database->queryForColumn('SELECT * FROM `...') #3 /home3/gilesy/public_html//...nts/random_photo.php(82): HOTPHOTO_BOL_HotphotoService->getNotRatedPhotoByUserId(1, 0) #4 /home3/gilesy/public_html//...controllers/rate.php(69): HOTPHOTO_CMP_RandomPhoto->__construct(Array) #5 [internal function]: HOTPHOTO_CTRL_Rate->index(Array) #6 /home3/gilesy/public_html/www.cyprusswingersnetwork.com/ow_core/request_handler.php(266): ReflectionMethod->invokeArgs(Object(HOTPHOTO_CTRL_Rate), Array) #7 /home3/gilesy/public_html/www.cyprusswingersnetwork.com/ow_core/application.php(318): OW_RequestHandler->dispatch() #8 /home3/gilesy/public_html/www.cyprusswingersnetwork.com/index.php(65): OW_Application->handleRequest() #9 {main} Type: PDOException