• 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
    • Error when saving user preferences

    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: Error when saving user preferences

    • Issue Tools
      • View Changes
    1. issueid=5125 June 26, 2017 2:56 PM
      Forsaken Forsaken is offline
      Junior Member
      Error when saving user preferences

      Saw a user got this when saving their profile:

      Code:
      #0 /home/community/vault/core/controller/ui/watch/vw.php(276): XenForo_Application::handlePhpError(8, 'Undefined varia...', '/home/...', 276, Array)
      #1 /home/community/library/vw/XenForo/DataWriter/User.php(88): vw_UI_Watch_Controller->update_prefs('vw_')
      #2 /home/community/library/Siropu/ReferralContests/DataWriter/User.php(96): vw_XenForo_DataWriter_User->_postSave()
      #3 /home/community/library/Audentio/Credit/Core/DataWriter/User.php(20): Siropu_ReferralContests_DataWriter_User->_postSave()
      #4 /home/community/library/WMTech/StickyMultipleAccountInfo/DataWriter/User.php(40): Audentio_Credit_Core_DataWriter_User->_postSave()
      #6 /home/community/library/XenForo/ControllerPublic/Account.php(766): XenForo_DataWriter->save()
      #7 /home/community/library/Audentio/UIX/ControllerPublic/Account.php(13): XenForo_ControllerPublic_Account->actionPreferencesSave()
      #8 /home/community/library/vw/XenForo/ControllerPublic/Account.php(81): Audentio_UIX_ControllerPublic_Account->actionPreferencesSave()
      #9 /home/community/library/XenGallery/ControllerPublic/Account.php(74): vw_XenForo_ControllerPublic_Account->actionPreferencesSave()
      #10 /home/community/library/XenForo/FrontController.php(351): XenGallery_ControllerPublic_Account->actionPreferencesSave()
      #11 /home/community/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
      #12 /home/community/index.php(13): XenForo_FrontController->run()
      #13 {main}
    Issue Details
    Issue Number 5125
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category User Profiles
    Status Fixed
    Priority 3 - Loss of Functionality
    Affected Version 4.0.18
    Fixed Version 4.0.19
    Milestone (none)
    Software DependencyXenForo 1.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. June 27, 2017 9:42 AM
      pegasus pegasus is offline
      VaultWiki Team
      This occurs when saving user preferences while wiki subscriptions are disabled globally. In vault/core/controller/ui/watch/vw.php, find:
      Code:
      		$options = array(
      			'auto_subscribe' => $sub_options,
      			'autolinks' => ($autolinks ? 1 : 0)
      		);
      Replace with:
      Code:
      		$options = array(
      			'autolinks' => ($autolinks ? 1 : 0)
      		);
      
      		if (isset($sub_options))
      		{
      			$options['auto_subscribe'] = $sub_options;
      		}
      Reply Reply  
    2. June 28, 2017 3:51 AM
      Forsaken Forsaken is offline
      Junior Member
      That fixed everything as far as I can tell.
      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 11:31 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.