• 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
    • Undefined index: muserlink when checking recent changes

    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: Undefined index: muserlink when checking recent changes

    • Issue Tools
      • View Changes
    1. issueid=6205 June 17, 2021 4:03 AM
      Forsaken Forsaken is offline
      Junior Member
      Undefined index: muserlink when checking recent changes
      Following error is given when attempting to see recent changes

      ErrorException: [E_NOTICE] Undefined index: muserlink in src/addons/vw/vw/_core/view/ui/history/base/vw.php at line 761
      XF::handlePhpError() in src/addons/vw/vw/_core/view/ui/history/base/vw.php at line 761
      vw_UI_History_Base_View->build_change_info() in src/addons/vw/vw/_core/view/ui/special/changes/recentchanges/vw.php at line 93
      vw_UI_Special_Changes_RecentChanges_View->process_itembits() in src/addons/vw/vw/_core/view/ui/special/vw.php at line 68
      vw_UI_Special_View->view() in src/addons/vw/vw/_core/view/reply/view/vw.php at line 48
      vw_Reply_View_View->render_type() in src/addons/vw/vw/_core/view/reply/base/vw.php at line 134
      vw_Reply_base_View->render() in src/addons/vw/vw/_core/view/reply/stack/vw.php at line 45
      vw_Reply_Stack_View->render() in src/addons/vw/vw/XF/Mvc/View.php at line 25
      vw\vw\XF\Mvc\View->renderHtml() in src/XF/Mvc/Renderer/AbstractRenderer.php at line 91
      XF\Mvc\Renderer\AbstractRenderer->renderViewObject() in src/XF/Mvc/Renderer/Html.php at line 45
      XF\Mvc\Renderer\Html->renderView() in src/XF/Mvc/Dispatcher.php at line 458
      XF\Mvc\Dispatcher->renderView() in src/XF/Mvc/Dispatcher.php at line 440
      XF\Mvc\Dispatcher->renderReply() in src/XF/Mvc/Dispatcher.php at line 400
      XF\Mvc\Dispatcher->render() in src/XF/Mvc/Dispatcher.php at line 58
      XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2337
      XF\App->run() in src/XF.php at line 488
      XF::runApp() in index.php at line 20
      Following error is given when attempting to see recent changes page.
    Issue Details
    Issue Number 6205
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Unknown
    Status Fixed
    Priority 4 - Warnings / Script Errors
    Affected Version 4.1.2
    Fixed Version 4.1.2
    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. June 17, 2021 10:03 AM
      pegasus pegasus is offline
      VaultWiki Team
      Will reissue the June patches shortly with the fix. In src/addons/vw/vw/_core/view/ui/history/base/vw.php, find:
      Code:
      		if (empty($editor['musername']))
      		{
      			$editorname = $edit['username'];
      
      			if (!vw_Hard_Core::model('User')->username_safe())
      			{
      				$editorname = vw_Hard_Core::model('String')->htmlspecialchars_uni($editorname);
      			}
      		}
      		else if (empty($editor['muserlink']))
      		{
      			$editorname = $edit['musername'];
      		}
      		else
      		{
      			$editorname = $edit['muserlink'];
      		}
      Replace with:
      Code:
      		if (empty($editor['musername']))
      		{
      			$editorname = $editor['username'];
      
      			if (!vw_Hard_Core::model('User')->username_safe())
      			{
      				$editorname = vw_Hard_Core::model('String')->htmlspecialchars_uni($editorname);
      			}
      		}
      		else if (empty($editor['muserlink']))
      		{
      			$editorname = $editor['musername'];
      		}
      		else
      		{
      			$editorname = $editor['muserlink'];
      		}
      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 10:48 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.