• 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
    • An exception occurred: Database Error: REPLACE INTO `vw_defer`

    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: An exception occurred: Database Error: REPLACE INTO `vw_defer`

    • Issue Tools
      • View Changes
    1. issueid=5416 June 22, 2018 4:45 AM
      SeToY SeToY is offline
      Junior Member
      An exception occurred: Database Error: REPLACE INTO `vw_defer`
      An exception occurred: Database Error: REPLACE INTO `vw_defer`

      Hi,

      I get this message upon soft-deleting a page:

      Code:
      An exception occurred: Database Error: REPLACE INTO `vw_defer` (`defer`, `data`, `dateline`) VALUES ('familycount','{"type":"pagecount","on":22,"items":{"346":{"visible":3,"typelist":"1","langitemid":342,"pageid":346,"langgroupid":345,"languageid":2,"userid":1,"chapterid":null,"dateline":1529656766,"chapterorder":null,"itembookid":null,"routeid":390,"lastupdate":1529656766,"editcount":0,"contribids":null,"pagecount":0,"attachcount":0,"bookcount":0,"categorycount":0,"redirectcount":0,"templatecount":0,"feedcount":0,"talkcount":0,"views":0,"itemid":346,"itemtypeid":1,"titlekey":"","itemkey":"angelbedarf","sortkey":"angelbedarf","startkey":"a","pathid":397,"url":"https:\\/\\/domain.com\\/wiki\\/GTA-V\\/Five-Life\\/Angelbedarf","parentprefixid":0,"stackids":[],\"keylength\":11,\"maxword\":14,\"searchmeta\":\" type_1 area_20\",\"revisionid\":561,\"title\":\"Angelbedarf\",\"pagetext\":\"Der Angelbedarf ist ein Markt, an welchem ihr allerlei Zubeh\\u00f6r f\\u00fcr euer Angelabenteuer kaufen k\\u00f6nnt. Beispielsweise Angeln oder verschiedene K\\u00f6der. Er befindet sich XXX.\",\"path\":\"\",\"icondata\":\"\",\"summary\":\"Der Angelbedarf ist ein Markt, an welchem ihr allerlei Zubeh\\u00f6r f\\u00fcr euer Angelabenteuer kaufen k\\u00f6nnt. Beispielsweise Angeln oder verschiedene K\\u00f6der. Er befindet sich XXX.\",\"prefixid\":0,\"parentid\":0,\"username\":\"SeToY\",\"ipaddress\":\"::ffff:MY.IP.ADDRESS\",\"textsize\":173,\"diff\":169,\"flags\":5,\"section\":\"\",\"rollback\":0,\"reason\":\"\",\"htmlstate\":\"on_nl2br\",\"templatelist\":\"\",\"edit_views\":0,\"ip_id\":0,\"areaid\":20,\"protect\":0,\"creatorid\":1,\"creatorname\":\"SeToY\",\"creatorip\":\"::ffff:MY.IP.ADDRESS\",\"has_pending\":null,\"is_301\":0,\"notalklist\":[],\"likes\":null,\"like_users\":null,\"issubscribed\":370,\"subscribetype\":0,\"subscribeoptions\":3,\"readtime\":1529656771,\"translate_userid\":1,\"chapter_userid\":null,\"discussionid\":null,\"commentcount\":null,\"edit_dateline\":1529656766,\"edit_parentid\":0,\"unzipped\":true,\"stacked\":true,\"itemref\":[],\"url_d\":\"https:\\/\\/domain.com\\/wiki\\/GTA-V\\/Five-Life\\/Angelbedarf?\",\"url_jd\":\"https:\\/\\/domain.com\\/wiki\\/GTA-V\\/Five-Life\\/Angelbedarf?\",\"url_s\":\"https:\\/\\/domain.com\\/wiki\\/GTA-V\\/Five-Life\\/Angelbedarf?\",\"url_js\":\"https:\\/\\/domain.com\\/wiki\\/GTA-V\\/Five-Life\\/Angelbedarf?\",\"url_q\":\"https:\\/\\/domain.com\\/wiki\\/GTA-V\\/Five-Life\\/Angelbedarf\",\"url_jq\":\"https:\\/\\/domain.com\\/wiki\\/GTA-V\\/Five-Life\\/Angelbedarf\",\"key\":346,\"itemtypeid_exists\":1,\"revision_visible\":1,\"ignore_user_error\":true,\"skip_rename_redirect\":0,\"is_imod\":true,\"title_exists\":1,\"dynamic_path\":1,\"has_meta\":true,\"new_revisionid\":561,\"do_delete\":true,\"old_visible\":1}},\"condition\":true}',1529656982), ('lastupdate','{\"action\":\"delete\",\"itemtypeid\":1,\"itemids\":[346],\"condition\":true}',1529656982,'delete'), ('familycount','{\"type\":\"editcount\",\"on\":22,\"items\":{\"346\":{\"visible\":3,\"typelist\":\"1\",\"langitemid\":342,\"pageid\":346,\"langgroupid\":345,\"languageid\":2,\"userid\":1,\"chapterid\":null,\"dateline\":1529656766,\"chapterorder\":null,\"itembookid\":null,\"routeid\":390,\"lastupdate\":1529656766,\"editcount\":1,\"contribids\":null,\"pagecount\":0,\"attachcount\":0,\"bookcount\":0,\"categorycount\":0,\"redirectcount\":0,\"templatecount\":0,\"feedcount\":0,\"talkcount\":0,\"views\":0,\"itemid\":346,\"itemtypeid\":1,\"titlekey\":\"\",\"itemkey\":\"angelbedarf\",\"sortkey\":\"angelbedarf\",\"startkey\":\"a\",\"pathid\":397,\"url\":\"https:\\/\\/domain.com\\/wiki\\/GTA-V\\/Five-Life\\/Angelbedarf\",\"parentprefixid\":0,\"stackids\":[],\"keylength\":11,\"maxword\":14,\"searchmeta\":\" type_1 area_20\",\"revisionid\":561,\"title\":\"Angelbedarf\",\"pagetext\":\"Der Angelbedarf ist ein Markt, an welchem ihr allerlei Zubeh\\u00f6r f\\u00fcr euer Angelabenteuer kaufen k\\u00f6nnt. Beispielsweise Angeln oder verschiedene K\\u00f6der. Er befindet sich XXX.\",\"path\":\"\",\"icondata\":\"\",\"summary\":\"Der Angelbedarf ist ein Markt, an welchem ihr allerlei Zubeh\\u00f6r f\\u00fcr euer Angelabenteuer kaufen k\\u00f6nnt. Beispielsweise Angeln oder verschiedene K\\u00f6der. Er befindet sich XXX.\",\"prefixid\":0,\"parentid\":0,\"username\":\"SeToY\",\"ipaddress\":\"::ffff:MY.IP.ADDRESS\",\"textsize\":173,\"diff\":169,\"flags\":5,\"section\":\"\",\"rollback\":0,\"reason\":\"\",\"htmlstate\":\"on_nl2br\",\"templatelist\":\"\",\"edit_views\":0,\"ip_id\":0,\"areaid\":20,\"protect\":0,\"creatorid\":1,\"creatorname\":\"SeToY\",\"creatorip\":\"::ffff:MY.IP.ADDRESS\",\"has_pending\":null,\"is_301\":0,\"notalklist\":[],\"likes\":null,\"like_users\":null,\"issubscribed\":370,\"subscribetype\":0,\"subscribeoptions\":3,\"readtime\":1529656771,\"translate_userid\":1,\"chapter_userid\":null,\"discussionid\":null,\"commentcount\":null,\"edit_dateline\":1529656766,\"edit_parentid\":0,\"unzipped\":true,\"stacked\":true,\"itemref\":[],\"url_d\":\"https:\\/\\/domain.com\\/wiki\\/GTA-V\\/Five-Life\\/Angelbedarf?\",\"url_jd\":\"https:\\/\\/domain.com\\/wiki\\/GTA-V\\/Five-Life\\/Angelbedarf?\",\"url_s\":\"https:\\/\\/domain.com\\/wiki\\/GTA-V\\/Five-Life\\/Angelbedarf?\",\"url_js\":\"https:\\/\\/domain.com\\/wiki\\/GTA-V\\/Five-Life\\/Angelbedarf?\",\"url_q\":\"https:\\/\\/domain.com\\/wiki\\/GTA-V\\/Five-Life\\/Angelbedarf\",\"url_jq\":\"https:\\/\\/domain.com\\/wiki\\/GTA-V\\/Five-Life\\/Angelbedarf\",\"key\":346,\"itemtypeid_exists\":1,\"revision_visible\":1,\"ignore_user_error\":true,\"skip_rename_redirect\":0,\"is_imod\":true,\"title_exists\":1,\"dynamic_path\":1,\"has_meta\":true,\"new_revisionid\":561,\"do_delete\":true}},\"condition\":true}',1529656982) Mysqli prepare error: Column count doesn't match value count at row 2 in D:\inetpub\wwwroot\domain.com\vault\core\controller\db\xf.php on line 187
      
      vw_DB_Controller_XF->throw_error() in D:/inetpub/wwwroot/domain.com/vault/core/controller/db/xf.php at line 171
      vw_DB_Controller_XF->query_write() in D:/inetpub/wwwroot/domain.com/vault/core/model/db/mysql/vw.php at line 1125
      vw_DB_MySQL_Model->shutdown_or_run() in D:/inetpub/wwwroot/domain.com/vault/core/model/db/mysql/vw.php at line 1096
      vw_DB_MySQL_Model->replace() in D:/inetpub/wwwroot/domain.com/vault/core/model/shutdown/vw.php at line 118
      vw_Shutdown_Model->shutdown() in D:/inetpub/wwwroot/domain.com/vault/core/model/shutdown/xf.php at line 23
      vw_Shutdown_Model_XF->shutdown() in vw/XenForo/CodeEventListener/Public.php at line 499
      vw_XenForo_CodeEventListener_Public::front_controller_post_view() in XenForo/CodeEvent.php at line 90
      XenForo_CodeEvent::fire() in XenForo/FrontController.php at line 201
      XenForo_FrontController->run() in D:/inetpub/wwwroot/domain.com/index.php at line 13
    Issue Details
    Issue Number 5416
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category General
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 4.0.22
    Fixed Version 4.0.23
    Milestone (none)
    Software DependencyXenForo 1.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. June 22, 2018 9:30 AM
      pegasus pegasus is offline
      VaultWiki Team
      This is already fixed in the next build. In vault/core/model/cron/deferred/vw.php, find:
      Code:
      vw_Hard_Core::model('Shutdown')->push('vw_defer', $record);
      Before it, add:
      Code:
      if (!isset($record['action'])) $record['action'] = "''";
      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 7:23 AM.
    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.