• 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
    • [4.1.0 RC1 Build 2] MySQL Statement Prepare Error

    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: [4.1.0 RC1 Build 2] MySQL Statement Prepare Error

    • Issue Tools
      • View Changes
    1. issueid=5959 February 17, 2020 8:00 AM
      gerryvz gerryvz is offline
      New Member
      [4.1.0 RC1 Build 2] MySQL Statement Prepare Error
      Error received this morning

      XF\Db\Exception: Job vw\vw\Handler\Job\Defer: MySQL statement prepare error [1146]: Table 'xenforo.vw_fieldrevision' doesn't exist src/XF/Db/AbstractStatement.php:228

      Generated by: Unknown account Feb 17, 2020 at 7:16 AM

      Stack trace

      SELECT * FROM `vw_fieldrevision` WHERE `revisionid` IN (938)
      ------------

      #0 src/XF/Db/Mysqli/Statement.php(196): XF\Db\AbstractStatement->getException('MySQL statement...', 1146, '42S02')
      #1 src/XF/Db/Mysqli/Statement.php(39): XF\Db\Mysqli\Statement->getException('MySQL statement...', 1146, '42S02')
      #2 src/XF/Db/Mysqli/Statement.php(54): XF\Db\Mysqli\Statement->prepare()
      #3 src/XF/Db/AbstractAdapter.php(94): XF\Db\Mysqli\Statement->execute()
      #4 src/addons/vw/vw/_core/controller/db/xf2.php(148): XF\Db\AbstractAdapter->query('SELECT * FROM `...')
      #5 src/addons/vw/vw/_core/model/db/mysql/vw.php(25): vw_DB_Controller_XF2->query_read('SELECT * FROM `...')
      #6 src/addons/vw/vw/_core/controller/dm/revision/vw.php(1799): vw_DB_MySQL_Model->select(Array)
      #7 src/addons/vw/vw/_core/controller/dm/vw.php(147): vw_DM_Revision_Controller->delete_multiple(Array)
      #8 src/addons/vw/vw/_core/model/cron/deferred/node/vw.php(161): vw_DM_Controller->delete_multiple(Array)
      #9 src/addons/vw/vw/_core/model/cron/deferred/node/vw.php(115): vw_Cron_Deferred_Node_Model->delete(Array)
      #10 src/addons/vw/vw/_core/model/cron/deferred/vw.php(64): vw_Cron_Deferred_Node_Model->run(Array)
      #11 src/addons/vw/vw/Handler/Job/Defer.php(30): vw_Cron_Deferred_Model->exec()
      #12 src/XF/Job/Manager.php(253): vw\vw\Handler\Job\Defer->run(G)
      #13 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
      #14 src/XF/Job/Manager.php(79): XF\Job\Manager->runJobEntry(Array, G)
      #15 job.php(42): XF\Job\Manager->runQueue(false, 8)
      #16 {main}

      Request state

      array(4) {
      ["url"] => string(15) "/forums/job.php"
      ["referrer"] => string(58) "https://www.500eboard.co/forums/wiki/?title=500E-E500-Wiki"
      ["_GET"] => array(0) {
      }
      ["_POST"] => array(0) {
      }
      }
    Issue Details
    Issue Number 5959
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Moderator Tools
    Status Fixed
    Priority 4 - Warnings / Script Errors
    Affected Version 4.1.0 RC 1
    Fixed Version 4.1.0 RC 1
    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. February 19, 2020 10:57 AM
      pegasus pegasus is offline
      VaultWiki Team
      In src/addons/vw/vw/_core/controller/dm/revision/vw.php, find:
      Code:
      if (vw_Hard_Core::model('Version')->installed('4.1.0 RC 1'))
      Replace with:
      Code:
      if (vw_Hard_Core::model('Version')->installed('4.1.0 RC 2'))
      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 2:30 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.