• 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
    • [4.1.2] User merge: Undefined index: userid in _core/model/plugins/data

    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: [4.1.2] User merge: Undefined index: userid in _core/model/plugins/data

    • Issue Tools
      • View Changes
    1. issueid=6246 August 16, 2021 1:10 PM
      ACL ACL is offline
      Regular Member
      [4.1.2] User merge: Undefined index: userid in _core/model/plugins/data

      ErrorException: [E_NOTICE] Undefined index: userid src/addons/vw/vw/_core/model/plugins/data/vw.php:321

      This was encountered when merging one user account into another. The source account had not created, edited or interacted with any VaultWiki content.

      Code:
      #0 src/addons/vw/vw/_core/model/plugins/data/vw.php(321): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/home/...', 321, Array)
      #1 src/addons/vw/vw/XF/Service/User/Merge.php(44): vw_Plugins_Data_Model->do_user_merge_target_required(Array, Array)
      #2 src/XF/MultiPartRunnerTrait.php(48): vw\vw\XF\Service\User\Merge->stepMergeWikiUserData(NULL, 7.98986)
      #3 src/XF/Service/User/Merge.php(90): XF\Service\User\Merge->runLoop(8)
      #4 src/XF/Job/UserMerge.php(39): XF\Service\User\Merge->merge(8)
      #5 src/XF/Job/Manager.php(258): XF\Job\UserMerge->run(8)
      #6 src/XF/Job/Manager.php(200): XF\Job\Manager->runJobInternal(Array, 8)
      #7 src/XF/Job/Manager.php(116): XF\Job\Manager->runJobEntry(Array, 8)
      #8 src/XF/Admin/Controller/Tools.php(120): XF\Job\Manager->runByIds(Array, 8)
      #9 src/XF/Mvc/Dispatcher.php(350): XF\Admin\Controller\Tools->actionRunJob(Object(XF\Mvc\ParameterBag))
      #10 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
      #11 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
      #12 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
      #13 src/XF/App.php(2344): XF\Mvc\Dispatcher->run()
      #14 src/XF.php(512): XF\App->run()
      #15 admin.php(13): XF::runApp('XF\\Admin\\App')
      #16 {main}
    Issue Details
    Issue Number 6246
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Admin Panel
    Status Fixed
    Priority 5 - Minor Bugs / Small Tweaks
    Affected Version 4.1.2
    Fixed Version 4.1.3
    Milestone (none)
    Software DependencyAny
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. August 16, 2021 6:34 PM
      pegasus pegasus is offline
      VaultWiki Team
      Fixed in the next release. This would result in the permissions from both users not being combined in an expected way if either user had an account-level mask. In src/addons/vw/vw/_core/model/plugins/data/vw.php, find:
      Code:
      $maskone['userid']
      Replace with:
      Code:
      $maskone['applyid']
      In order to encounter this error, at least 1 of the accounts in the merge must have a wiki-permission mask, either for their user, or due to being a wiki moderator with non-default wiki-moderator permissions.
      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 8:15 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.