• 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 StyleVar in VW ACP Which Includes a Background URL

    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 StyleVar in VW ACP Which Includes a Background URL

    • Issue Tools
      • View Changes
    1. issueid=3993 September 12, 2014 6:28 AM
      Mokonzi Mokonzi is offline
      Senior Member
      Error When Saving StyleVar in VW ACP Which Includes a Background URL

      I'm getting this error when saving the StyleVar within the VW ACP section which is for a background and includes a url and repeat direction:

      Code:
      Warning: Declaration of vB_DataManager_StyleVarDefn::delete() should be compatible with vB_DataManager::delete($doquery = true) in ..../includes/class_dm_stylevar.php on line 233
      
      Warning: Declaration of vB_DataManager_StyleVar::save() should be compatible with vB_DataManager::save($doquery = true, $delayed = false, $affected_rows = false, $replace = false, $ignore = false) in ..../includes/class_dm_stylevar.php on line 615
      
      Fatal error: Existing data passed is not an array
      Called set_existing in ..../vault/core/controller/cp/style/vb4.php on line 210
      Called save_stylevar in ..../vault/core/controller/cp/style/vw.php on line 183
      Called save in ..../vault/core/controller/cp/style/vw.php on line 48
      Called execute in ..../vault/helper/vb/global.php on line 62
      Called require_once in ..../admincp/wiki_cp.php on line 24
      in ..../includes/class_dm.php on line 265
      #0 vb_error_handler(256, Existing data passed is not an array
      Called set_existing in /home/xuni/public_html/vault/core/controller/cp/style/vb4.php on line 210
      Called save_stylevar in /home/xuni/public_html/vault/core/controller/cp/style/vw.php on line 183
      Called save in /home/xuni/public_html/vault/core/controller/cp/style/vw.php on line 48
      Called execute in /home/xuni/public_html/vault/helper/vb/global.php on line 62
      Called require_once in /home/xuni/public_html/admincp/wiki_cp.php on line 24
      , /home/xuni/public_html/includes/class_dm.php, 265, Array ([existing] => ,[line] => 
      Called set_existing in /home/xuni/public_html/vault/core/controller/cp/style/vb4.php on line 210
      Called save_stylevar in /home/xuni/public_html/vault/core/controller/cp/style/vw.php on line 183
      Called save in /home/xuni/public_html/vault/core/controller/cp/style/vw.php on line 48
      Called execute in /home/xuni/public_html/vault/helper/vb/global.php on line 62
      Called require_once in /home/xuni/public_html/admincp/wiki_cp.php on line 24
      ,[trace] => Array ([0] => Array ([file] => /home/xuni/public_html/vault/core/controller/cp/style/vb4.php,[line] => 210,[function] => set_existing,[class] => vB_DataManager,[object] => vB_DataManager_StyleVarBackground Object..................................
      There is a lot more which looks like it's dumped the whole $vbulletin or $vbulletin->userinfo variable.
    Issue Details
    Issue Number 3993
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Admin Panel
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 4.0.0 RC 2
    Fixed Version 4.0.0 RC 3
    Milestone VaultWiki 4.0 Gold
    Software DependencyvBulletin 4.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags css




    1. September 12, 2014 6:48 AM
      Mokonzi Mokonzi is offline
      Senior Member
      I had it additionally after I'd tried to save a background url() and then resaved without one and then tried another (but not every) StyleVar which was not a background StyleVar.
      Reply Reply  
    2. September 12, 2014 12:09 PM
      pegasus pegasus is offline
      VaultWiki Team
      It looks like it would happen when saving any stylevar under vBulletin 4, as long as that stylevar is already customized in the current style.

      In vault/core/controller/cp/style/vb4.php, find:
      Code:
      $svinstance->set_existing($svexisting);
      Replace with:
      Code:
      $svinstance->set_existing($existing);
      Reply Reply  
    3. September 12, 2014 1:36 PM
      Mokonzi Mokonzi is offline
      Senior Member
      Cool. Worked. No more errors.

      Thanks Pegasus.
      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:53 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.