• 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 Alpha 2] Class 'vw\vw\vw_DB' not found

    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 Alpha 2] Class 'vw\vw\vw_DB' not found

    • Issue Tools
      • View Changes
    1. issueid=5663 March 5, 2019 3:11 PM
      RockGermany RockGermany is offline
      New Member
      [4.1 Alpha 2] Class 'vw\vw\vw_DB' not found

      v4.1.0 Alpha 2 Build 002
      Xenforo v2.1.0
      (vaultwiki_410a2b2.zip)

      Message during fresh installation:

      Code:
      Error: Class 'vw\vw\vw_DB' not found in src/addons/vw/vw/Setup.php at line 1053
      
          vw\vw\Setup->vwFinalRebuild() in src/addons/vw/vw/Setup.php at line 1026
          vw\vw\Setup->postInstall() in src/XF/AddOn/AddOn.php at line 523
          XF\AddOn\AddOn->postInstall() in src/XF/Admin/Controller/AddOn.php at line 701
          XF\Admin\Controller\AddOn->actionFinalize() in src/XF/Mvc/Dispatcher.php at line 321
          XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 248
          XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 100
          XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 50
          XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2177
          XF\App->run() in src/XF.php at line 390
          XF::runApp() in admin.php at line 13
      Installation continued:

      Code:
      XF\Db\InvalidQueryException: MySQL statement prepare error [1064]: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') LIMIT 0' at line 1 in src/XF/Db/AbstractStatement.php at line 217
      
          XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 196
          XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 39
          XF\Db\Mysqli\Statement->prepare() in src/XF/Db/Mysqli/Statement.php at line 54
          XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 89
          XF\Db\AbstractAdapter->query() in src/addons/vw/vw/_core/controller/db/xf2.php at line 148
          vw_DB_Controller_XF2->query_read() in src/addons/vw/vw/_core/model/db/mysql/vw.php at line 25
          vw_DB_MySQL_Model->select() in src/addons/vw/vw/_core/model/cron/deferred/prefixkey/link/vw.php at line 59
          vw_Cron_Deferred_PrefixKey_Link_Model->get_contents() in src/addons/vw/vw/_core/model/cron/deferred/prefixkey/base/vw.php at line 88
          vw_Cron_Deferred_PrefixKey_base_Model->run() in src/addons/vw/vw/_core/model/cron/deferred/prefixkey/vw.php at line 73
          vw_Cron_Deferred_Prefixkey_Model->run() in src/addons/vw/vw/_core/model/cron/deferred/vw.php at line 64
          vw_Cron_Deferred_Model->exec() in src/addons/vw/vw/Handler/Job/Defer.php at line 30
          vw\vw\Handler\Job\Defer->run() in src/XF/Job/Manager.php at line 253
          XF\Job\Manager->runJobInternal() in src/XF/Job/Manager.php at line 195
          XF\Job\Manager->runJobEntry() in src/XF/Job/Manager.php at line 79
          XF\Job\Manager->runQueue() in src/XF/Admin/Controller/Tools.php at line 139
          XF\Admin\Controller\Tools->actionRunJob() in src/XF/Mvc/Dispatcher.php at line 321
          XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 248
          XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 100
          XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 50
          XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2177
          XF\App->run() in src/XF.php at line 390
          XF::runApp() in admin.php at line 13
      It looks good, but it says under Options:

      Code:
      The wiki currently appears as disabled because a deferred task has failed. Please check your Server Error Logs to determine the source of the problem. If you cannot find an issue in the logs, retry the failed task.
      The "Server Error Logs" and the "retry the failed task" links don't work.
    Issue Details
    Issue Number 5663
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Install / Upgrade
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 4.1.0 Alpha 2
    Fixed Version 4.1.0 Alpha 2
    Milestone (none)
    Software DependencyAny
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags database, install




    1. March 5, 2019 3:45 PM
      pegasus pegasus is offline
      VaultWiki Team
      I have just made build 003 public which should fix the issues you have mentioned.
      Reply Reply  
    2. March 5, 2019 4:01 PM
      RockGermany RockGermany is offline
      New Member
      I can't uninstall the old version 002, so I tried to install the new 003 over it. But:

      Code:
      An exception occurred: [Error] Call to a member function getProperties() on null in src/addons/vw/vw/_core/view/stylevar/xf2.php on line 108
      
          vw_StyleVar_View_XF2->set() in src/addons/vw/vw/_core/view/stylevar/vw.php at line 36
          vw_StyleVar_View->ready() in src/addons/vw/vw/_core/view/stylevar/xf2.php at line 48
          vw_StyleVar_View_XF2->ready() in src/addons/vw/vw/Listener.php at line 395
          vw\vw\Listener::templater_template_pre_render()
          call_user_func_array() in src/XF/Extension.php at line 35
          XF\Extension->fire() in src/XF/App.php at line 2647
          XF\App->fire() in src/XF/Template/Templater.php at line 1276
          XF\Template\Templater->renderTemplate() in src/addons/vw/vw/XF/Template/Templater.php at line 715
          vw\vw\XF\Template\Templater->renderTemplate() in src/XF/Admin/App.php at line 243
          XF\Admin\App->renderPageHtml() in src/XF/App.php at line 1988
          XF\App->renderPage() in src/XF/Admin/App.php at line 122
          XF\Admin\App->renderPage() in src/XF/Mvc/Dispatcher.php at line 362
          XF\Mvc\Dispatcher->render() in src/XF/Mvc/Dispatcher.php at line 53
          XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2177
          XF\App->run() in src/XF.php at line 390
          XF::runApp() in admin.php at line 13
      and then

      Code:
      Error: Call to undefined method vw\vw\Setup\Caller\Install::update_version() in src/addons/vw/vw/Setup.php at line 266
      
          vw\vw\Setup->vw\vw\{closure}() in src/addons/vw/vw/Setup.php at line 280
          vw\vw\Setup->vwRunStep() in src/addons/vw/vw/Setup.php at line 207
          vw\vw\Setup->install() in src/XF/Admin/Controller/AddOn.php at line 398
          XF\Admin\Controller\AddOn->actionInstall() in src/XF/Mvc/Dispatcher.php at line 321
          XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 248
          XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 100
          XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 50
          XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2177
          XF\App->run() in src/XF.php at line 390
          XF::runApp() in admin.php at line 13
      It can now neither install or uninstall.

      Reply Reply  
    3. March 6, 2019 8:34 AM
      ACL ACL is offline
      Regular Member
      The An exception occurred: [Error] Call to a member function getProperties() on null ... error presently occurs on the VW XF2 demo, too: https://www.vaultwiki.org/xf/index.php
      Reply Reply  
    4. March 6, 2019 11:45 AM
      pegasus pegasus is offline
      VaultWiki Team
      In src/addons/vw/vw/Setup.php, find:
      Code:
      $caller->update_version();
      Replace with:
      Code:
      				if ($caller->get('progress_type') == 'upgrade')
      				{
      					$caller->update_version();
      				}
      				else
      				{
      					$caller->get('view')->explain('update_table', 'vw_upgradelog');
      					$caller->close();
      				}
      In src/addons/vw/vw/_core/view/stylevar/xf2.php, find:
      Code:
      $this->style = XF::app()->templater()->getStyle();
      Replace with:
      Code:
      $this->style = XF::app()->style();
      In src/addons/vw/vw/Listener.php, find:
      Code:
      \vw_Hard_Core::view('StyleVar')->ready();
      BEFORE it, add:
      Code:
      \vw_Hard_Core::view('StyleVar')->style($templater->getStyle());
      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 12:49 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.