• 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
    • ErrorException: Undefined index: Array - vault\core\model\shutdown\vw.php:31

    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: ErrorException: Undefined index: Array - vault\core\model\shutdown\vw.php:31

    • Issue Tools
      • View Changes
    1. issueid=5193 August 7, 2017 3:57 PM
      SeToY SeToY is offline
      Junior Member
      ErrorException: Undefined index: Array - vault\core\model\shutdown\vw.php:31
      ErrorException: Undefined index: Array - vault\core\model\shutdown\vw.php:31

      Hello,

      since updating to 4.0.19, my server error log is being flooded:
      Code:
      Server Error Log
      Error Info
      ErrorException: Undefined index: Array - vault\core\model\shutdown\vw.php:31
      Generated By: Tommy Clancy, A moment ago
      Stack Trace
      #0 D:\inetpub\wwwroot\domain.com\vault\core\model\shutdown\vw.php(31): XenForo_Application::handlePhpError(8, 'Undefined index...', 'D:\\inetpub\\wwwr...', 31, Array)
      #1 D:\inetpub\wwwroot\domain.com\vault\core\model\plugins\general\vw.php(260): vw_Shutdown_Model->push('vw_cache', Array, Array)
      #2 D:\inetpub\wwwroot\domain.com\library\vw\XenForo\CodeEventListener\Public.php(85): vw_Plugins_General_Model->get_nav_links(true)
      #3 [internal function]: vw_XenForo_CodeEventListener_Public::navigation_tabs(Array, 'articles')
      #4 D:\inetpub\wwwroot\domain.com\library\XenForo\CodeEvent.php(90): call_user_func_array(Array, Array)
      #5 D:\inetpub\wwwroot\domain.com\library\XenForo\Dependencies\Public.php(495): XenForo_CodeEvent::fire('navigation_tabs', Array)
      #6 D:\inetpub\wwwroot\domain.com\library\XenForo\Dependencies\Public.php(371): XenForo_Dependencies_Public->_getNavigationContainerParams('articles')
      #7 D:\inetpub\wwwroot\domain.com\library\XenForo\FrontController.php(637): XenForo_Dependencies_Public->getEffectiveContainerParams(Array, Object(Zend_Controller_Request_Http))
      #8 D:\inetpub\wwwroot\domain.com\library\XenForo\FrontController.php(158): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_HtmlPublic), Array)
      #9 D:\inetpub\wwwroot\domain.com\index.php(13): XenForo_FrontController->run()
      #10 {main}
      Request State
      array(3) {
        ["url"] => string(37) "https://domain.com/"
        ["_GET"] => array(0) {
        }
        ["_POST"] => array(0) {
        }
      }
      Code:
      Server Error Log
      Error Info
      ErrorException: Array to string conversion - vault\core\model\shutdown\vw.php:31
      Generated By: Tommy Clancy, A moment ago
      Stack Trace
      #0 D:\inetpub\wwwroot\domain.com\vault\core\model\shutdown\vw.php(31): XenForo_Application::handlePhpError(8, 'Array to string...', 'D:\\inetpub\\wwwr...', 31, Array)
      #1 D:\inetpub\wwwroot\domain.com\vault\core\model\plugins\general\vw.php(260): vw_Shutdown_Model->push('vw_cache', Array, Array)
      #2 D:\inetpub\wwwroot\domain.com\library\vw\XenForo\CodeEventListener\Public.php(85): vw_Plugins_General_Model->get_nav_links(true)
      #3 [internal function]: vw_XenForo_CodeEventListener_Public::navigation_tabs(Array, 'articles')
      #4 D:\inetpub\wwwroot\domain.com\library\XenForo\CodeEvent.php(90): call_user_func_array(Array, Array)
      #5 D:\inetpub\wwwroot\domain.com\library\XenForo\Dependencies\Public.php(495): XenForo_CodeEvent::fire('navigation_tabs', Array)
      #6 D:\inetpub\wwwroot\domain.com\library\XenForo\Dependencies\Public.php(371): XenForo_Dependencies_Public->_getNavigationContainerParams('articles')
      #7 D:\inetpub\wwwroot\domain.com\library\XenForo\FrontController.php(637): XenForo_Dependencies_Public->getEffectiveContainerParams(Array, Object(Zend_Controller_Request_Http))
      #8 D:\inetpub\wwwroot\domain.com\library\XenForo\FrontController.php(158): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_HtmlPublic), Array)
      #9 D:\inetpub\wwwroot\domain.com\index.php(13): XenForo_FrontController->run()
      #10 {main}
      Request State
      array(3) {
        ["url"] => string(37) "https://domain.com/"
        ["_GET"] => array(0) {
        }
        ["_POST"] => array(0) {
        }
      }
    Issue Details
    Issue Number 5193
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category General
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 4.0.19
    Fixed Version 4.0.19
    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. August 7, 2017 4:38 PM
      pegasus pegasus is offline
      VaultWiki Team
      In vault/core/model/shutdown/vw.php, find:
      Code:
      $this->insert["$table"][$insert["$duplicate"]] = $insert;
      Replace with:
      Code:
      			$duplikey = '';
      
      			if (is_array($duplicate))
      			{
      				foreach ($duplicate AS $field)
      				{
      					$duplikey .= $insert["$field"];
      				}
      			}
      			else
      			{
      				$duplikey = $insert["$duplicate"];
      			}
      
      			$this->insert["$table"]["$duplikey"] = $insert;
      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:37 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.