• 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
    • Undefined Method

    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: Undefined Method

    • Issue Tools
      • View Changes
    1. issueid=4685 July 4, 2016 5:57 PM
      DwD_MadMac DwD_MadMac is offline
      New Member
      Undefined Method
      Forums board page gets fatal error on forum board visit. Every other page works fine.

      Code:
      Error Info
      ErrorException: Fatal Error: Call to undefined method vw_Plugins_Forum_Model_XF::subforumbit_display() - library/vw/XenForo/NodeHandler/Integrate.php:109
      Generated By: **, 9 minutes ago
      Stack Trace
      #0 [internal function]: XenForo_Application::handleFatalError()
      #1 {main}
      Request State
      array(3) {
        ["url"] => string(45) "https://forums.*.net/board/"
        ["_GET"] => array(0) {
        }
        ["_POST"] => array(0) {
        }
      }
    Issue Details
    Issue Number 4685
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Headers / Wiki Blocks
    Status Fixed
    Priority 4 - Warnings / Script Errors
    Affected Version 4.0.12
    Fixed Version 4.0.12
    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. July 5, 2016 8:58 AM
      pegasus pegasus is offline
      VaultWiki Team
      In library/vw/XenForo/NodeHandler/Integrate.php, find:
      Code:
      		if ($level <= 2)
      		{
      			$method = 'forumbit_display';
      		}
      		else
      		{
      			$method = 'subforumbit_display';
      		}
      
      		return vw_Hard_Core::model('Plugins/Forum')->{$method}($node['parent_node_id'], $min_max[0], $min_max[1]);
      Replace with:
      Code:
      		$is_sub = false;
      
      		if ($level > 2)
      		{
      			$is_sub = true;
      		}
      
      		return vw_Hard_Core::model('Plugins/Forum')->forumbit_display($node['parent_node_id'], $min_max[0], $min_max[1], $is_sub);
      Reply Reply
    2. July 5, 2016 9:05 AM
      DwD_MadMac DwD_MadMac is offline
      New Member
      Fixed the issue, thank you!
      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 10:33 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.