• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
    • Wiki
    • Support
      • Manage Subscriptions
      • FAQ
      • Support For
        • VaultWiki 4.x Series
        • VaultWiki.org Site
    • What's New?
    • Buy Now
    • Manual
    • 
    • Support
    • VaultWiki 4.x Series
    • Bug
    • Database Error: INSERT IGNORE INTO `xf_vw_accelerate`

    1. Welcome to VaultWiki.org, home of the wiki add-on for vBulletin and XenForo!

      VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.

      The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.

    Issue: Database Error: INSERT IGNORE INTO `xf_vw_accelerate`

    • Issue Tools
      • View Changes
    1. issueid=6500 2 Days Ago 10:10 AM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Database Error: INSERT IGNORE INTO `xf_vw_accelerate`

      XF\Db\Exception: Database Error: INSERT IGNORE INTO `xf_vw_accelerate` (`entry_type`, `entry_name`, `entry_content`) VALUES ('file','/src/addons/vw/vw/_core/model/node/base/vw.php','1') MySQL query error [1213]: Deadlock found when trying to get lock; try restarting transaction src/addons/vw/vw/_core/controller/db/xf2.php:398

      Generated by: Unknown account Oct 19, 2025 at 11:15 AM

      Stack trace

      #0 src/addons/vw/vw/_core/model/db/mysql/vw.php(1186): vw_DB_Controller_XF2->halt('Database Error:...')
      #1 src/addons/vw/vw/_core/model/shutdown/vw.php(143): vw_DB_MySQL_Model->insert(Array)
      #2 src/addons/vw/vw/_core/model/shutdown/xf2.php(70): vw_Shutdown_Model->shutdown()
      #3 src/addons/vw/vw/Listener.php(341): vw_Shutdown_Model_XF2->shutdown()
      #4 src/XF/Extension.php(86): vw\vw\Listener::app_complete(Object(XF\Pub\App), Object(XF\Http\Response))
      #5 src/XF/App.php(3366): XF\Extension->fire('app_complete', Array, NULL)
      #6 src/XF/App.php(2539): XF\App->fire('app_complete', Array)
      #7 src/XF/Pub/App.php(501): XF\App->complete(Object(XF\Http\Response))
      #8 src/XF/App.php(2827): XF\Pub\App->complete(Object(XF\Http\Response))
      #9 src/XF.php(806): XF\App->run()
      #10 index.php(23): XF::runApp('XF\\Pub\\App')
      #11 {main}

      Request state

      array(4) {
      ["url"] => string(155) "/forums/sd.25/?prefix_id=195&prefix_ids[0]=175&prefix_ids[1]=168&prefix_ids[2]=178&prefix_ids[3]=214&prefix_ids[4]=183&prefix_ids[5]=204&prefix_ids[6]=205"
      ["referrer"] => bool(false)
      ["_GET"] => array(3) {
      ["/forums/sd_25/"] => string(0) ""
      ["prefix_id"] => string(3) "195"
      ["prefix_ids"] => array(7) {
      [0] => string(3) "175"
      [1] => string(3) "168"
      [2] => string(3) "178"
      [3] => string(3) "214"
      [4] => string(3) "183"
      [5] => string(3) "204"
      [6] => string(3) "205"
      }
      }
      ["_POST"] => array(0) {
      }
      }
    Issue Details
    Issue Number 6500
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Forum Posts / Non-Wiki Content
    Status Duplicate
    Priority 2 - Fatal / Database Errors
    Affected Version 4.1.9
    Fixed Version (none)
    Milestone (none)
    Software DependencyXenForo 2.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. 2 Days Ago 10:11 AM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Sidenote: as I recently upgraded my website to XF2.3 you can be sure that we will encounter more issues in the near future.
      Reply Reply  
    2. 2 Days Ago 1:02 PM
      pegasus pegasus is offline
      VaultWiki Team
      At least two queries are required for a deadlock situation.

      This is the corresponding query in the deadlock you reported here: https://www.vaultwiki.org/issues/6483/
      While you likely silenced one of them per my instructions, this one is not silenced. We made various changes to increase silence on non-important deadlocks in the next release. As discussed in other threads, this query is a user pushing things onto a queue for a cache update. But at the same time, a cron job is processing the same queue and clearing it. This causes a deadlock. But in this case it's not important, because the next user will basically find the same missing cache entries and try to queue them. Deadlock solutions are generally: increase roundtrips to the database by eliminating batch update/insert/delete (this is the approach currently used and being expanded for future versions), or to give up on the InnoDB database engine for the affected table (maybe worth considering if it still occurs in the next release).
      Reply Reply  
    + Reply

    Assigned Users
    Loading Please Wait
    Tags
    Loading Please Wait
    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 5:10 PM.
    This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Learn more… Accept Remind me later
  • striker
    Powered by vBulletin® Version 4.2.5 Beta 2
    Copyright © 2025 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
    Copyright © 2008 - 2024 VaultWiki Team, Cracked Egg Studios, LLC.