Anyone have any help or tips on this error code filling up my error log.
2020-04-30T17:44:39+00:00 CRIT (2):
Error Code: cdea5b
Zend_Db_Statement_Mysqli_Exception: Mysqli prepare error: Column 'user_id' in where clause is ambiguous in /home/mywebsite/public_html/application/libraries
Stack trace:
#0 /home/mywebsite/public_html/application/libraries/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('SELECT `engine4...')
#1 /home/mywebsite/public_html/application/libraries/Zend/Db/Adapter/Mysqli.php(388): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), 'SELECT
#2 /home/mywebsite/public_html/application/libraries/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Adapter_Mysqli->prepare('SELECT `engine4...')
#3 /home/mywebsite/public_html/application/libraries/Zend/Db/Table/Abstract.php(1577): Zend_Db_Adapter_Abstract->query('SELECT `engine4...')
#4 /home/mywebsite/public_html/application/libraries/Zend/Db/Table/Abstract.php(1392): Zend_Db_Table_Abstract->_fetch(Object(Zend_Db_Table_Select))
#5 /home/mywebsite/public_html/application/modules/User/controllers/FriendsController.php(699): Zend_Db_Table_Abstract->fetchAll(Object(Zend_Db_Table_Select
#6 /home/mywebsite/public_html/application/libraries/Zend/Controller/Action.php(516): User_FriendsController->suggestAction()
#7 /home/mywebsite/public_html/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('suggestAction')
#8 /home/mywebsite/public_html/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Re
#9 /home/mywebsite/public_html/application/modules/Core/Bootstrap.php(84): Zend_Controller_Front->dispatch()
#10 /home/mywebsite/public_html/application/libraries/Engine/Application.php(160): Core_Bootstrap->run()
#11 /home/mywebsite/public_html/application/index.php(223): Engine_Application->run()
#12 /home/mywebsite/public_html/boot.php(47): include('/home/mywebsite/...')
#13 /home/mywebsite/public_html/index.php(24): Engine_Boot->boot()
#14 {main}
When posting errors, please post details.
What version of SEPHP?
What version of PHP on the server?
What OS on the server?
Are you using Mysql or Mariadb?
Any other info would be helpful.
This site is 5.0.1 and I don't see that in the error log. I'll check on the demo.
Do you have any third party plugin for users or friendship stuffs? Is there any specific thing you are doing that gets this error to show?