1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.2 Can't like posts

Discussion in 'Troubleshooting and Problems' started by Valter, Oct 28, 2013.

  1. Valter

    Valter Active Member

    Suddenly I'm not able to like posts. Any idea?

    Error log:

    Server Error Log
    Zend_Db_Statement_Mysqli_Exception: Mysqli statement execute error : Lock wait timeout exceeded; try restarting transaction - library/Zend/Db/Statement/Mysqli.php:214
    Stack Trace
    #0 /home/{site_name}/public_html/library/Zend/Db/Statement.php(297): Zend_Db_Statement_Mysqli->_execute(Array)
    #1 /home/{site_name}/public_html/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
    #2 /home/{site_name}/public_html/library/XenForo/Model/Like.php(186): Zend_Db_Adapter_Abstract->query('?????INSERT IGN...', Array)
    #3 /home/{site_name}/public_html/library/XenForo/ControllerPublic/Post.php(372): XenForo_Model_Like->likeContent('post', 877852, 14456)
    #4 /home/{site_name}/public_html/library/XenForo/FrontController.php(337): XenForo_ControllerPublic_Post->actionLike()
    #5 /home/{site_name}/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #6 /home/{site_name}/public_html/index.php(13): XenForo_FrontController->run()
    #7 {main}
    Request State
    array(3) {
      ["url"] => string(41) "http://www.{site_name}.net/posts/877852/like"
      ["_GET"] => array(0) {
      ["_POST"] => array(4) {
        ["_xfRequestUri"] => string(23) "/threads/23927/page-173"
        ["_xfNoRedirect"] => string(1) "1"
        ["_xfToken"] => string(8) "********"
        ["_xfResponseType"] => string(4) "json"
  2. Jeremy

    Jeremy Well-Known Member

    Attempt to restart your MySQL server. It appears to be having issues.
  3. Valter

    Valter Active Member

    I contacted my host, they fixed it. Thanks for your reply.

Share This Page