• 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
    • Unsupported operand types - vault/core/model/attach/vw.php:299

    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: Unsupported operand types - vault/core/model/attach/vw.php:299

    • Issue Tools
      • View Changes
    1. issueid=4616 April 3, 2016 5:19 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Unsupported operand types - vault/core/model/attach/vw.php:299

      Code:
      Error: Unsupported operand types - vault/core/model/attach/vw.php:299 
      Generated By: Alfa, A moment ago
      
      Stack Trace
      #0 /vault/core/model/ui/tab/attach/vw.php(30): vw_Attach_Model->space_is_available(1)
      #1 /vault/core/model/ui/tab/vw.php(58): vw_UI_Tab_Attach_Model->can_create_tab(Array, Array)
      #2 /vault/core/controller/ui/index/vw.php(138): vw_UI_Tab_Model->check('can_create_tab', Array)
      #3 /vault/core/model/plugins/general/vw.php(183): vw_UI_Index_Controller->can_create('Attach')
      #4 /library/vw/XenForo/CodeEventListener/Public.php(81): vw_Plugins_General_Model->get_nav_links(true)
      #5 /library/XenForo/CodeEvent.php(90): vw_XenForo_CodeEventListener_Public::navigation_tabs(Array, 'forums')
      #6 /library/XenForo/Dependencies/Public.php(495): XenForo_CodeEvent::fire('navigation_tabs', Array)
      #7 /library/XenForo/Dependencies/Public.php(371): XenForo_Dependencies_Public->_getNavigationContainerParams('forums')
      #8 /library/XenForo/FrontController.php(635): XenForo_Dependencies_Public->getEffectiveContainerParams(Array, Object(Zend_Controller_Request_Http))
      #9 /library/XenForo/FrontController.php(158): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_HtmlPublic), Array)
      #10 /index.php(13): XenForo_FrontController->run()
      #11 {main}
      Request State
      array(3) {
        ["url"] => string(36) "https://site.com/index.php"
        ["_GET"] => array(0) {
        }
        ["_POST"] => array(0) {
        }
      }
    Issue Details
    Issue Number 4616
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Install / Upgrade
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 4.0.10
    Fixed Version 4.0.10
    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. April 3, 2016 8:49 PM
      pegasus pegasus is offline
      VaultWiki Team
      This occurs if attachments are enabled and you have not created at least one attachment yet.

      In vault/core/model/attach/vw.php, find:
      Code:
      $max -= $usage;
      Replace with:
      Code:
      if ($usage) $max -= $usage;
      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 7:05 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.