• 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 variable: setuser when posting new page

    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 variable: setuser when posting new page

    • Issue Tools
      • View Changes
    1. issueid=6206 June 17, 2021 1:23 PM
      Forsaken Forsaken is offline
      Junior Member
      Undefined variable: setuser when posting new page

      ErrorException: [E_NOTICE] Undefined variable: setuser in src/addons/vw/vw/_core/controller/ui/edit/page/vw.php at line 368
      XF::handlePhpError() in src/addons/vw/vw/_core/controller/ui/edit/page/vw.php at line 368
      vw_UI_Edit_Page_Controller->start_dm() in src/addons/vw/vw/_core/controller/ui/edit/vw.php at line 172
      vw_UI_Edit_Controller->save() in src/addons/vw/vw/_core/controller/ui/create/vw.php at line 445
      vw_UI_Create_Controller->publish() in src/addons/vw/vw/_core/controller/ui/index/vw.php at line 73
      vw_UI_Index_Controller->publish() in src/addons/vw/vw/_core/controller/ui/index/vw.php at line 33
      vw_UI_Index_Controller->execute() in src/addons/vw/vw/_core/controller/ui/stack/vw.php at line 294
      vw_UI_Stack_Controller->execute() in src/addons/vw/vw/Pub/Controller/Wiki/Wiki.php at line 80
      vw\vw\Pub\Controller\Wiki\Wiki->_actionIndex() in src/addons/vw/vw/Mvc/Dispatcher.php at line 30
      vw\vw\Mvc\Dispatcher::dispatch() in src/addons/vw/vw/Pub/Controller/Wiki/AbstractController.php at line 26
      vw\vw\Pub\Controller\Wiki\AbstractController->actionIndex() in src/XF/Mvc/Dispatcher.php at line 350
      XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 257
      XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 113
      XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 55
      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
      Received when attempting to post a new category (may apply to other page types as well).
    Issue Details
    Issue Number 6206
    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 4:22 PM
      pegasus pegasus is offline
      VaultWiki Team
      In src/addons/vw/vw/_core/controller/ui/edit/page/vw.php, find and remove:
      Code:
      		if (!$setuser)
      		{
      			$edit['userid'] = vw_Hard_Core::model('User')->get('userid');
      			$edit['username'] = $loggedinusername;
      		}
      Reply Reply  
    2. June 17, 2021 4:47 PM
      Forsaken Forsaken is offline
      Junior Member
      Do not seem to have any other issues with posting new pages.
      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.