• 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
    • Call to a member function setParam() on null

    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: Call to a member function setParam() on null

    • Issue Tools
      • View Changes
    1. issueid=4620 April 4, 2016 4:13 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Call to a member function setParam() on null

      Code:
      Error: Call to a member function setParam() on null - vault/core/view/template/xf.php:145 
      Generated By: Unknown Account, 6 minutes ago
      Stack Trace
      #0 vault/core/view/factory/block/vw.php(36): vw_Template_View_XF->register('block', '<!-- VW:WIDGET ...')
      #1 vault/core/model/parser/handle/widget/vw.php(600): vw_Factory_Block_View->main('<!-- VW:WIDGET ...', '<!-- VW:WIDGETT...', 'vw-widget vw-wi...')
      #2 vault/core/model/parser/handle/widget/vw.php(96): vw_Parser_Handle_Widget_Model->handle_widget_threads('forum="76" coun...')
      #3 vault/core/model/parser/handle/vw.php(1375): vw_Parser_Handle_Widget_Model->parse('forum="76" coun...')
      #4 vault/core/model/parser/handle/vw.php(1334): vw_Parser_Handle_Model->handle_bbcode_widget(Array)
      #5 vault/core/model/parser/handle/wrapper/vw.php(202): vw_Parser_Handle_Model->handle_bbcode_nuwiki(Array)
      #6 library/XenForo/BbCode/Formatter/Base.php(745): vw_Parser_Handle_Wrapper_Model->vwcode_wrapper(Array, Array, Object(vw_XenForo_BbCode_Formatter))
      #7 library/vw/XenForo/BbCode/Formatter.php(222): XenForo_BbCode_Formatter_Base->renderValidTag(Array, Array, Array)
      #8 library/XenForo/BbCode/Formatter/Base.php(652): vw_XenForo_BbCode_Formatter->renderValidTag(Array, Array, Array)
      #9 library/vw/XenForo/BbCode/Formatter.php(189): XenForo_BbCode_Formatter_Base->renderTag(Array, Array, 0)
      #10 library/XenForo/BbCode/Formatter/Base.php(565): vw_XenForo_BbCode_Formatter->renderTag(Array, Array, 0)
      #11 library/vw/XenForo/BbCode/Formatter.php(296): XenForo_BbCode_Formatter_Base->renderTreeElement(Array, Array, 0)
      #12 library/XenForo/BbCode/Formatter/Base.php(546): vw_XenForo_BbCode_Formatter->renderTreeElement(Array, Array, 0)
      #13 library/XenForo/BbCode/Formatter/Base.php(526): XenForo_BbCode_Formatter_Base->renderSubTree(Array, Array)
      #14 library/vw/XenForo/BbCode/Formatter.php(166): XenForo_BbCode_Formatter_Base->renderTree(Array, Array)
      #15 library/vw/XenForo/BbCode/Parser.php(1040): vw_XenForo_BbCode_Formatter->renderTree(Array, Array)
      #16 library/vw/XenForo/BbCode/Parser.php(808): vw_XenForo_BbCode_Parser->vwParseBbCode('Kratom, or Mitr...')
      #17 vault/core/model/parser/instance/xf.php(138): vw_XenForo_BbCode_Parser->vwInstanceParse('Kratom, or Mitr...')
      #18 vault/core/controller/dm/page/vw.php(1094): vw_Parser_Instance_Model_XF->parse(Array)
      #19 vault/core/controller/dm/page/vw.php(860): vw_DM_Page_Controller->process_links()
      #20 vault/core/controller/dm/page/vw.php(757): vw_DM_Page_Controller->process_revision()
      #21 library/vw/XenForo/DataWriter.php(477): vw_DM_Page_Controller->pre_save(true)
      #22 library/XenForo/DataWriter.php(1460): vw_XenForo_DataWriter->_preSave()
      #23 library/vw/XenForo/DataWriter.php(186): XenForo_DataWriter->preSave()
      #24 vault/core/controller/dm/xf.php(375): vw_XenForo_DataWriter->preSaveWithReturn()
      #25 library/vw/XenForo/DataWriter.php(181): vw_DM_Controller_XF->pre_save()
      #26 library/XenForo/DataWriter.php(1399): vw_XenForo_DataWriter->preSave()
      #27 vault/core/controller/dm/xf.php(408): XenForo_DataWriter->save()
      #28 vault/core/controller/cp/counter/url/vw.php(97): vw_DM_Controller_XF->save()
      #29 vault/core/model/settings/vw_seo/vw.php(87): vw_CP_Counter_Url_Controller->process_urls()
      #30 vault/core/model/cron/deferred/settings/vw.php(42): vw_Settings_vw_seo_Model->rebuild(0, NULL)
      #31 vault/core/model/cron/deferred/vw.php(61): vw_Cron_Deferred_Settings_Model->run(Array)
      #32 library/vw/XenForo/Deferred/vw.php(26): vw_Cron_Deferred_Model->exec()
      #33 library/XenForo/Model/Deferred.php(295): vw_XenForo_Deferred_vw->execute(Array, Array, 7.9999990463257, '')
      #34 library/XenForo/Model/Deferred.php(429): XenForo_Model_Deferred->runDeferred(Array, 7.9999990463257, '', false)
      #35 library/XenForo/Model/Deferred.php(374): XenForo_Model_Deferred->_runInternal(Array, 8, '', false)
      #36 deferred.php(23): XenForo_Model_Deferred->run(false)
      #37 {main}
      Request State
      array(3) {
        ["url"] => string(39) "https://site.com/deferred.php"
        ["_GET"] => array(0) {
        }
        ["_POST"] => array(4) {
          ["_xfRequestUri"] => string(10) "/index.php"
          ["_xfNoRedirect"] => string(1) "1"
          ["_xfToken"] => string(8) "********"
          ["_xfResponseType"] => string(4) "json"
        }
      }
    Issue Details
    Issue Number 4620
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Importing
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 4.0.10
    Fixed Version 4.0.10
    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. April 5, 2016 9:33 AM
      pegasus pegasus is offline
      VaultWiki Team
      In vault/core/view/template/xf.php, find:
      Code:
      		if (!$fc AND method_exists('XenForo_Application', 'getFc') AND XenForo_Application::isRegistered('fc'))
      		{
      			$fc = XenForo_Application::getFc();
      		}
      After it, add:
      Code:
      		else if (!empty($GLOBALS['dependencies']))
      		{
      			$fc = new XenForo_FrontController($GLOBALS['dependencies']);
      			$fc->setup();
      			$fc->setRequestPaths();
      
      			XenForo_Application::set('fc', $fc);
      		}
      Reply Reply
    2. April 5, 2016 6:30 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      This results in site malfunction:
      Code:
      ParseError: syntax error, unexpected 'else' (T_ELSE) - vault/core/view/template/xf.php:103
      Reply Reply
    3. April 6, 2016 9:57 AM
      pegasus pegasus is offline
      VaultWiki Team
      Sounds like the edit was not applied correctly.
      Reply Reply
    4. April 6, 2016 6:04 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Fixed.
      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:16 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.