• 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
    • New error, XenForo 2.2.16 Patch 1

    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: New error, XenForo 2.2.16 Patch 1

    • Issue Tools
      • View Changes
    1. issueid=6427 June 7, 2024 10:39 AM
      gerryvz gerryvz is offline
      New Member
      New error, XenForo 2.2.16 Patch 1
      Receiving one of these errors every minute

      InvalidArgumentException: Class vw\vw\Yui does not match formatter pattern %s\%s\Controller\%s src/XF.php:1129

      Generated by: Unknown account Jun 7, 2024 at 10:33 AM

      Stack trace

      #0 src/XF/App.php(1616): XF::stringToClass('vw\\vw\\Yui', '%s\\%s\\Controlle...', 'Pub')
      #1 src/XF/Container.php(234): XF\App->XF\{closure}('vw\\vw\\Yui', Array, Object(XF\Container))
      #2 src/XF/App.php(2960): XF\Container->create('controller', 'vw\\vw\\Yui', Array)
      #3 src/addons/vw/vw/Listener.php(81): XF\App->controller('vw\\vw\\Yui', Object(XF\Http\Request))
      #4 src/XF/Container.php(31): vw\vw\Listener::vw\vw\{closure}(Object(XF\Container))
      #5 src/XF/App.php(3459): XF\Container->offsetGet('vwJs')
      #6 wiki_js.php(44): XF\App->container('vwJs')
      #7 {main}

      Request state

      array(4) {
      ["url"] => string(59) "/forums/wiki_js.php?v=3.18.1&f=dom-screen/dom-screen-min.js"
      ["referrer"] => string(72) "https://www.500eboard.co/forums/threads/neutral-safety-switch-nla.20223/"
      ["_GET"] => array(2) {
      ["v"] => string(6) "3.18.1"
      ["f"] => string(28) "dom-screen/dom-screen-min.js"
      }
      ["_POST"] => array(0) {
      }
      }
    Issue Details
    Issue Number 6427
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category General
    Status Fixed
    Priority 4 - Warnings / Script Errors
    Affected Version 4.1.7
    Fixed Version 4.1.7
    Milestone (none)
    Software DependencyXenForo 2.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. June 8, 2024 10:29 AM
      pegasus pegasus is offline
      VaultWiki Team
      Looks like we need to release a compatibility update for the new XenForo patches.

      Create a new file at src/addons/vw/vw/Pub/Controller/Yui.php with the following contents:
      Code:
      <?php
      
      namespace vw\vw\Pub\Controller;
      
      class Yui extends \XF\Mvc\Controller
      {
      	public function resolve()
      	{
      		return \vw_Hard_Core::controller('YUI')->resolve([
      			'method' => \vw_Hard_Core::controller('Request')->method(),
      			't' => \vw_Hard_Core::controller('Input')->clean_gpc('r', 't', 'NOHTML'),
      			'f' => \vw_Hard_Core::controller('Input')->clean_gpc('r', 'f', 'NOHTML')
      		]);
      	}
      }
      In src/addons/vw/vw/Listener.php, find:
      Code:
      return $app->controller('vw\vw\Yui', $c['request']);
      Replace with:
      Code:
      return $app->controller('vw\vw:Yui', $c['request']);
      Reply Reply  
    2. June 11, 2024 9:40 AM
      gerryvz gerryvz is offline
      New Member
      That seems to have fixed the issue, thank you!

      Now just throwing an "unexpected contents" error message at every file integrity check, but no big deal until the next version drops.

      Thank you!

      No one else has experienced this error?
      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 6:34 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.