• 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
    • Issues with Tapatalk

    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: Issues with Tapatalk

    • Issue Tools
      • View Changes
    1. issueid=5662 February 28, 2019 10:26 AM
      beernuts beernuts is offline
      Junior Member
      Issues with Tapatalk

      I don't think that this is a bug with VW necessarily, but I'm hoping you might be able to point us in the right direction for troubleshooting. Users, when trying to reply with Tapatalk, are receiving this error:

      Server error occurred: '1 Call to a member function vwCreateTemplateObject() on null (xf.php:142)'
      Both Tapatalk and VW are fully up to date. Any thoughts?
    Issue Details
    Issue Number 5662
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Forum Posts / Non-Wiki Content
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 4.0.25
    Fixed Version 4.1.0 Beta 1
    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. February 28, 2019 11:58 AM
      pegasus pegasus is offline
      VaultWiki Team
      This may or may not help, depending on the context which I cannot infer from that message. In library/vw/XenForo/ViewPublic.php, find:
      Code:
      if ($fc)
      BEFORE it, add:
      Code:
      		if (!$fc AND method_exists('XenForo_Application', 'getFc') AND XenForo_Application::isRegistered('fc'))
      		{
      			$fc = XenForo_Application::getFc();
      		}
      Reply Reply  
    2. February 28, 2019 12:06 PM
      beernuts beernuts is offline
      Junior Member
      This message appears when the user attempts to post a thread reply via Tapatalk (Sorry, I forgot to mention that)

      I will try the code modification today and report back.
      Reply Reply  
    3. February 28, 2019 8:18 PM
      beernuts beernuts is offline
      Junior Member
      So I made that change and it's apparently still a no-go.

      Further, I just opened up the server logs and found another instance of this error, this time affecting paypal subscriptions it looks like. Here is the error and stacktrace

      Code:
      ErrorException: Fatal Error: Call to a member function vwCreateTemplateObject() on null - vault/core/view/global/xf.php:142
      Code:
      #0 [internal function]: XenForo_Application::handleFatalError()
      #1 {main}
      Reply Reply  
    4. March 1, 2019 10:49 AM
      pegasus pegasus is offline
      VaultWiki Team
      In vault/core/view/global/xf.php, find:
      Code:
      			$this->_paths['css']["$path"] = 1;
      			$this->platform_css[] = substr($path, 1);
      
      			static $template;
      
      			if (!$template)
      			{
      				$view = vw_XenForo_ViewPublic::getInstance();
      				$template = $view->vwCreateTemplateObject('', array());
      			}
      
      			$template->addRequiredExternal('css', substr($path, 1, -4));
      Replace with:
      Code:
      			static $template;
      
      			if (!$template)
      			{
      				$view = vw_XenForo_ViewPublic::getInstance();
      
      				if ($view)
      				{
      					$template = $view->vwCreateTemplateObject('', array());
      				}
      			}
      
      			if ($template)
      			{
      				$this->_paths['css']["$path"] = 1;
      				$this->platform_css[] = substr($path, 1);
      				$template->addRequiredExternal('css', substr($path, 1, -4));
      			}
      Reply Reply  
    5. March 1, 2019 12:56 PM
      beernuts beernuts is offline
      Junior Member
      Thanks, that did it!
      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 5:36 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.