• 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
    • Declaration of vw\vw\XF\Mvc\Router::buildLink($link, $data = NULL, array $parameters = Array) should be compatible

    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: Declaration of vw\vw\XF\Mvc\Router::buildLink($link, $data = NULL, array $parameters = Array) should be compatible

    • Issue Tools
      • View Changes
    1. issueid=6082 July 23, 2020 8:38 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Declaration of vw\vw\XF\Mvc\Router::buildLink($link, $data = NULL, array $parameters = Array) should be compatible

      This error appears when upgrading to XF 2.2:

      An exception occurred: [ErrorException] [E_WARNING] Declaration of vw\vw\XF\Mvc\Router::buildLink($link, $data = NULL, array $parameters = Array) should be compatible with XF\Mvc\Router::buildLink($link, $data = NULL, array $parameters = Array, $hash = NULL) in src/addons/vw/vw/XF/Mvc/Router.php on line 0

      XF::handlePhpError() in src/vendor/composer/ClassLoader.php at line 444
      include() in src/vendor/composer/ClassLoader.php at line 444
      Composer\Autoload\includeFile() in src/vendor/composer/ClassLoader.php at line 322
      Composer\Autoload\ClassLoader->loadClass()
      spl_autoload_call()
      class_exists() in src/XF/Extension.php at line 172
      XF\Extension->extendClass() in src/XF/App.php at line 2781
      XF\App->extendClass() in src/XF/App.php at line 339
      XF\App->XF\{closure}() in src/XF/Container.php at line 28
      XF\Container->offsetGet() in src/XF/App.php at line 2413
      XF\App->router() in src/addons/SV/SignupAbuseBlocking/Repository/LinkBuilder.php at line 27
      SV\SignupAbuseBlocking\Repository\LinkBuilder->hookRouteBuilder() in src/addons/SV/SignupAbuseBlocking/appSetup.php at line 12
      SV\SignupAbuseBlocking\appSetup:ubSetup()
      call_user_func_array() in src/XF/Extension.php at line 67
      XF\Extension->fire() in src/XF/App.php at line 2767
      XF\App->fire() in src/XF/Pub/App.php at line 94
      XF\Pub\App->setup() in src/XF.php at line 390
      XF::setupApp() in src/XF.php at line 413
      XF::runApp() in index.php at line 20
    Issue Details
    Issue Number 6082
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Unknown
    Status Fixed
    Priority 4 - Warnings / Script Errors
    Affected Version 4.1.0 RC 3
    Fixed Version 4.1.0
    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. July 23, 2020 8:44 PM
      pegasus pegasus is offline
      VaultWiki Team
      Thanks for reporting this. It would seem that XenForo 2.2 contains compatibility breaks (different callback signatures). Because of this, add-ons will need to have 2.2-specific versions in order to continue working.
      Reply Reply  
    2. July 23, 2020 8:48 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      You may have noticed the new LinkableInterface​
      https://xenforo.com/community/thread...things.183091/
      Reply Reply  
    3. July 27, 2020 1:03 AM
      pegasus pegasus is offline
      VaultWiki Team
      Implemented workarounds for all backwards-compatibility breaks in XenForo 2.2 callback signatures. This will be included in the next release. Please note that VaultWiki is not yet confirmed working under XenForo 2.2, but at least these types of errors should go away.
      Reply Reply  
    4. August 2, 2020 7:01 PM
      pegasus pegasus is offline
      VaultWiki Team
      Updated the XF demo to XF 2.2. Watching the logs for a bit to make sure XF 2.2 will run the next release without breaking.
      Reply Reply  
    5. April 5, 2022 3:17 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Is there a fixed version? The issue details state there is none.
      Reply Reply  
    6. April 6, 2022 5:11 AM
      pegasus pegasus is offline
      VaultWiki Team
      Separate classes were added for use under XenForo 2.2 with the release of VaultWiki 4.1.0.
      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 2: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.